/* Split-Screen Login Design - Dashboard Theme Colors */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body.login-page {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #00a7d0 0%, #00c0ef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-height: 600px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left Panel - Dark Side */
.left-panel {
    flex: 1;
    background: linear-gradient(180deg, #2C3E50 0%, #1A252F 100%);
    padding: 60px 50px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-section {
    text-align: center;
    margin-bottom: 50px;
}

.brand-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(0, 192, 239, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.brand-icon i {
    font-size: 48px;
    color: #00c0ef;
}

.brand-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 16px;
    color: #B8C5D6;
    font-weight: 400;
}

/* Features List */
.features-list {
    margin: 40px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    font-size: 15px;
    color: #E8EDF3;
}

.feature-item i {
    font-size: 24px;
    margin-right: 16px;
    color: #00c0ef;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: auto;
}

.stat-card {
    background: rgba(0, 192, 239, 0.1);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 192, 239, 0.2);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #00c0ef;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #B8C5D6;
    font-weight: 500;
}

/* Right Panel - Light Side */
.right-panel {
    flex: 1;
    background: #F5F5F7;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-container {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.welcome-title {
    font-size: 32px;
    font-weight: 600;
    color: #2C3744;
    margin-bottom: 40px;
    text-align: center;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-label i {
    font-size: 18px;
    margin-right: 8px;
    color: #00c0ef;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    color: #2C3744;
    background: #E8F8FC;
    border: 2px solid #B3E5F3;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-input::placeholder {
    color: #9CA3AF;
}

.form-input:focus {
    background: #FFFFFF;
    border-color: #00c0ef;
    box-shadow: 0 0 0 4px rgba(0, 192, 239, 0.1);
}

.form-input[type="password"] {
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
}

.form-input[type="password"]::placeholder {
    letter-spacing: normal;
}

/* Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #00c0ef;
}

.checkbox-container label {
    font-size: 14px;
    color: #6B7280;
    cursor: pointer;
    user-select: none;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #00c0ef 0%, #00a7d0 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 192, 239, 0.3);
    margin-bottom: 24px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #00a7d0 0%, #008fb8 100%);
    box-shadow: 0 6px 16px rgba(0, 192, 239, 0.4);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    margin-right: 8px;
    font-size: 20px;
}

/* Help Section */
.help-section {
    text-align: center;
    margin-top: 24px;
}

.help-title {
    font-size: 13px;
    color: #9CA3AF;
    margin-bottom: 12px;
}

.help-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.help-link {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #00c0ef;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.help-link i {
    font-size: 16px;
    margin-right: 6px;
}

.help-link:hover {
    color: #00a7d0;
    text-decoration: none;
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
}

.copyright {
    font-size: 13px;
    color: #9CA3AF;
    margin-bottom: 8px;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #6B7280;
}

.security-note i {
    font-size: 14px;
    margin-right: 6px;
}

/* Error Messages */
.error-message {
    margin-top: 8px;
    font-size: 13px;
    color: #DC2626;
    display: block;
}

/* Loading State */
.submit-btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .login-container {
        flex-direction: column;
        max-width: 500px;
    }

    .left-panel {
        padding: 40px 30px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .right-panel {
        padding: 40px 30px;
    }

    .brand-title {
        font-size: 28px;
    }

    .welcome-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    body.login-page {
        padding: 10px;
    }

    .login-container {
        border-radius: 16px;
    }

    .left-panel,
    .right-panel {
        padding: 30px 20px;
    }

    .brand-title {
        font-size: 24px;
    }

    .welcome-title {
        font-size: 22px;
    }

    .stats-grid {
        gap: 12px;
    }

    .stat-card {
        padding: 16px 12px;
    }

    .stat-value {
        font-size: 24px;
    }

    .help-links {
        flex-direction: column;
        gap: 12px;
    }
}

/* Accessibility */
.form-input:focus-visible,
.submit-btn:focus-visible {
    outline: 2px solid #00c0ef;
    outline-offset: 2px;
}
