/*
 * netivi.bz pages other than the landing: the page bodies' st-* classes, drawn with the original storefront's tokens
 * and components (netivi.css + account.css load first). Cards match .nv-card, inputs .nv-input, notices .nv-note.
 */
.st-narrow { width: min(640px, 100%); margin: 0 auto; }

.st-card {
    background: var(--nv-raised); border: 1px solid var(--nv-line); border-radius: var(--nv-radius);
    padding: 28px; margin-bottom: 20px; position: relative;
}
.st-card:first-of-type::before {
    content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
    border-radius: var(--nv-radius) var(--nv-radius) 0 0;
    background: linear-gradient(90deg, var(--nv-blue-deep), var(--nv-cyan), var(--nv-red));
}
.st-card h1 { font-size: 1.6rem; color: var(--nv-text); margin: 0 0 10px; line-height: 1.2; }
.st-card h2 { font-size: 1.25rem; color: var(--nv-text); margin: 0 0 12px; }
.st-card p { color: var(--nv-body); }
.st-muted, .st-hint { color: var(--nv-muted); }
.st-hint { font-size: .86rem; margin-top: 6px; }
.st-err { color: #FF8A9B; font-size: .88rem; margin-top: 6px; }

.st-form label { display: block; font-size: .89rem; font-weight: 600; color: var(--nv-body); margin: 16px 0 6px; letter-spacing: .01em; }
.st-form input[type=text], .st-form input[type=tel], .st-form input[type=number], .st-form select, .st-form textarea {
    width: 100%; padding: 12px 14px; background: var(--nv-raised); color: var(--nv-text);
    border: 1px solid var(--nv-line-2); border-radius: var(--nv-radius-sm); font-size: 1rem; font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.st-form input::placeholder, .st-form textarea::placeholder { color: var(--nv-muted); }
.st-form input:focus, .st-form select:focus, .st-form textarea:focus {
    outline: none; border-color: var(--nv-blue); box-shadow: 0 0 0 3px rgba(42, 143, 232, .22);
}
.st-form .st-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.st-form .st-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--nv-blue); }

.st-flash {
    padding: 15px 17px; border-radius: var(--nv-radius-sm); font-size: .98rem; border: 1px solid; margin-bottom: 20px;
    background: rgba(0, 176, 240, .08); border-color: rgba(0, 176, 240, .30); color: #B8E9FB;
}
.st-flash.ok { background: rgba(37, 211, 102, .08); border-color: rgba(37, 211, 102, .30); color: #B9F0D0; }
.st-flash.bad { background: rgba(255, 0, 36, .08); border-color: rgba(255, 58, 85, .35); color: #FFC3CC; }

.st-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.st-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; align-items: center; }
.st-actions .nv-btn, .st-actions button { cursor: pointer; }

.st-field {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; align-items: center;
    background: var(--nv-surface); border: 1px solid var(--nv-line); border-radius: var(--nv-radius-sm);
    padding: 12px 14px; margin: 8px 0;
}
.st-field span { color: var(--nv-muted); font-size: .92rem; }
.st-field b { color: var(--nv-text); font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; text-align: right; margin-left: auto; }
.st-ref { font: 700 1.35rem/1.2 ui-monospace, Consolas, monospace; color: var(--nv-text); letter-spacing: .06em; }

.st-bank { border-top: 1px solid var(--nv-line); padding-top: 18px; margin-top: 18px; }
.st-bank-logo { border-radius: 8px; background: var(--nv-text); object-fit: contain; padding: 3px; }
.st-bank h3 { font-size: 1.08rem; color: var(--nv-text); margin: 0 0 8px; }
.st-bank ol { color: var(--nv-body); padding-left: 20px; margin: 8px 0; }
.st-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: .9rem; }
.st-links a { color: var(--nv-cyan); text-decoration: underline; }

.st-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.st-table th, .st-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--nv-line); color: var(--nv-body); }
.st-table th { color: var(--nv-muted); font-weight: 600; }

@media (max-width: 620px) {
    .st-card { padding: 20px; }
}

/* Pay page bank watcher (restored from the old netivi.bz page): countdown ring + pulse. */
.st-watch { margin-top: 18px; padding: 18px; border: 1px solid var(--nv-line); border-radius: var(--nv-radius); background: var(--nv-raised); text-align: center; }
.st-watch h2 { margin-top: 0; }
.st-watch .nv-btn { margin-top: 12px; }
.st-dial { position: relative; width: 104px; height: 104px; margin: 0 auto 12px; }
.st-dial svg { transform: rotate(-90deg); }
.st-dial-bg { fill: var(--nv-surface); }
.st-dial-track { stroke: var(--nv-line-2); }
.st-dial-arc { stroke: var(--nv-cyan); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.st-dial b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.3rem; color: var(--nv-text); font-variant-numeric: tabular-nums; }
.st-watch-head { margin: 0; font-weight: 600; color: var(--nv-text); }
.st-pulse { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--nv-cyan); animation: st-pulse 1.6s ease-in-out infinite; vertical-align: middle; }
@keyframes st-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .st-pulse { animation: none; } .st-dial-arc { transition: none; } }

/* Pay page: the bank this customer used last, and the payment-screenshot fallback (owner 2026-11-04). */
.st-lastbank { margin-left: 10px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    padding: 3px 9px; border-radius: 999px; background: rgba(42, 143, 232, .16); color: var(--nv-blue-lift); }
.st-proof { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--nv-line); }
.st-proof-form input[type=file] { width: 100%; padding: 10px; border: 1px dashed var(--nv-line-2); border-radius: var(--nv-radius-sm);
    background: var(--nv-surface); color: var(--nv-body); }
