﻿.login-container-blankbg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.login-logo {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.login-card {
    width: 100%;
    max-width: 500px;
    /* No background here, let theme classes handle it */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
    transition: background 0.3s;
}

.mud-theme-light .login-card {
    background: rgba(255, 255, 255, 0.95) !important;
}

.mud-theme-dark .login-card {
    background: rgba(30, 41, 59, 0.95) !important;
}



.login-content {
    /*padding: 40px !important;*/
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-title {
    font-weight: 700;
    margin-bottom: 8px;
    /* No color here, let theme classes handle it */
}

/* Light mode: dark text */
.mud-theme-light .login-title {
    color: #1e293b !important;
}

/* Dark mode: light text */
.mud-theme-dark .login-title {
    color: #f1f5f9 !important;
}
/* Default for password requirements (let theme override) */
.password-requirements {
    margin-bottom: 20px;
    border-radius: 12px;
    border: none;
}

/* Light mode: light background */
.mud-theme-light .password-requirements {
    background: #f1f5f9 !important;
}

/* Dark mode: dark background */
.mud-theme-dark .password-requirements {
    background: #334155 !important;
}

.login-subtitle {
    color: #64748b;
}

.login-form {
    margin-top: 10px;
}

.form-field {
    margin-bottom: 20px;
}

.modern-input {
    width: 100%;
}

    .modern-input .mud-input-root {
        border-radius: 12px;
        transition: all 0.3s ease;
    }

        .modern-input .mud-input-root:hover {
            border-color: var(--mud-palette-primary);
        }

        .modern-input .mud-input-root.mud-focused {
            border-width: 2px;
        }

.form-actions {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password-link {
    text-transform: none;
    font-weight: 500;
}

.login-button {
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

    .login-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
    }

.secondary-button {
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    border-width: 2px;
}

.back-button {
    text-transform: none;
    margin-top: 20px;
}

.divider-with-text {
    margin: 24px 0;
    position: relative;
}

    .divider-with-text .mud-typography {
        background: white;
        padding: 0 16px;
        color: #94a3b8;
    }

.language-selector {
    margin-top: 30px;
    text-align: center;
}

.password-requirements {
    margin-bottom: 20px;
    border-radius: 12px;
    background: #f1f5f9;
    border: none;
}

.verification-icon {
    margin-bottom: 16px;
}

.verification-input input {
    text-align: center;
    font-size: 24px;
    letter-spacing: 8px;
    font-weight: 600;
}

.resend-section {
    text-align: center;
    margin: 24px 0;
}

.resend-text {
    color: #64748b;
    margin-bottom: 8px;
}

.resend-button {
    text-transform: none;
}

.secondary-link {
    text-transform: none;
    margin-top: 16px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .login-container {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    }

    /*.login-card {
        background: rgba(30, 41, 59, 0.95);
    }*/

    /*.login-title {
        color: #f1f5f9;
    }*/

    .divider-with-text .mud-typography {
        background: #1e293b;
    }

    /*.password-requirements {
        background: #334155;
    }*/
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .login-content {
        padding: 30px 20px !important;
    }

    .login-title {
        font-size: 1.75rem;
    }

    .verification-input input {
        font-size: 20px;
        letter-spacing: 4px;
    }
}


.legal-links {
    text-align: center;
    margin-top: 24px;
    animation: fadeIn 1s ease-out 0.4s both;
}

.legal-link {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

    .legal-link:hover {
        color: #475569;
        background-color: rgba(100, 116, 139, 0.1);
    }

.link-separator {
    color: #cbd5e1;
    margin: 0 12px;
    font-size: 14px;
    user-select: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .legal-link {
        color: #94a3b8;
    }

        .legal-link:hover {
            color: #cbd5e1;
            background-color: rgba(148, 163, 184, 0.1);
        }

    .link-separator {
        color: #475569;
    }
}

/* Mobile responsive */
@media (max-width: 600px) {
    .legal-link {
        font-size: 13px;
    }

    .link-separator {
        margin: 0 8px;
    }
}
