/* ============================================
   LOGIN PAGE STYLES (Full Screen Glass)
   ============================================ */

.login-bg-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    /* High quality editorial background */
    background-image: url('https://picsum.photos/1920/1080?random=10'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for contrast */
    z-index: 1;
}

/* Glass Card */
.login-glass-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95); /* Slightly translucent white */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2), 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Header */
.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-logo img {
    height: 50px;
    margin-bottom: 1.5rem;
}

.login-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    margin-bottom: 0.5rem;
}

.login-subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-gray);
    font-weight: 500;
}

/* Form inputs (Transparent Style) */
.form-group {
    margin-bottom: 1.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--color-gray);
    font-size: 1rem;
    pointer-events: none;
    z-index: 10;
}

.form-input {
    width: 100%;
    padding: 16px 1.25rem 16px 3rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-dark-gray);
    background-color: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    background-color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-input::placeholder {
    color: #9ca3af;
    font-weight: 500;
}

/* Footer */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--color-gray);
}

.forgot-password-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

/* Button */
.btn-login {
    width: 100%;
    padding: 16px;
    background-color: var(--color-primary);
    color: white;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-login:hover {
    background-color: black;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-login i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-login:hover i {
    transform: translateX(3px);
}

/* Divider */
.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 600;
}

.login-divider::before, 
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.login-divider span { padding: 0 1rem; }

/* Social */
.social-login {
    display: flex;
    gap: 15px;
}

.btn-social {
    flex: 1;
    padding: 12px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 10px;
    font-weight: 600;
    color: var(--color-dark-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--color-gray);
    font-size: 0.95rem;
}

.register-link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 576px) {
    .login-bg-container {
        padding: 1rem;
         /* Mobile background handling - maybe simpler pattern or color */
    }
    .login-glass-card {
        padding: 2rem;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Register Page Specifics */
.login-glass-card.register-card {
    max-width: 520px; /* Slightly wider for 2-col layout */
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.glass-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark-gray);
    margin-bottom: 6px;
    margin-left: 2px;
}

.form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--color-gray);
    margin-top: 4px;
    margin-left: 2px;
}

.terms-group {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.terms-group .checkbox-label {
    align-items: flex-start;
    font-size: 0.85rem;
    line-height: 1.4;
}

.terms-group input {
    margin-top: 3px;
}

.terms-group a {
    color: var(--color-primary);
    text-decoration: underline;
}
