/* =========================================================
   Acryshade Laminates — Login Page (Split Layout)
   Left: full-height product photo with a navy/blue duotone
   scrim and a floating logo badge.
   Right: clean white panel, dashboard-matched form styling.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --navy-dark: #0a1226;
    --navy: #131d3d;
    --navy-light: #1c3766;
    --blue: #2f6fed;
    --blue-soft: #eaf0fd;
    --orange: #e2622c;
    --border-blue: #cfdbf2;
    --bg: #eef2f9;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    min-height: 100vh !important;
    background: var(--bg) !important;
}

/* ---------- Split shell ---------- */

.login-page {
    display: flex;
    min-height: 100vh;
    width: 100%;
}


/* ---------- Left: image panel ---------- */

.login-left {
    position: relative;
    flex: 1 1 68%;
    min-height: 100vh;
    background-image: url('/Content/assets/images/ProductImages/LoginImages/45.jpg.jpeg');
    background-size: cover;
    background-position: center;
    overflow: visible;
}

.login-left-scrim {
    position: absolute;
    background: linear-gradient(180deg, rgb(6 10 22 / 18%) 0%, rgb(10 16 32 / 11%) 40%, rgb(6 10 22 / 25%) 100%), linear-gradient(120deg, rgb(6 10 22 / 20%), rgb(31 61 115 / 10%));
}

/* Wavy seam between the two panels — a repeating white wave
   painted along the boundary, so the straight flex edge reads
   as a soft curve instead of a hard line. */
.login-left::after {
    content: "";
    position: absolute;
    top: 0;
    right: -30px;
    width: 60px;
    height: 100%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='240' viewBox='0 0 60 240'><path d='M30 0 C0 30 60 90 30 120 C0 150 60 210 30 240 L60 240 L60 0 Z' fill='white'/></svg>");
    background-repeat: repeat-y;
    background-size: 60px 240px;
    z-index: 4;
    pointer-events: none;
}

.brand-badge {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -58%);
    background-color: #c1c1c1;
    background-image: radial-gradient(circle 6px at 20px 20px, #f4f4f4 0%, #c2c2c2 40%, #6b6b6b 72%, transparent 78%), radial-gradient(circle 6px at calc(100% - 20px) 20px, #f4f4f4 0%, #c2c2c2 40%, #6b6b6b 72%, transparent 78%), radial-gradient(circle 6px at 20px calc(100% - 20px), #f4f4f4 0%, #c2c2c2 40%, #6b6b6b 72%, transparent 78%), radial-gradient(circle 6px at calc(100% - 20px) calc(100% - 20px), #f4f4f4 0%, #c2c2c2 40%, #6b6b6b 72%, transparent 78%);
    background-repeat: no-repeat;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    padding: 22px 34px;
    box-shadow: 0px 0px 45px rgb(0 0 0 / 96%);
    z-index: 2;
    text-align: center;
}

    .brand-badge img {
        height: 130px;
        width: auto;
        display: block;
        margin: 0 auto;
        filter: brightness(0.88) drop-shadow(0 6px 14px rgba(0,0,0,0.5));
    }

.login-left-caption {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 48px;
    z-index: 2;
    color: #ffffff;
}

    .login-left-caption h2 {
        font-family: var(--font-body);
        font-weight: 800;
        font-size: 32px;
        line-height: 1.25;
        margin: 0 0 10px;
        text-shadow: 0px 0px 15px rgb(201 191 191 / 92%);
    }

    .login-left-caption p {
        font-size: 15px;
        font-weight: 400;
        color: rgba(255,255,255,0.85);
        margin: 0;
        max-width: 420px;
    }

/* ---------- Right: form panel ---------- */

.login-right {
    flex: 1 1 32%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 40px 24px;
    min-width: 320px;
}

.login-form-wrap {
    width: 100%;
    max-width: 380px;
}

.auth-box {
    border: none !important;
    box-shadow: none !important;
    background: transparent;
}

    .auth-box .card-block {
        padding: 0;
    }

h3 {
    font-family: var(--font-body);
    font-size: 27px;
    font-weight: 800;
    color: var(--navy-dark);
    margin: 0 0 6px;
    text-align: left;
}

.login-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 26px;
}

.card-block .row.m-b-20 {
    margin-bottom: 0 !important;
}

.form-group {
    margin-bottom: 18px;
}

