/* Login Page Styles - New Layout */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
    background: #ffffff;
}

.login-hero {
    flex: 1;
    background: transparent;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -70%;
    width: 200%;
    height: 200%;
    background: #071a32;
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
}

.hero-content h1 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
}

.hero-content h2 {
    margin: 0 0 16px 0;
    font-size: 22px;
    font-weight: 700;
    color: #f6b100;
}

.hero-content p {
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
    color: #dce3ed;
}

.login-panel {
    flex: 1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 32px 48px;
    position: relative;
}

.panel-header {
    position: absolute;
    top: 24px;
    right: 32px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none; /* keep clicks on form */
}

.panel-logo {
    height: 120px;
    width: auto;
}

@media (max-width: 768px) {
    .panel-header {
        position: static;
        justify-content: center;
        pointer-events: auto;
        margin-bottom: 16px;
    }
    .panel-logo {
        height: 90px;
    }
    .login-panel {
        padding: 24px 24px 32px;
    }
}
.panel-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
}

.panel-title {
    margin: 0 0 24px 0;
    font-size: 48px;
    font-weight: 800;
    color: #111827;
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #fcc;
}

.success-message {
    background: #ecfdf3;
    color: #166534;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #bbf7d0;
}

.login-form {
    margin-top: 0;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f3f4f6;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: #ffffff;
}

.form-row.remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0 18px 0;
    font-size: 14px;
    color: #374151;
}

.remember-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.remember-label input {
    width: 16px;
    height: 16px;
    accent-color: #3b82f6;
}

.forgot-link {
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 600;
}

.forgot-link:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #f8a400 0%, #f29c00 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 6px;
    box-shadow: 0 10px 25px rgba(242, 156, 0, 0.35);
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(242, 156, 0, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

/* Session Warning Styles */
.session-warning {
    background: #fff7e6;
    border: 1px solid #f59e0b;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: left;
    color: #92400e;
}

.warning-icon {
    font-size: 24px;
    color: #f59e0b;
    margin-bottom: 8px;
}

.session-warning h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 700;
}

.session-warning p {
    margin: 6px 0;
    font-size: 13px;
    color: #92400e;
}

.warning-text {
    font-weight: 700;
    margin-top: 8px !important;
}

.logout-other-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%) !important;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.35);
}

.logout-other-btn:hover {
    box-shadow: 0 12px 28px rgba(255, 107, 107, 0.4) !important;
}

@media (max-width: 1024px) {
    .login-wrapper {
        flex-direction: column;
    }
    .login-hero, .login-panel {
        flex: none;
        width: 100%;
    }
    .login-panel {
        padding: 24px 20px 40px;
    }
    .panel-body {
        max-width: 100%;
    }
    .panel-title {
        font-size: 36px;
    }
    .hero-content h1 {
        font-size: 24px;
    }
    .hero-content h2 {
        font-size: 18px;
    }
}

/* Session Warning Styles */
.session-warning {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.warning-icon {
    font-size: 32px;
    color: #ffc107;
    margin-bottom: 12px;
}

.session-warning h3 {
    color: #856404;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.session-warning p {
    color: #856404;
    margin: 8px 0;
    font-size: 14px;
}

.warning-text {
    font-weight: 600;
    margin-top: 12px !important;
}

.session-info {
    background: #fff;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 12px;
    margin: 12px 0;
    text-align: left;
}

.session-info p {
    margin: 6px 0;
    font-size: 13px;
    color: #856404;
}

.session-info strong {
    color: #856404;
    font-weight: 600;
}

.logout-other-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%) !important;
}

.logout-other-btn:hover {
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4) !important;
}

