/* =====================================================================
   GENZLO - public store application page (become a seller)
   ===================================================================== */

.sell-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 26px;
    align-items: start;
}

/* ---------- marketing column ---------- */
.sell-marketing {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.sell-intro h1 {
    font-size: 1.85rem;
    letter-spacing: -.02em;
    margin: 10px 0 8px;
}
.sell-intro p {
    color: var(--c-text-2);
    font-size: .92rem;
    margin: 0;
    max-width: 46ch;
}

.benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.benefit {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 14px 15px;
    box-shadow: var(--sh-sm);
}
.benefit svg { width: 20px; height: 20px; color: var(--c-brand); margin-bottom: 8px; }
.benefit h4 { font-size: .88rem; margin-bottom: 3px; }
.benefit p { font-size: .78rem; color: var(--c-muted); margin: 0; }

.sell-how .steps { padding: 2px 0; }

.steps {
    counter-reset: step;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.steps li {
    position: relative;
    padding-left: 44px;
    font-size: .85rem;
    color: var(--c-text-2);
    min-height: 32px;
}
.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--c-brand-soft);
    color: var(--c-brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: .85rem;
}
.steps li strong { display: block; color: var(--c-text); font-size: .88rem; }
.steps li span { font-size: .8rem; color: var(--c-muted); }

.market-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.market-stat {
    background: linear-gradient(135deg, #38343b, #2a272c);
    color: #fff;
    border-radius: var(--r-lg);
    padding: 16px 14px;
    text-align: center;
}
.market-stat strong { display: block; font-size: 1.35rem; letter-spacing: -.02em; }
.market-stat span {
    font-size: .7rem;
    color: #93a1b8;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ---------- form column ---------- */
.sell-form .card-head { position: sticky; top: var(--header-h); z-index: 3; background: var(--c-surface); }
.sell-form .card-body { padding: 18px; }

.fmt-section { padding: 4px 0 16px; border-bottom: 1px solid var(--c-border); margin-bottom: 18px; }
.fmt-section:last-of-type { border-bottom: 0; margin-bottom: 6px; padding-bottom: 0; }
.fmt-section > h3 { font-size: .96rem; margin-bottom: 12px; }
.fmt-section .form-grid { gap: 14px; }

/* ---------- seller agreement ---------- */
.agreement-actions { margin-bottom: 12px; }

.agreement-text {
    max-height: 320px;
    overflow: auto;
    margin: 0;
    padding: 14px 16px;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .74rem;
    line-height: 1.55;
    color: var(--c-text-2);
    white-space: pre-wrap;
    word-break: break-word;
}

/* ---------- success + disabled states ---------- */
.sell-success,
.sell-disabled { max-width: 680px; margin: 10px auto; }
.sell-success .card-body,
.sell-disabled .card-body {
    padding: 38px 30px;
    text-align: center;
}
.sell-success-ic,
.sell-disabled-ic {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.sell-success-ic { background: var(--c-success-soft); color: var(--c-success); }
.sell-disabled-ic { background: var(--c-warning-soft); color: var(--c-warning); }
.sell-success h1,
.sell-disabled h1 { font-size: 1.4rem; }
.sell-success > .card-body > p,
.sell-disabled > .card-body > p { color: var(--c-text-2); max-width: 52ch; margin: 0 auto 18px; }

.sell-ref {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    background: var(--c-bg-alt);
    border: 1px dashed var(--c-border-2);
    border-radius: var(--r-md);
    padding: 12px 22px;
    margin-bottom: 22px;
}
.sell-ref span { font-size: .72rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; }
.sell-ref strong { font-size: 1.15rem; color: var(--c-brand-dark); }

.sell-success .steps { text-align: left; max-width: 480px; margin: 0 auto; }
.sell-success .btn-group,
.sell-disabled .btn-group { justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
    .sell-grid { grid-template-columns: 1fr; gap: 20px; }
    .sell-intro h1 { font-size: 1.55rem; }
}
@media (max-width: 560px) {
    .benefits { grid-template-columns: 1fr; }
    .market-stats { grid-template-columns: 1fr 1fr; }
    .sell-success .card-body,
    .sell-disabled .card-body { padding: 28px 18px; }
}
