/* VERIGOLD login — compact split-screen (approved design) */
body.vg-login-page {
    min-height: 100vh;
    overflow-x: hidden;
}

body.vg-login-page .vg-ai-chat {
    display: none !important;
}

.vg-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 227, 146, 0.28), transparent 30%),
        radial-gradient(circle at 82% 86%, rgba(212, 175, 55, 0.2), transparent 28%),
        linear-gradient(180deg, #faf7f0 0%, #f0e6d4 100%);
}

.vg-login__frame {
    width: 100%;
    max-width: 792px;
    display: grid;
    grid-template-columns: 424px 368px;
    align-items: stretch;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.22);
    box-shadow: 0 20px 50px rgba(68, 48, 13, 0.12);
}

.vg-login__showcase {
    position: relative;
    padding: 1.75rem 1.5rem 1.5rem;
    color: #fff;
    background: linear-gradient(145deg, #0c0a07 0%, #3d2d0e 48%, #8f6a12 78%, #d4af37 100%);
    overflow: hidden;
}

.vg-login__showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 92%, rgba(255, 233, 168, 0.28) 0%, transparent 46%),
        linear-gradient(160deg, rgba(255,255,255,0.04), transparent 38%);
    pointer-events: none;
}

.vg-login__showcase-inner {
    position: relative;
    z-index: 1;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.vg-login__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    align-self: flex-start;
    padding: .4rem .75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.24);
    color: rgba(255, 245, 220, 0.95);
    font-family: "Inter", sans-serif;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.vg-login__badge i {
    color: #e8c96a;
    font-size: .68rem;
}

.vg-login__showcase-copy {
    margin-top: 1.1rem;
    margin-bottom: 1.25rem;
}

.vg-login__showcase-title {
    margin: 0 0 .65rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.72rem;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: .015em;
    max-width: 17.5rem;
    color: #f8f2e6;
}

.vg-login__showcase-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-family: "Inter", sans-serif;
    font-size: .8rem;
    line-height: 1.62;
    max-width: 19rem;
    font-weight: 400;
}

.vg-login__brand-grid {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.14);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}

.vg-login__brand-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    padding: .5rem .6rem;
    border-radius: .65rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.16);
}

.vg-login__brand-item--wide {
    grid-column: 1 / -1;
}

.vg-login__brand-mark {
    width: 32px;
    height: 32px;
    border-radius: .5rem;
    display: grid;
    place-items: center;
    font-family: "Inter", sans-serif;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .03em;
    color: #5c4208;
    background: linear-gradient(135deg, #f6e7ab, #d4af37);
    border: 1px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.vg-login__brand-name {
    font-family: "Inter", sans-serif;
    font-size: .76rem;
    font-weight: 600;
    color: rgba(255, 248, 230, 0.92);
    line-height: 1.25;
}

.vg-login__form-area {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 0.75rem;
    background: #fff;
}

.vg-login__form-card {
    width: 100%;
    max-width: 310px;
}

.vg-login__brand {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: .85rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.vg-login__brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.vg-login__brand h1 {
    margin: 0 0 .15rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: .07em;
    color: #2d2230;
    font-weight: 700;
}

.vg-login__brand p {
    margin: 0;
    font-size: .78rem;
    color: #776b63;
    font-weight: 500;
    letter-spacing: .02em;
}

.vg-login__brands-text {
    margin: 0;
    font-size: .65rem;
    line-height: 1.55;
    color: #8f8170;
    font-weight: 500;
}

.vg-login__signin-block {
    margin-top: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.vg-login__heading-wrap {
    margin: 0 0 1rem;
}

.vg-login__heading {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #24190b;
    letter-spacing: .01em;
    line-height: 1.2;
}

.vg-login__field {
    margin-bottom: .85rem;
}

body.vg-login-page .vg-login__field-label,
body.vg-login-page .vg-login__field .form-label {
    display: block !important;
    position: static !important;
    margin: 0 0 .35rem !important;
    padding: 0 !important;
    font-size: .74rem !important;
    font-weight: 600 !important;
    color: #8f6a12 !important;
    letter-spacing: .02em;
    line-height: 1.3 !important;
}

.vg-login__input {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .58rem .75rem;
    border: 1px solid #e8dcc6;
    border-radius: .7rem;
    background: linear-gradient(180deg, #fff 0%, #fffaf3 100%);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.vg-login__input:focus-within {
    border-color: rgba(212, 175, 55, 0.62);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.vg-login__input i {
    width: 28px;
    height: 28px;
    border-radius: .5rem;
    display: grid;
    place-items: center;
    color: #8f6a12;
    font-size: .88rem;
    background: rgba(212, 175, 55, 0.1);
    flex-shrink: 0;
}

.vg-login__input input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: .86rem;
    color: #24190b;
}

.vg-login__input input::placeholder {
    color: #b5a48a;
}

.vg-login__remember {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: .15rem 0 .95rem;
    font-size: .78rem;
    color: #6f6258;
    cursor: pointer;
}

.vg-login__remember input {
    margin: 0;
    accent-color: #b8942f;
}

.vg-login__submit {
    width: 100%;
    border: 0;
    border-radius: .75rem;
    padding: .62rem 1rem;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
    background: linear-gradient(135deg, #7a5a0f 0%, #b8942f 38%, #d4af37 62%, #f0dfa0 100%);
    box-shadow: 0 10px 22px rgba(143, 106, 18, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform .18s ease, box-shadow .18s ease;
}

.vg-login__submit:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(143, 106, 18, 0.28);
}

.vg-login__foot {
    margin-top: .95rem;
    padding-top: .85rem;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    text-align: center;
    font-size: .76rem;
    color: #8f8478;
}

.vg-login__foot a {
    color: #8f6a12;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.vg-login__alert {
    margin-bottom: .75rem;
    padding: .55rem .75rem;
    border-radius: .65rem;
    font-size: .76rem;
}

.vg-login__validation {
    font-size: .72rem;
    margin-top: .25rem;
}

@media (max-width: 991.98px) {
    .vg-login__frame {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .vg-login__showcase {
        display: none;
    }

    .vg-login__form-area {
        padding: 1.5rem 1.25rem 1.35rem;
    }
}
