﻿.login-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.login-main-container {
    width: 90%;
    max-width: 1100px;
    height: auto;
    border-radius: 24px;
    overflow: hidden;
    background: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.login-grid-container {
    height: 100%;
}

/* Left Section - Form */
.form-container-section {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 3rem 2rem;
}

.form-inner-wrapper {
    width: 100%;
    max-width: 420px;
}

.logo-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2rem;
    gap: 12px;
}

.logo-image {
    width: 55px;
    height: auto;
}

.logo-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.3px;
}

.welcome-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    line-height: 1.2;
}

.welcome-subtitle {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.input-group {
    margin-bottom: 0.5rem;
}

.input-label {
    color: #334155;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.875rem;
}

.custom-input {
    width: 100%;
}

    .custom-input .mud-input-root {
        border-radius: 10px;
        background-color: #ffffff;
    }

    .custom-input .mud-input-outlined:hover .mud-input-root-outlined {
        border-color: #cbd5e1;
    }

    .custom-input .mud-input-outlined.mud-input-focused .mud-input-root-outlined {
        border-color: #0f766e;
        border-width: 2px;
        box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
    }

    .custom-input .mud-input-slot {
        padding: 13px 14px;
    }

    .custom-input input::placeholder {
        color: #94a3b8;
        opacity: 1;
    }

.forgot-password-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.forgot-link {
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

    .forgot-link:hover {
        color: #3b82f6;
        text-decoration: none;
    }

.signin-button {
    height: 50px;
    font-weight: 600;
    margin-top: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    background: linear-gradient(135deg, #0c1e3a 0%, #1a2f4d 40%, #0f2942 100%);
    color: white;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
    transition: all 0.3s ease;
}

    .signin-button:hover {
        background: linear-gradient(135deg, #0c1e3a 0%, #1a2f4d 40%, #0f2942 100%);
        transform: translateY(-1px);
    }

        .signin-button:hover::before {
            content: '';
            position: absolute;
            top: -30%;
            left: -30%;
            width: 140%;
            height: 160%;
            background: linear-gradient(130deg, transparent 0%, transparent 28%, rgba(147, 197, 253, 0.03) 28%, rgba(147, 197, 253, 0.08) 32%, rgba(147, 197, 253, 0.12) 36%, rgba(147, 197, 253, 0.08) 40%, rgba(147, 197, 253, 0.03) 44%, transparent 44%, transparent 100%), linear-gradient(135deg, transparent 0%, transparent 42%, rgba(96, 165, 250, 0.04) 42%, rgba(96, 165, 250, 0.09) 46%, rgba(96, 165, 250, 0.06) 50%, rgba(96, 165, 250, 0.04) 54%, transparent 54%, transparent 100%), linear-gradient(140deg, transparent 0%, transparent 55%, rgba(59, 130, 246, 0.02) 55%, rgba(59, 130, 246, 0.06) 59%, rgba(59, 130, 246, 0.04) 63%, transparent 63%, transparent 100%), linear-gradient(125deg, transparent 0%, transparent 15%, rgba(186, 230, 253, 0.02) 15%, rgba(186, 230, 253, 0.05) 18%, rgba(186, 230, 253, 0.03) 21%, transparent 21%, transparent 100%);
            pointer-events: none;
            animation: elegantShimmer 25s ease-in-out infinite alternate;
        }

        .signin-button:hover::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse 800px 600px at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%), radial-gradient(ellipse 600px 500px at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%), radial-gradient(ellipse 400px 300px at 90% 90%, rgba(96, 165, 250, 0.08) 0%, transparent 50%);
            pointer-events: none;
            opacity: 0.6;
        }

@@keyframes elegantShimmer {
    0% {
        opacity: 0.7;
        transform: translateX(0) translateY(0) rotate(0deg);
    }

    50% {
        opacity: 0.9;
        transform: translateX(-1%) translateY(-1%) rotate(0.5deg);
    }

    100% {
        opacity: 0.75;
        transform: translateX(0.5%) translateY(0.5%) rotate(-0.3deg);
    }
}

.signin-button:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    box-shadow: none;
}

.signup-text {
    color: #64748b;
    margin-top: 5px;
    font-size: 0.9rem;
}

.signup-link {
    font-weight: 600;
    text-decoration: none;
}

.forgot-link, .signup-link {
    color: #333 !important;
    text-decoration: none;
}

    .forgot-link:hover, .signup-link:hover {
        color: #3b82f6 !important;
        text-decoration: underline;
    }

/* Right Section - Branding */
.branding-container-section {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0c1e3a 0%, #1a2f4d 40%, #0f2942 100%);
    padding: 9rem 3rem;
    position: relative;
    overflow: hidden;
}

    .branding-container-section::before {
        content: '';
        position: absolute;
        top: -30%;
        left: -30%;
        width: 140%;
        height: 160%;
        background: linear-gradient(130deg, transparent 0%, transparent 28%, rgba(147, 197, 253, 0.03) 28%, rgba(147, 197, 253, 0.08) 32%, rgba(147, 197, 253, 0.12) 36%, rgba(147, 197, 253, 0.08) 40%, rgba(147, 197, 253, 0.03) 44%, transparent 44%, transparent 100%), linear-gradient(135deg, transparent 0%, transparent 42%, rgba(96, 165, 250, 0.04) 42%, rgba(96, 165, 250, 0.09) 46%, rgba(96, 165, 250, 0.06) 50%, rgba(96, 165, 250, 0.04) 54%, transparent 54%, transparent 100%), linear-gradient(140deg, transparent 0%, transparent 55%, rgba(59, 130, 246, 0.02) 55%, rgba(59, 130, 246, 0.06) 59%, rgba(59, 130, 246, 0.04) 63%, transparent 63%, transparent 100%), linear-gradient(125deg, transparent 0%, transparent 15%, rgba(186, 230, 253, 0.02) 15%, rgba(186, 230, 253, 0.05) 18%, rgba(186, 230, 253, 0.03) 21%, transparent 21%, transparent 100%);
        pointer-events: none;
        animation: elegantShimmer 25s ease-in-out infinite alternate;
    }

    .branding-container-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(ellipse 800px 600px at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%), radial-gradient(ellipse 600px 500px at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%), radial-gradient(ellipse 400px 300px at 90% 90%, rgba(96, 165, 250, 0.08) 0%, transparent 50%);
        pointer-events: none;
        opacity: 0.6;
    }

