* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    min-height: 100vh;
}

/* Loading Overlay */
#pageLoading {
    position: fixed;
    inset: 0;
    background: #FDFCFD;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: #6A11CB;
    font-size: 1.125rem;
}

/* Split Screen Container */
.split-container {
    display: flex;
    min-height: 100vh;
}

/* Left Side - Purple Gradient */
.left-side {
    flex: 1;
    background: linear-gradient(135deg, #2E026D 0%, #6A11CB 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3rem;
}

.left-side h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.left-side p {
    font-size: 1.125rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 3rem;
}

.features-list {
    list-style: none;
}

.features-list li {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 1.25rem;
    color: #00BFA5;
}

/* Right Side - Light Background */
.right-side {
    flex: 1;
    background: #FDFCFD;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

/* Login Card */
.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 3rem;
    width: 100%;
    max-width: 420px;
}

.logo-placeholder {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.login-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
}

.login-card .subtitle {
    font-size: 0.9375rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background: #F7F9FC;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #6A11CB;
    background: white;
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

.form-hint {
    display: block;
    font-size: 0.8125rem;
    color: #666;
    margin-top: 0.375rem;
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: #6A11CB;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.login-btn:hover {
    background: #5A0FB0;
}

.login-btn:active {
    transform: translateY(1px);
}

.login-btn:disabled {
    background: #B0B0B0;
    cursor: not-allowed;
}

/* Footer Link */
.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9375rem;
    color: #666;
}

.form-footer a {
    color: #6A11CB;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Hidden Class */
.hidden {
    display: none !important;
}

/* Responsive - Mobile */
@media (max-width: 900px) {
    .split-container {
        flex-direction: column;
    }

    .left-side {
        display: none;
    }

    .right-side {
        flex: 1;
        padding: 1.5rem;
    }

    .login-card {
        padding: 2rem 1.5rem;
    }

    .login-card h2 {
        font-size: 1.5rem;
    }
}

/* Banner/Alert Styles */
#banner-container {
    margin-bottom: 1rem;
}

.alert {
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.alert-error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF9A9A;
}

.alert-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.alert-info {
    background: #E3F2FD;
    color: #1565C0;
    border: 1px solid #90CAF9;
}
