/* ============================================================
   NairaTrader Admin Checker — Styles v1.0.0
   ============================================================ */
#ntac-app {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 12px 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #111827;
}

.ntac-title-bar { text-align: center; margin-bottom: 24px; }
.ntac-main-title { font-size: 22px; font-weight: 700; margin: 0; color: #111827; }
.ntac-subtitle   { font-size: 13px; color: #6b7280; margin: 4px 0 0; }

/* Global message */
.ntac-global-msg {
    border-radius: 6px; padding: 11px 16px;
    margin-bottom: 16px; font-size: 14px; font-weight: 500;
}
.ntac-global-msg.err  { background:#fee2e2; color:#b91c1c; border:1px solid #fca5a5; }
.ntac-global-msg.ok   { background:#dcfce7; color:#166534; border:1px solid #86efac; }
.ntac-global-msg.info { background:#e0f2fe; color:#0369a1; border:1px solid #7dd3fc; }

/* Card */
.ntac-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px 20px;
}

/* Form */
.ntac-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.ntac-field label {
    font-size: 11px; font-weight: 600; color: #6b7280;
    text-transform: uppercase; letter-spacing: .5px;
}
.ntac-field input {
    border: 1px solid #d1d5db; border-radius: 7px;
    padding: 10px 12px; font-size: 14px;
    outline: none; width: 100%; box-sizing: border-box;
    transition: border-color .15s;
}
.ntac-field input:focus { border-color: #111827; }

/* Buttons */
.ntac-btn {
    border: none; border-radius: 7px; padding: 10px 18px;
    font-size: 13px; font-weight: 600; cursor: pointer;
    transition: background .15s, transform .1s; white-space: nowrap;
}
.ntac-btn:active { transform: scale(.97); }
.ntac-btn-primary  { background: #111827; color: #fff; width: 100%; }
.ntac-btn-primary:hover { background: #1f2937; }
.ntac-btn-primary:disabled { background: #9ca3af; cursor: not-allowed; }
.ntac-btn-ghost    { background: #f1f5f9; color: #475569; width: 100%; margin-top: 10px; }
.ntac-btn-ghost:hover { background: #e2e8f0; }

/* Spinner */
.ntac-spinner-wrap { text-align: center; padding: 32px 16px; }
.ntac-spinner {
    width: 36px; height: 36px; border-radius: 50%;
    border: 3px solid #e5e7eb; border-top-color: #111827;
    animation: ntac-spin .75s linear infinite; margin: 0 auto 14px;
}
@keyframes ntac-spin { to { transform: rotate(360deg); } }
.ntac-spinner-msg  { font-size: 14px; font-weight: 600; color: #111827; margin: 0 0 6px; }
.ntac-spinner-sub  { font-size: 12px; color: #9ca3af; margin: 0; }

/* Result */
.ntac-result { display: flex; flex-direction: column; gap: 12px; }

.ntac-verdict {
    text-align: center; padding: 12px; border-radius: 8px;
    font-weight: 700; font-size: 16px;
}
.ntac-verdict.passed { background: #dcfce7; color: #15803d; }
.ntac-verdict.failed { background: #fee2e2; color: #b91c1c; }

.ntac-account-num { text-align: center; font-size: 13px; color: #6b7280; font-weight: 600; letter-spacing: .5px; }

.ntac-gauge-wrap  { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ntac-gauge-label { font-size: 11px; color: #6b7280; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }

.ntac-stats-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ntac-stat        { background: #f8fafc; border-radius: 7px; padding: 10px 12px; }
.ntac-stat-full   { grid-column: 1 / -1; }
.ntac-stat .s-label { font-size: 10px; color: #9ca3af; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; display: block; margin-bottom: 3px; }
.ntac-stat .s-value { font-size: 14px; font-weight: 700; color: #111827; }

.ntac-rules { display: flex; flex-direction: column; gap: 6px; }
.ntac-rule-row {
    display: flex; justify-content: space-between; align-items: center;
    background: #f8fafc; border-radius: 6px; padding: 8px 12px; font-size: 13px;
}
.ntac-rule-row .r-label { color: #6b7280; }
.ntac-rule-row .r-val   { font-weight: 700; }
.ntac-rule-row .r-val.ok     { color: #16a34a; }
.ntac-rule-row .r-val.breach { color: #dc2626; }

.ntac-bar-wrap  { margin-top: 3px; }
.ntac-bar-track { height: 5px; background: #e5e7eb; border-radius: 3px; overflow: hidden; }
.ntac-bar-fill  { height: 100%; border-radius: 3px; transition: width .5s ease; }
.ntac-bar-fill.ok     { background: #16a34a; }
.ntac-bar-fill.breach { background: #dc2626; }

.ntac-reset-note {
    background: #fef9c3; border: 1px solid #fde047;
    border-radius: 6px; padding: 8px 12px;
    font-size: 12px; color: #854d0e;
}

.ntac-error-msg {
    font-size: 13px; color: #b91c1c;
    background: #fee2e2; border-radius: 6px;
    padding: 12px; line-height: 1.5;
}

@media (max-width: 480px) {
    .ntac-stats-grid { grid-template-columns: 1fr 1fr; }
}
