.account-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(30rem, .95fr);
    overflow: hidden;
    background: #f8fafb;
}

.account-shell-loading { display: flex; align-items: center; justify-content: center; }

.account-hero-panel {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 12%, rgba(249, 152, 35, .30), transparent 18rem),
        radial-gradient(circle at 86% 90%, rgba(23, 78, 51, .24), transparent 22rem),
        linear-gradient(145deg, #fff8ec 0%, #fbe5c7 52%, #f4c581 100%);
}

.account-hero-panel::after {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(23, 38, 59, .10) 1px, transparent 1px);
    background-size: 22px 22px;
    content: "";
    opacity: .45;
}

.account-hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, 48rem);
    margin: auto;
    padding: clamp(2rem, 6vw, 5.5rem);
}

.account-hero-logo {
    width: clamp(10rem, 19vw, 15rem);
    aspect-ratio: 1;
    display: block;
    margin-bottom: clamp(1.5rem, 5vh, 3rem);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 1.5rem 3rem rgba(23, 38, 59, .20);
}

.account-hero-copy > span {
    display: block;
    margin-bottom: .45rem;
    color: var(--jar-orange-dark);
    font-size: .82rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.account-hero-copy h1 {
    margin: 0;
    color: var(--jar-navy);
    font-size: clamp(2.35rem, 5vw, 4.75rem);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -.04em;
}

.account-hero-copy p {
    max-width: 34rem;
    margin: 1.25rem 0 0;
    color: #596576;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    line-height: 1.65;
}

.account-feature-list { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; margin-top: 2rem; }
.account-feature-list span { display: inline-flex; align-items: center; gap: .4rem; color: #284635; font-size: .9rem; font-weight: 750; }
.account-feature-list i { color: #1c7043; }

.account-hero-decoration { position: absolute; z-index: 1; border: 2px solid rgba(255, 255, 255, .65); border-radius: 50%; }
.account-hero-decoration-one { width: 24rem; height: 24rem; right: -8rem; top: -8rem; }
.account-hero-decoration-two { width: 17rem; height: 17rem; left: -6rem; bottom: -5rem; }

.account-form-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.25rem, 4vw, 3rem);
    background:
        radial-gradient(circle at 100% 0%, rgba(249, 152, 35, .10), transparent 25rem),
        linear-gradient(180deg, #fbfcfd, #f5f7f9);
    overflow-y: auto;
}

.account-form-wrap { width: min(100%, 36rem); display: flex; flex-direction: column; gap: 1.5rem; }
.account-shell-manage { grid-template-columns: minmax(20rem, .62fr) minmax(42rem, 1.38fr); }
.account-shell-manage .account-form-wrap { width: min(100%, 64rem); }
.account-shell-manage .account-hero-logo { width: clamp(8rem, 14vw, 12rem); }
.account-shell-manage .account-hero-copy h1 { font-size: clamp(2rem, 3.4vw, 3.6rem); }

.account-form-logo { display: none; width: 9rem; aspect-ratio: 1; align-self: center; border-radius: 50%; object-fit: cover; box-shadow: 0 .75rem 2rem rgba(23, 38, 59, .16); }
.account-form-card { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid #f0e0cc; border-radius: 1.25rem; background: rgba(255, 255, 255, .96); box-shadow: 0 1.5rem 4rem rgba(23, 38, 59, .12); backdrop-filter: blur(10px); }
.account-form-card > .row { margin-inline: 0; }
.account-form-card > .row > [class*="col-"] { width: 100%; padding-inline: 0; }

.account-card-header { margin-bottom: 1.5rem; }
.account-card-header h1 { margin: 0; color: var(--jar-navy); font-size: clamp(1.8rem, 2.3vw, 2.35rem); font-weight: 900; }
.account-card-header p { margin: .55rem 0 0; color: #7a8492; }
.account-lock-icon { width: 5rem; height: 5rem; display: grid; place-items: center; margin: 0 auto 1rem; border: 1px solid #f7cf9f; border-radius: 50%; background: #fff1df; color: var(--jar-orange-dark); font-size: 2rem; box-shadow: inset 0 -1rem 1.75rem rgba(249, 152, 35, .07); }

.account-input-group { min-height: 3.45rem; align-items: center; overflow: hidden; border: 1px solid #d7dde5; border-radius: .65rem; background: #fff; transition: border-color .2s, box-shadow .2s; }
.account-input-group:focus-within { border-color: var(--jar-orange); box-shadow: 0 0 0 .2rem rgba(249, 152, 35, .14); }
.account-input-group .input-group-text, .account-input-group .form-control, .account-input-group .btn { border: 0; background: transparent; }
.account-input-group .input-group-text { width: 3.2rem; justify-content: center; color: var(--jar-orange-dark); font-size: 1.2rem; }
.account-input-group .form-control { min-height: 3.35rem; padding-left: .15rem; padding-right: 3rem; }
.account-input-group .form-control:focus { box-shadow: none; }
.account-password-toggle { position: absolute; right: .2rem; top: 0; bottom: 0; z-index: 5; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; padding: 0; margin-block: auto; line-height: 1; transform: none; color: #77808d; text-decoration: none; }
.account-password-toggle i { display: block; line-height: 1; }
.account-password-toggle:hover { color: var(--jar-orange-dark); }
.account-check .form-check-input { width: 1.15rem; height: 1.15rem; margin-top: .16rem; }
.account-forgot-link, .account-back-link { color: var(--jar-orange-dark); font-weight: 750; text-decoration: none; }
.account-forgot-link:hover, .account-back-link:hover { color: #b85f04; text-decoration: underline; }
.account-submit { min-height: 3.5rem; display: flex; align-items: center; justify-content: center; gap: .8rem; border-radius: .65rem; font-size: 1.05rem; box-shadow: 0 .75rem 1.5rem rgba(219, 116, 16, .22); }

.account-footer { display: flex; justify-content: center; gap: 1rem; color: #7c8490; font-size: .8rem; text-align: center; }
.account-footer span { display: inline-flex; align-items: center; gap: .35rem; }
.account-footer span + span { padding-left: 1rem; border-left: 1px solid #c7ccd3; }

.account-manage-header { margin-bottom: 1.25rem; }
.account-manage-header h1 { margin: .8rem 0 .2rem; color: var(--jar-navy); font-size: 1.8rem; font-weight: 900; }
.account-manage-header p { margin: 0; color: #747f8e; }
.account-back-link { display: inline-flex; align-items: center; gap: .4rem; }
.account-manage-card { padding: 1.25rem; border: 1px solid #eadbc9; border-radius: .85rem; background: #fffaf4; }
.account-manage-card .nav-pills { gap: .3rem; }
.account-manage-card .nav-link { min-height: 0; flex-direction: row; justify-content: flex-start; padding: .7rem .85rem; font-size: .9rem; }
.account-manage-content h3 { color: var(--jar-navy); font-weight: 850; }
.account-result { padding-block: 1rem; }
.account-result-icon { display: block; margin-bottom: .75rem; font-size: 4.5rem; }
.account-result h1 { color: var(--jar-navy); font-weight: 900; }
.account-result p { color: #717b88; }

@media (max-width: 991.98px) {
    .account-shell, .account-shell-manage { display: flex; flex-direction: column; min-height: 100vh; overflow: visible; }
    .account-hero-panel { display: none; }
    .account-form-panel { min-height: 100vh; padding: 1.25rem; }
    .account-form-wrap, .account-shell-manage .account-form-wrap { width: min(100%, 48rem); }
    .account-form-logo { display: block; }
}

@media (max-width: 575.98px) {
    .account-form-panel { padding: 1rem; }
    .account-form-wrap { gap: 1rem; }
    .account-form-card { padding: 1.25rem; border-radius: .9rem; }
    .account-footer { flex-direction: column; gap: .35rem; }
    .account-footer span { justify-content: center; }
    .account-footer span + span { padding-left: 0; border-left: 0; }
}
