/* ============= LOGIN PAGE SPECIFIC STYLES ============= */

.login-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.login-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(30, 41, 59, 0.8) 100%);
    border: 1px solid var(--primary-color);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
    width: 100%;
    max-width: 450px;
}

.logo {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.logo-icon {
    width: auto;
    max-width: 200px;
    height: 120px;
    object-fit: contain;
}

.login-card h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #8b5cf6 !important;
}

.subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

/* ============= LOGIN FORM ============= */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.form-group input {
    padding: 12px 16px;
    background-color: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    color: #000000;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input::placeholder {
    color: #999999;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input:hover {
    border-color: rgba(139, 92, 246, 0.5);
}

.form-group input[type="email"]:-webkit-autofill,
.form-group input[type="password"]:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    -webkit-text-fill-color: #000000 !important;
}

.form-group input[type="email"]:-webkit-autofill:focus,
.form-group input[type="password"]:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
}

.error-text {
    font-size: 12px;
    color: var(--danger);
    min-height: 16px;
    text-align: left;
}

.error-message {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--danger);
    border-radius: 8px;
    padding: 12px;
    color: #fca5a5;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}

/* ============= LOGIN BUTTONS & LINKS ============= */
.login-form .btn-primary {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

.test-credentials {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.test-credentials p {
    margin: 0 0 8px 0;
    color: var(--text-secondary);
    font-size: 12px;
}

.forgot-password-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forgot-password-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.test-credentials small {
    color: var(--primary-light);
    font-weight: 600;
}

/* ============= RESPONSIVE DESIGN ============= */
@media (max-width: 768px) {
    .login-card {
        padding: 35px 25px;
    }

    .login-card .logo-icon {
        max-width: 150px;
        height: 90px;
    }

    .form-group input {
        font-size: 16px; /* Prevents mobile zoom */
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-version-section {
        flex-direction: column;
        gap: 8px;
    }

    .footer-language-section {
        flex-direction: column;
        gap: 8px;
    }

    .language-selector {
        justify-content: center;
    }
}
