﻿/* login.css - High Contrast Dark Mosaic & Antique Gold Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    /* =========================================================
       DARK MOSAIC & ANTIQUE GOLD SYSTEM (UPDATED)
       ========================================================= */
    --primary-blue: #635B44; /* Requested Left Side Base Color */
    --primary-blue-dark: #2A261B; /* Deep shadow variant of your left side color */
    --primary-blue-light: #B5A27F; /* ANTIQUE GOLD - Primary Accent from Page 3 */
    --primary-blue-soft: #1C1A17; /* Dark Mosaic Charcoal Black for High Contrast */
    --accent-blue: #B5A27F; /* ANTIQUE GOLD - Buttons, Icons & Accents */
    --accent-blue-glow: rgba(181, 162, 127, 0.2); /* Antique Gold Glow Ring */
    /* Neutral Base Elements (Black & White Theme for Right Side) */
    --white: #FFFFFF;
    --white-off: #F9F9F9; /* Stark clean white background variation */
    --gray-light: #F4F4F4; /* Light grey for input fields */
    --gray-border: #DCDCDC; /* Structured crisp grey border */
    --text-dark: #1C1A17; /* Dark Charcoal/Black for clear text readability */
    --text-gray: #555555; /* Muted dark grey for secondary labels */
    --text-light: #888888; /* Neutral placeholder grey */
    /* Standard Shadows and Motion Animations */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --transition-smooth: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.login-page {
    background: transparent !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow-x: hidden;
}

form {
    width: 100%;
    min-height: 100vh;
}

/* ========= MAIN CONTAINER - HIGH CONTRAST THEME ========= */
.login-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--white) 0%, var(--white-off) 100%);
    position: relative;
    overflow: hidden;
}

    /* Subtle Mosaic Tint Orbs */
    .login-container::before {
        content: '';
        position: absolute;
        top: -30%;
        right: -20%;
        width: 70%;
        height: 70%;
        background: radial-gradient(circle, rgba(181, 162, 127, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        z-index: 0;
    }

/* ========= LEFT PANEL - REQUESTED COLOR SECTION ========= */
.left-panel {
    width: 38%;
    min-height: 100vh;
    background: linear-gradient(145deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 50px;
    position: relative;
    box-shadow: var(--shadow-xl);
}

    /* Mosaic Grid Pattern Overlay */
    .left-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.04"><path fill="none" d="M20,20 L80,20 M20,40 L80,40 M20,60 L80,60 M20,80 L80,80 M40,20 L40,80 M60,20 L60,80" stroke="white" stroke-width="1"/><circle cx="50" cy="50" r="15" stroke="white" stroke-width="1" fill="none"/></svg>');
        background-repeat: repeat;
        pointer-events: none;
    }

    /* Structured White Splitter Line */
    .left-panel::after {
        content: '';
        position: absolute;
        top: 15%;
        right: 0;
        width: 4px;
        height: 70%;
        background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3), transparent);
        border-radius: 4px;
    }

    .left-panel h1 {
        font-family: 'Playfair Display', serif;
        font-size: 3.2rem;
        font-weight: 700;
        margin-bottom: 25px;
        color: var(--white);
        letter-spacing: -0.02em;
        line-height: 1.2;
        position: relative;
    }

        .left-panel h1::after {
            content: '✦';
            position: absolute;
            font-size: 2rem;
            color: var(--accent-blue); /* Sparkle matches Antique Gold now */
            margin-left: 12px;
        }

    .left-panel p {
        font-size: 1rem;
        line-height: 1.8;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 40px;
        font-weight: 400;
        letter-spacing: 0.3px;
        border-left: 3px solid var(--accent-blue); /* Left accent bar matches gold */
        padding-left: 20px;
    }

/* ===== GALLERY STATS SECTION ===== */
.gallery-stats {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 35px;
    width: 100%;
}

/* ===== EACH ITEM ===== */
.stat-item {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 16px 22px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    /* Hover Effect mapping to gold accent */
    .stat-item:hover {
        transform: translateX(8px);
        background: rgba(255, 255, 255, 0.15);
        border-color: var(--accent-blue);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

/* ===== TEXT STYLE ===== */
.stat-number {
    font-size: 1.05rem;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.4px;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}

/* ========= CENTER LOGIN BOX (BLACK & WHITE DESIGN) ========= */
.login-box {
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    z-index: 20;
    position: relative;
}

.login-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

    .login-logo b {
        color: var(--primary-blue-soft); /* High contrast header matching Page 3 logo text style */
        font-weight: 700;
    }

/* High Contrast Card Layout */
.card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    width: 100%;
    max-width: 460px;
    transition: var(--transition-smooth);
    border: 1px solid var(--gray-border);
}

.card-body {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-box-msg {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 35px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Input Groups */
.input-group {
    margin-bottom: 20px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 16px 18px 16px 52px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: var(--gray-light);
    border: 1.5px solid var(--gray-border);
    border-radius: 12px;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

    .form-control:focus {
        border-color: var(--accent-blue);
        outline: none;
        box-shadow: 0 0 0 4px var(--accent-blue-glow);
        background: var(--white);
    }

/* Input Icons matched to Antique Gold */
.input-group.email-group::before {
    content: '✉';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--accent-blue);
    z-index: 5;
}

.input-group.password-group::before {
    content: '🔒';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--accent-blue);
    z-index: 5;
}

/* Login Button - Changed to Antique Gold (#B5A27F) */
.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--white);
    background: var(--accent-blue); /* #B5A27F */
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

    .btn-block:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(181, 162, 127, 0.4);
        filter: brightness(1.05);
    }

/* ========= RESPONSIVE DESIGN ========= */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }

    .left-panel {
        width: 100%;
        min-height: auto;
        padding: 60px 40px;
    }

    .login-box {
        width: 100%;
        padding: 60px 20px;
    }
}
