﻿:root {
    /* brand palette (from the page's inline styles) */
    --brand: #94ba33;
    --brand-light: #aecf55;
    --brand-dark: #74962a;
    --brand-pale: #eef6dd;
    --text-dark: #33421a;
    /* legacy glass-theme palette (still referenced by the decorative
       selectors kept near the bottom of this file) */
    --text-muted: rgba(47, 37, 48, 0.62);
    --accent: #9c6470;
    --accent-dark: #7c4e59;
    --glass-bg: rgba(255, 255, 255, 0.22);
    --glass-border: rgba(255, 255, 255, 0.4);
    --radius-lg: 28px;
    --radius-sm: 14px;
}

* {
    box-sizing: border-box;
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--text-dark);
}

.hidden {
    display: none;
}

.Notes {
    font-size: xx-large;
    text-align: center;
    color: var(--brand-dark);
    padding: 10px;
    background-color: whitesmoke;
    font-weight: 600;
}

.form-control {
    height: 48px !important;
}

/* ---------- Page & card ---------- */
.page {
    min-height: 100vh;
    padding: 24px;
    background: linear-gradient(135deg, var(--brand-pale) 0%, #ffffff 55%, var(--brand-pale) 100%);
    display: flex;
    align-items: center; 
    justify-content: center; 
}

.auth-card {
    width: 100%;
    max-width: 1050px;
    height: 620px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 55px rgba(148, 186, 51, .25), 0 4px 14px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.row-flush {
    margin-left: 0;
    margin-right: 0;
}

    .row-flush > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

/* ---------- Left promo / art panel ---------- */
.art-panel {
    position: relative;
    height: 620px;
    min-height: 620px;
    background: linear-gradient(160deg, var(--brand-dark) 0%, var(--brand) 55%, var(--brand-light) 100%);
    overflow: hidden;
}

    .art-panel:before, .art-panel:after {
        content: "";
        position: absolute;
        border-radius: 50%;
        background: rgba(255,255,255,.12);
    }

    .art-panel:before {
        width: 260px;
        height: 260px;
        top: -80px;
        right: -60px;
    }

    .art-panel:after {
        width: 180px;
        height: 180px;
        bottom: -60px;
        left: -40px;
        background: rgba(255,255,255,.08);
    }

.scene {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.slide-frame {
    width: 100%;
    height: 100%;
}

#slideshow {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- Form panel ---------- */
.form-panel {
    padding: 56px 48px;
    width: 100%;
}

.auth-card > .row {
    display: flex;
    height: 100%;
}


.art-panel {
    flex: 0 0 58.3333%;
    max-width: 58.3333%;
}

/* RIGHT SIDE - fixed area for both login screens */
.login-stage {
    flex: 0 0 41.6667%;
    max-width: 41.6667%;
    position: relative;
    height: 100%;
    overflow: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* Both login screens occupy exactly the same space */
.login-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}


/* LOGIN DIV 1 - initial position */
#loginDiv_1 {
    transform: translateY(0);
    opacity: 1;
    z-index: 2;
}


/* LOGIN DIV 2 - initially below */
#loginDiv_2 {
    transform: translateY(100%);
    opacity: 0;
    z-index: 1;
}


/* When moving to Step 2 */


/* Login Div 1 moves UP */
.auth-card.step-2 #loginDiv_1 {
    transform: translateY(-100%);
    opacity: 0;
}


/* Login Div 2 moves UP into place */
.auth-card.step-2 #loginDiv_2 {
    transform: translateY(0);
    opacity: 1;
    z-index: 2;
}



.headline {
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 2.1rem;
    margin: 0 0 28px;
}

