/* Login Page Styles - Modern Two-Column Layout */

/* Full Page Container */
.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

/* Left Panel - Branding */
.login-branding {
    flex: 1;
    background: linear-gradient(35deg, #a0aec0 0%, #cbd5e0 50%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

/* Animated Background Shapes */
.login-branding::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    animation: floatShape 8s ease-in-out infinite;
}

.login-branding::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
    animation: floatShape 10s ease-in-out infinite reverse;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 30px) scale(1.1);
    }
}

.login-branding-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.login-branding-content img {
    max-width: 280px;
    width: 100%;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    filter: brightness(1.1);
}

.login-branding-content img:hover {
    transform: scale(1.05);
}

.login-claim {
    color: #303030;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 400px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.login-claim strong {
    font-weight: 600;
    display: block;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Right Panel - Login Form */
.login-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: var(--card-bg, #ffffff);
    position: relative;
}

.login-form-content {
    max-width: 400px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.login-form-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #288FA6;
    margin-bottom: 15px;
}

.login-form-content .login-subtitle {
    font-size: 1.1rem;
    color: #303030;
    opacity: 0.7;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Google Button - Enhanced */
.btn-google-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    padding: 18px 32px;
    background: white;
    color: #444;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-google-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #D5440D;
    background: linear-gradient(135deg, rgba(213, 68, 13, 0.05), rgba(40, 143, 166, 0.05));
}

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

.btn-google-login svg {
    flex-shrink: 0;
}

/* Features List */
.login-features {
    margin-top: 50px;
    text-align: center;
}

.login-features h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #303030;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-align: center;
}

.login-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    text-align: left;
}

.login-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #303030;
    opacity: 0.8;
    font-size: 0.95rem;
}

.login-features li i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #288FA6;
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* === RESPONSIVE DESIGN === */

/* Tablet and below */
@media (max-width: 992px) {
    .login-branding-content img {
        max-width: 220px;
    }

    .login-claim {
        font-size: 1.3rem;
    }

    .login-claim strong {
        font-size: 1.5rem;
    }
}

/* Mobile - Stack vertically */
@media (max-width: 768px) {
    .login-page {
        flex-direction: column;
    }

    .login-branding {
        flex: 0 0 auto;
        padding: 50px 30px 40px;
        min-height: 35vh;
    }

    .login-branding-content img {
        max-width: 180px;
        margin-bottom: 20px;
    }

    .login-claim {
        font-size: 1.1rem;
        max-width: 315px;
    }

    .login-claim strong {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .login-form-panel {
        flex: 1;
        padding: 40px 25px;
        border-radius: 30px 30px 0 0;
        margin-top: -30px;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    }

    .login-form-content h1 {
        font-size: 2rem;
    }

    .login-form-content .login-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-google-login {
        padding: 16px 28px;
        font-size: 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .login-features {
        margin-top: 35px;
    }
}

/* Small mobile */
@media (max-width: 380px) {
    .login-branding {
        padding: 40px 20px 35px;
        min-height: 30vh;
    }

    .login-branding-content img {
        max-width: 150px;
    }

    .login-form-content h1 {
        font-size: 1.75rem;
    }

    .btn-google-login {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
}

/* Dark Theme Support */
[data-theme="dark"] .login-form-panel {
    background: var(--card-bg);
}

[data-theme="dark"] .btn-google-login {
    background: #2d3748;
    color: #e2e8f0;
    border-color: #4a5568;
}

[data-theme="dark"] .btn-google-login:hover {
    background: linear-gradient(135deg, rgba(213, 68, 13, 0.15), rgba(40, 143, 166, 0.15));
    border-color: #D5440D;
}

[data-theme="dark"] .login-features li {
    color: #e2e8f0;
}