.form-control {
    width: 100%;
    height: 50px;
    border-radius: 10px;
    border: 1.5px solid var(--border-blue);
    padding: 12px 15px;
    font-size: 15px;
    font-family: var(--font-body);
    font-weight: 500;
    background: var(--blue-soft);
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .form-control::placeholder {
        color: var(--text-muted);
        font-weight: 400;
    }

    .form-control:focus {
        outline: none;
        border-color: var(--blue);
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(47,111,237,0.14);
    }

.text-danger,
span[style*="Red"] {
    font-size: 12.5px;
    margin-top: 5px;
    display: block;
    color: #d64550 !important;
    font-weight: 500;
}

.checkbox-fade .text-inverse,
.text-inverse {
    color: var(--text-muted);
    font-size: 14px;
}

.btn-light-primary {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--navy-light), var(--blue));
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

    .btn-light-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(47,111,237,0.32);
        filter: brightness(1.05);
        color: #ffffff;
    }

    .btn-light-primary:focus-visible,
    .form-control:focus-visible {
        outline: 2px solid var(--orange);
        outline-offset: 2px;
    }

hr {
    margin: 22px 0;
    border: none;
    border-top: 1px solid #eef1f6;
}


@media (max-width: 1100px) {
    .login-left {
        flex: 1 1 60%;
    }

    .login-right {
        flex: 1 1 40%;
        min-width: 280px;
    }

    .login-left-caption h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 30px;
    }
}

/* ---------- Responsive: stack on tablet/mobile ---------- */

@media (max-width: 900px) {
    .login-page {
        flex-direction: column;
    }

    .login-left {
        flex: 2 1 90%;
        min-height: 350px;
    }

    .login-left-caption h2 {
        font-size: 24px;
    }

    .login-left-caption p {
        display: none;
    }

    .login-right {
        flex: 1 1 30%;
        align-items: flex-start;
        padding: 32px 20px 44px;
    }
}

@media (max-width: 900px) {
    .login-left::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .login-left {
        height: 32vh;
        min-height: 240px;
    }

    .brand-badge {
        padding: 14px 20px;
        border-radius: 14px;
        background-image: radial-gradient(circle 4px at 12px 12px, #f4f4f4 0%, #c2c2c2 40%, #6b6b6b 72%, transparent 78%), radial-gradient(circle 4px at calc(100% - 12px) 12px, #f4f4f4 0%, #c2c2c2 40%, #6b6b6b 72%, transparent 78%), radial-gradient(circle 4px at 12px calc(100% - 12px), #f4f4f4 0%, #c2c2c2 40%, #6b6b6b 72%, transparent 78%), radial-gradient(circle 4px at calc(100% - 12px) calc(100% - 12px), #f4f4f4 0%, #c2c2c2 40%, #6b6b6b 72%, transparent 78%);
    }

        .brand-badge img {
            height: 80px;
        }

    .login-left-caption {
        left: 20px;
        right: 20px;
        bottom: 24px;
    }

        .login-left-caption h2 {
            font-size: 19px;
        }

    .login-right {
        padding: 28px 16px 36px;
    }

    h3 {
        font-size: 23px;
    }

    .login-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .form-control {
        height: 46px;
        font-size: 14px;
    }

    .btn-light-primary {
        height: 46px;
        font-size: 15px;
    }
}

/* ---------- Small tablets / large phones (landscape) ---------- */
@media (max-width: 700px) {
    .login-left {
        height: 40vh;
        min-height: 280px;
    }

    .login-left-caption {
        bottom: 32px;
    }

        .login-left-caption h2 {
            font-size: 22px;
            line-height: 1.2;
        }

    .login-form-wrap {
        max-width: 100%;
    }
}

/* ---------- Very small phones (e.g. iPhone SE) ---------- */
@media (max-width: 380px) {
    .login-left {
        height: 220px;
        min-height: 220px;
    }

    .brand-badge img {
        height: 60px;
    }

    .login-left-caption {
        bottom: 16px;
    }

        .login-left-caption h2 {
            font-size: 17px;
        }

    .login-right {
        padding: 22px 14px 30px;
    }

    h3 {
        font-size: 20px;
    }

    .form-control {
        height: 44px;
        padding: 10px 12px;
    }

    .btn-light-primary {
        height: 44px;
        font-size: 14px;
    }
}