.branding-inner-wrapper {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.branding-headline {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2.5rem;
    line-height: 1.3;
    font-size: 2rem;
    letter-spacing: -0.5px;
}

.testimonial-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonial-quote {
    color: #e0f2fe;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-style: italic;
    font-size: 0.95rem;
}

    .testimonial-quote::before {
        content: '"';
        font-size: 2.5rem;
        color: rgba(255, 255, 255, 0.3);
        line-height: 0;
        display: block;
        margin-bottom: 0.5rem;
    }

.trusted-companies {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trusted-label {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    display: block;
    font-size: 0.75rem;
}

/* Tablet Styles */
@@media (max-width: 960px) {
    .login-main-container {
        width: 90vw;
        height: auto;
        min-height: 0;
    }

    .login-grid-container {
        height: auto;
    }

    .form-container-section {
        height: auto;
        padding: 3rem 2rem;
    }

    .branding-container-section {
        display: none;
    }
}

/* Mobile Styles */
@@media (max-width: 600px) {
    .login-page-wrapper {
        background: white;
        align-items: flex-start;
    }

    .login-main-container {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }

    .login-grid-container {
        height: 100%;
    }

    .form-container-section {
        padding: 2rem 1.5rem;
        height: 100%;
        align-items: flex-start;
        padding-top: 4rem;
    }

    .form-inner-wrapper {
        width: 100%;
        max-width: 420px;
        max-height: 85vh;
        overflow-y: auto;
        padding-right: 10px;
    }

        .form-inner-wrapper::-webkit-scrollbar {
            width: 6px;
        }

        .form-inner-wrapper::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .form-inner-wrapper::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 10px;
        }

            .form-inner-wrapper::-webkit-scrollbar-thumb:hover {
                background: #94a3b8;
            }

    .branding-container-section {
        display: none;
    }
}

/* Desktop Large */
@@media (min-width: 1920px) {
    .login-main-container {
        max-width: 1400px;
        height: 800px;
    }

    .branding-headline {
        font-size: 2.5rem;
    }
}
