﻿:root {
    --primary: #0077cc;
    --primary-dark: #005fa3;
    --secondary: #656c7c;
    --accent: #ea4c89;
    --success: #10b981;
    --background: #f8fafc;
    --white: #ffffff;
    --text: #0f172a;
    --text-light: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --primary-color2: #0077cc;
    --primary-dark2: #005fa3;
}

/* Page Wrapper */
.login-page-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #e8ecf1 100%);
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
}

.login-container {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 600px;
}

/* Left Side - Branding */
/*.login-branding {
    background: linear-gradient(135deg, var(--primary-color2) 0%, var(--primary-dark2) 100%);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .login-branding::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(0, 119, 204, 0.2) 0%, transparent 70%);
        border-radius: 50%;
    }
*/

/* Left Side - Branding */
.login-branding {
    background: linear-gradient(135deg, var(--primary-color2) 0%, var(--primary-dark2) 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

    .login-branding::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(255,255,255,0.05) 50px, rgba(255,255,255,0.05) 100px);
        animation: slidePattern 20s linear infinite;
    }

      

    .login-branding::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -30%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(234, 76, 137, 0.15) 0%, transparent 70%);
        border-radius: 50%;
    }

.branding-content {
    position: relative;
    z-index: 1;
}

.brand-logo {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .brand-logo span {
        background: linear-gradient(90deg, #0077cc 0%, #5dbaed 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.branding-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.branding-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.branding-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .branding-features li {
        padding: 0.75rem 0;
        padding-left: 2rem;
        position: relative;
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.95rem;
    }

        .branding-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #10b981;
            font-weight: bold;
            font-size: 1.2rem;
            background: rgba(16, 185, 129, 0.2);
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

/* Right Side - Form */
.login-form-container {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #0077cc 0%, #005fa3 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.3s ease;
    background: white;
}

    .form-control:focus {
        border-color: var(--primary);
        outline: none;
        box-shadow: 0 0 0 4px rgba(0, 119, 204, 0.1);
    }

        .form-control:focus + label,
        .form-control:not(:placeholder-shown) + label {
            top: -10px;
            left: 12px;
            font-size: 0.75rem;
            color: var(--primary);
            background: white;
            padding: 0 6px;
        }

.form-group label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--text-light);
    transition: all 0.2s ease;
    pointer-events: none;
    background: transparent;
}

.text-danger {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    cursor: pointer;
}

    .remember-me input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: var(--primary);
    }

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

    .forgot-password:hover {
        text-decoration: underline;
    }

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 119, 204, 0.3);
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 119, 204, 0.4);
    }

    .btn-submit:active {
        transform: translateY(0);
    }

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    gap: 1rem;
}

    .divider hr {
        flex: 1;
        border: none;
        border-top: 1px solid var(--border);
    }

    .divider span {
        color: var(--text-light);
        font-size: 0.85rem;
        font-weight: 500;
    }

.btn-google {
    width: 100%;
    padding: 0.875rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

    .btn-google:hover {
        border-color: var(--primary);
        background: #f8fafc;
        transform: translateY(-2px);
    }

.provider-icon {
    width: 18px;
    height: 18px;
}

.register-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

    .register-link a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
    }

        .register-link a:hover {
            text-decoration: underline;
        }

/* Responsive */
@media (max-width: 968px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .login-branding {
        display: none;
    }

    .login-form-container {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .login-page-wrapper {
        padding: 2rem 1rem;
    }

    .login-form-container {
        padding: 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .form-control {
        padding: 0.75rem;
    }

    .form-options {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}