.subtext {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.glass-input {
    background: #f4f7ec;
    border: 1px solid #e3ecd2;
    border-radius: 12px;
    padding: 0 18px;
    font-size: 15px;
    color: var(--text-dark);
}

    .glass-input::placeholder {
        color: rgba(47, 37, 48, 0.5);
    }

    .glass-input:focus {
        outline: none;
        border-color: var(--brand);
        box-shadow: 0 0 0 3px rgba(148,186,51,.18);
        background: #fff;
    }

select.glass-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2374962a'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.form-panel label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.field-password {
    position: relative;
}

.password-toggle-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    display: inline-block;
    font-size: 18px;
    color: #888;
}

    .password-toggle-icon:hover {
        color: #777;
    }

.link-row {
    margin-bottom: 24px;
}

.link-muted {
    color: #888;
    font-size: 13px;
    text-decoration: none;
}

    .link-muted:hover {
        color: #777;
        text-decoration: underline;
    }

/* Sign in button */
.btn-signin {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border: none;
    color: #fff !important;
    border-radius: 12px;
    height: 48px;
    font-size: 16px;
    letter-spacing: .3px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(148,186,51,.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .btn-signin:hover, .btn-signin:focus {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(148,186,51,.45);
    }

    .btn-signin:active,
    .btn-signin.active,
    .btn-signin:active:focus {
        background-color: var(--brand-light) !important;
        background-image: none;
        color: #fff !important;
        outline: none;
        transform: translateY(0);
        box-shadow: inset 0 2px 6px rgba(0,0,0,.12);
    }

.divider {
    height: 1px;
    background: #eef0e6;
    border: none;
    margin: 0 0 24px;
}

.icon-row {
    margin-bottom: 24px;
}

    .icon-row a {
        margin: 0 8px;
    }

/* Social buttons */
.social-btn {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: var(--brand-pale);
    text-align: center;
    text-decoration: none;
    transition: background 0.15s ease;
}

    .social-btn i {
        font-size: 16px;
        line-height: 40px;
        color: var(--brand-dark);
        transition: color 0.15s ease;
    }

    .social-btn:hover {
        background: var(--brand-light);
        color:#fff;
    }

        .social-btn:hover i {
            color: #fff !important;
        }

.social-btn-dark i {
    color: #1a1a1a;
}



.EmailIconSize {
    color: #94ba33;
}

.footer-row {
    font-size: 13px;
}

.footer-contact {
    color: var(--brand-dark) !important;
    text-decoration: none;
}

    .footer-contact i {
        margin-right: 5px;
    }

/* Modal accents */
.modal-title {
    color: var(--brand-dark);
}

.btn-success {
    background: var(--brand) !important;
    border-color: var(--brand-dark) !important;
}

    .btn-success:hover {
        background: var(--brand-dark) !important;
    }

/* =========================================================================
   Legacy glass-theme decorative selectors — not used by the current
   Index.cshtml markup (which uses #slideshow instead of .sun/.mountain/
   .water/.tree), kept here only in case another page still relies on them.
   Safe to delete if nothing else references them.
   ========================================================================= */

.toggle-password {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(47, 37, 48, 0.55);
    padding: 0 0.6rem;
}

    .toggle-password:hover {
        color: var(--text-dark);
    }

    .toggle-password:focus {
        box-shadow: none;
    }

.sun {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    top: 24%;
    left: 18%;
    background: radial-gradient(circle, #fff8e0 0%, #ffd98a 45%, rgba(255, 180, 120, 0) 72%);
}

.mountain {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20%;
    height: 45%;
}

.mountain-back {
    background: rgba(70, 45, 80, 0.55);
    clip-path: polygon(0% 100%, 12% 45%, 30% 68%, 50% 32%, 72% 60%, 100% 25%, 100% 100%);
}

.mountain-front {
    background: rgba(42, 26, 50, 0.82);
    bottom: 14%;
    clip-path: polygon(0% 100%, 18% 58%, 42% 78%, 68% 48%, 100% 72%, 100% 100%);
}

.water {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 20%;
    background: linear-gradient(180deg, rgba(180, 110, 140, 0.55), rgba(50, 32, 60, 0.9));
}

.tree {
    position: absolute;
    bottom: 3%;
    opacity: 0.9;
}

    .tree svg {
        width: 100%;
        height: 100%;
        display: block;
    }

.tree-1 {
    left: 10%;
    width: 28px;
    height: 85px;
}

.tree-2 {
    left: 40%;
    width: 34px;
    height: 125px;
}

.tree-3 {
    left: 72%;
    width: 30px;
    height: 95px;
}

.caption {
    position: absolute;
    left: 1.75rem;
    right: 1.75rem;
    bottom: 1.75rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-sm);
    color: #fff;
}

    .caption p {
        font-size: 0.95rem;
    }

.glass-strong {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
}

    .nav-arrow:hover {
        background: rgba(255, 255, 255, 0.2);
    }

/* =========================================================
   MOBILE / TABLET RESPONSIVE
   ========================================================= */

/* Tablet and below */
@media (max-width: 991.98px) {

    .auth-card {
        width: calc(100% - 32px);
        max-width: 700px;
        height: auto;
        min-height: 620px;
    }

    .auth-card > .row {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    /* Hide image section on tablet/mobile */
    .art-panel {
        display: none !important;
    }

    /* Login area becomes full width */
    .login-stage {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;

        height: 620px;
        min-height: 620px;
    }

    .form-panel {
        width: 100%;
        padding: 50px 40px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    html,
    body {
        width: 100%;
        min-height: 100%;
        overflow-x: hidden;
    }

    .page {
        width: 100%;
        min-height: 100vh;

        padding: 16px;

        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .auth-card {
        width: 100%;
        max-width: 100%;

        height: auto;
        min-height: 620px;

        margin: 0;
        border-radius: 18px;

        overflow: hidden;
    }

    .auth-card > .row {
        display: block;
        height: auto;
        margin: 0;
    }

    /* Hide warehouse image on mobile */
    .art-panel {
        display: none !important;
    }

    /* Full width login container */
    .login-stage {
        position: relative;

        width: 100%;
        max-width: 100%;

        height: 650px;
        min-height: 650px;

        display: block;

        overflow: hidden;
        padding: 0 !important;
    }

    /*
       Both login divs stay inside the same full-width
       mobile container.
    */
    .login-step {
        width: 100%;
        height: 100%;

        display: flex;
        align-items: center;
        justify-content: center;

        position: absolute;
        top: 0;
        left: 0;
    }

    .form-panel {
        width: 100%;
        padding: 40px 28px;
    }

    .headline {
        font-size: 1.9rem;
        margin-bottom: 24px;
    }

    .glass-input {
        width: 100%;
        font-size: 15px;
    }

    .link-row {
        margin-bottom: 22px;
    }

    .social-btn {
        width: 38px;
        height: 38px;
        line-height: 38px;
    }

    .social-btn i {
        line-height: 38px;
    }

    .footer-row {
        font-size: 12px;
    }

    .footer-row > div {
        width: 100%;
        text-align: center !important;
        margin-bottom: 10px;
    }

    /*
       Login slide animation remains the same
    */
    #loginDiv_1 {
        transform: translateY(0);
        opacity: 1;
        z-index: 2;
    }

    #loginDiv_2 {
        transform: translateY(100%);
        opacity: 0;
        z-index: 1;
    }

    .auth-card.step-2 #loginDiv_1 {
        transform: translateY(-100%);
        opacity: 0;
    }

    .auth-card.step-2 #loginDiv_2 {
        transform: translateY(0);
        opacity: 1;
        z-index: 2;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

    .page {
        padding: 10px;
    }

    .auth-card {
        border-radius: 16px;
    }

    .login-stage {
        height: 680px;
        min-height: 680px;
    }

    .form-panel {
        padding: 32px 20px;
    }

    .headline {
        font-size: 1.7rem;
        margin-bottom: 20px;
    }

    .footer-contact {
        font-size: 11px;
    }
}
