.auth-body {
    background:
        radial-gradient(circle at top left, rgba(220, 38, 38, .10), transparent 34%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 52%, #f3f4f6 100%);
}

.auth-section {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
    padding: 42px 0 64px;
}

.auth-shell {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 24px;
    align-items: stretch;
}

.auth-info {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 18px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(220, 38, 38, .28), transparent 36%),
        linear-gradient(135deg, #111827, #1f2937);
    color: #ffffff;
    box-shadow: 0 22px 60px rgba(15, 23, 42, .16);
    padding: 34px;
}

.auth-brand {
    display: inline-flex;
    width: fit-content;
    min-height: 36px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
    letter-spacing: .04em;
    padding: 0 14px;
    text-transform: uppercase;
}

.auth-info h1 {
    max-width: 680px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 950;
    line-height: 1.04;
    letter-spacing: -.05em;
}

.auth-info p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
}

.auth-note-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.auth-note {
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    padding: 16px;
}

.auth-note strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
}

.auth-note span {
    display: block;
    color: rgba(255, 255, 255, .74);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
}

.auth-card {
    align-self: center;
    min-width: 0;
    border: 1px solid rgba(209, 213, 219, .8);
    border-radius: 28px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
    padding: 34px;
}

.auth-card-head {
    margin-bottom: 24px;
}

.auth-eyebrow,
.auth-card-head span {
    color: #dc2626;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-card-head h2 {
    margin: 10px 0 10px;
    color: #111827;
    font-size: 30px;
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -.035em;
}

.auth-card-head p {
    margin: 0;
    color: #6b7280;
    font-weight: 700;
    line-height: 1.6;
}

.auth-message {
    margin: 0 0 18px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5;
    padding: 13px 15px;
}

.auth-message-success {
    border: 1px solid #bbf7d0;
    background: #ecfdf5;
    color: #166534;
}

.auth-message-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.auth-form {
    display: grid;
    gap: 16px;
}

.auth-form .form-field {
    display: grid;
    gap: 8px;
}

.auth-form label {
    color: #374151;
    font-size: 14px;
    font-weight: 850;
}

.auth-form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    background: #ffffff;
    color: #111827;
    padding: 0 14px;
    outline: none;
}

.auth-form input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, .10);
}

.auth-form small {
    color: #991b1b;
    font-size: 13px;
    font-weight: 800;
}

.auth-button {
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    box-shadow: 0 14px 30px rgba(220, 38, 38, .25);
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 950;
    padding: 14px 18px;
}

.auth-button:hover {
    box-shadow: 0 18px 38px rgba(220, 38, 38, .32);
    filter: saturate(1.08);
    transform: translateY(-1px);
}

.auth-switch {
    margin: 20px 0 0;
    color: #6b7280;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.auth-switch a {
    color: #dc2626;
    font-weight: 950;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

@media (max-width: 920px) {
    .auth-section {
        width: min(100% - 28px, var(--container));
        padding: 28px 0 46px;
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-info,
    .auth-card {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .auth-section {
        width: min(100% - 22px, var(--container));
    }

    .auth-info,
    .auth-card {
        border-radius: 22px;
        padding: 22px;
    }

    .auth-note-grid {
        grid-template-columns: 1fr;
    }

    .auth-card-head h2 {
        font-size: 25px;
    }
}


/* account-profile-start */
.account-page {
    width: min(1180px, calc(100% - 32px));
    margin: 36px auto 56px;
    display: grid;
    gap: 20px;
}

.account-hero,
.account-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
    padding: 22px;
}

.account-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.account-hero span,
.account-card-head span {
    color: #b91c1c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.account-hero h1,
.account-card h2 {
    margin: 6px 0 0;
    color: #0f172a;
    line-height: 1.25;
}

.account-hero p,
.account-muted,
.account-action span {
    margin: 10px 0 0;
    color: #64748b;
    line-height: 1.55;
}

.account-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.account-card {
    display: grid;
    align-content: start;
    gap: 14px;
}

.account-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.account-list > div {
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.account-list > div:last-child {
    border-bottom: 0;
}

.account-list dt {
    color: #64748b;
    font-weight: 800;
}

.account-list dd {
    margin: 0;
    color: #0f172a;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.account-actions {
    display: grid;
    gap: 10px;
}

.account-action {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid #fee2e2;
    border-radius: 14px;
    background: #fff7f7;
    text-decoration: none;
}

.account-action strong {
    color: #991b1b;
}

.account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: #b91c1c;
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.account-btn-light {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e5e7eb;
}

.account-track-form {
    display: grid;
    gap: 10px;
}

.account-track-form label {
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.account-track-form > div {
    display: flex;
    gap: 10px;
}

.account-track-form input {
    min-width: 0;
    flex: 1;
    min-height: 42px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 12px;
}

@media (max-width: 820px) {
    .account-hero,
    .account-summary-grid {
        grid-template-columns: 1fr;
    }

    .account-hero {
        display: grid;
    }

    .account-hero-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 620px) {
    .account-list > div,
    .account-track-form > div {
        grid-template-columns: 1fr;
        display: grid;
        gap: 6px;
    }

    .account-btn,
    .account-btn-light {
        width: 100%;
    }
}
/* account-profile-end */

.account-mini-list {
    display: grid;
    gap: 10px;
}

.account-mini-item {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
}

.account-mini-item strong {
    color: #0f172a;
    overflow-wrap: anywhere;
}

.account-mini-item span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

/* account-shell-start */
.account-shell {
    width: min(100% - 32px, var(--container));
    margin: 32px auto 56px;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.account-sidebar {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
    padding: 18px;
}

.account-sidebar-brand {
    display: grid;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.account-sidebar-brand strong {
    color: #0f172a;
    font-size: 18px;
}

.account-sidebar-brand span {
    color: #64748b;
    font-size: 13px;
}

.account-sidebar-nav {
    display: grid;
    gap: 8px;
}

.account-sidebar-nav a,
.account-sidebar-footer a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    color: #334155;
    font-weight: 800;
    text-decoration: none;
}

.account-sidebar-nav a:hover,
.account-sidebar-nav a.is-active {
    background: #fff7f7;
    color: #991b1b;
}

.account-sidebar-footer {
    display: grid;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}

.account-content {
    min-width: 0;
}

.account-shell .account-page {
    width: 100%;
    margin: 0;
}

.account-form {
    display: grid;
    gap: 16px;
}

.account-form label {
    display: block;
    margin: 12px 0 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.account-form input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 12px;
}

.account-form small {
    display: block;
    margin-top: 6px;
    color: #b91c1c;
}

@media (max-width: 900px) {
    .account-shell {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .account-sidebar-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .account-sidebar-nav {
        grid-template-columns: 1fr;
    }
}
/* account-shell-end */

/* account-dashboard-layout-start */
.account-hero-with-store {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: stretch;
}

.account-hero-main {
    min-width: 0;
}

.account-hero-main .account-hero-actions {
    margin-top: 16px;
}

.account-seller-box {
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 18px;
    border-radius: 18px;
    background: #fff7f7;
    border: 1px solid #fee2e2;
}

.account-seller-box span {
    color: #b91c1c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.account-seller-box h2 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.25;
}

.account-seller-box p {
    margin: 0;
    color: #64748b;
    line-height: 1.55;
}

.account-card[id] {
    scroll-margin-top: 24px;
}

@media (max-width: 980px) {
    .account-hero-with-store {
        grid-template-columns: 1fr;
    }
}
/* account-dashboard-layout-end */

