/* ============================================================
   Montaris Bullion Vault — Vault Tracker v2.0
   Brand: #00358d (blue) + #0a0a0a (black)
   ============================================================ */

.mvt-tracker-wrap *,
.mvt-tracker-wrap *::before,
.mvt-tracker-wrap *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.mvt-tracker-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    color: #111;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ── Steps ─────────────────────────────────────── */
.mvt-step {
    background: #fff;
    border: 1px solid #dde3ee;
    border-radius: 2px;
}

/* ── Input row ─────────────────────────────────── */
.mvt-input-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 24px 28px 20px;
}

.mvt-field-group {
    flex: 1;
    min-width: 0;
}

.mvt-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 7px;
}

.mvt-field-group input[type="text"],
.mvt-field-group input[type="password"] {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    font-size: 14px;
    font-family: inherit;
    color: #111;
    background: #fff;
    border: 1.5px solid #c8d2e6;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.15s;
    -webkit-appearance: none;
    appearance: none;
}

.mvt-field-group input:focus {
    border-color: #00358d;
    box-shadow: 0 0 0 3px rgba(0, 53, 141, 0.07);
}

.mvt-field-group input::placeholder {
    color: #b0b8cc;
    font-size: 13px;
}

/* ── Buttons ────────────────────────────────────── */
#mvt-track-btn,
#mvt-verify-btn {
    flex-shrink: 0;
    height: 46px;
    padding: 0 24px;
    background: #00358d;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s, opacity 0.15s;
}

#mvt-track-btn:hover,
#mvt-verify-btn:hover {
    background: #002570;
}

#mvt-track-btn:disabled,
#mvt-verify-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ── Hint ─────────────────────────────────────── */
.mvt-hint {
    padding: 0 28px 20px;
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

/* ── Spinner ──────────────────────────────────── */
.mvt-spinner {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255,255,255,0.25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mvt-spin 0.65s linear infinite;
    flex-shrink: 0;
}

@keyframes mvt-spin {
    to { transform: rotate(360deg); }
}

/* ── Security notice (Step 2 top) ─────────────── */
.mvt-security-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 28px;
    background: #eef2fb;
    border-bottom: 1px solid #c8d2e6;
}

.mvt-lock-icon {
    width: 20px;
    height: 20px;
    color: #00358d;
    flex-shrink: 0;
    margin-top: 1px;
}

.mvt-security-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #00358d;
    margin-bottom: 3px;
}

.mvt-security-sub {
    font-size: 13px;
    color: #334;
    line-height: 1.5;
}

.mvt-security-sub strong {
    color: #00358d;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* ── Back link ────────────────────────────────── */
.mvt-back-link {
    display: inline-block;
    padding: 0 28px 18px;
    font-size: 12px;
    color: #00358d;
    text-decoration: none;
}

.mvt-back-link:hover {
    text-decoration: underline;
}

/* ── Inline errors ────────────────────────────── */
.mvt-inline-error {
    margin: 0 28px 18px;
    padding: 11px 14px;
    background: #fff5f5;
    border-left: 3px solid #cc2222;
    font-size: 13px;
    color: #991111;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   RESULT PANEL
   ═══════════════════════════════════════════════ */
.mvt-result {
    background: #fff;
    border: 1px solid #dde3ee;
    border-radius: 2px;
    margin-top: 18px;
    overflow: hidden;
}

/* Top bar */
.mvt-result-topbar {
    background: #0a0a0a;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.mvt-result-ref {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7a8aaa;
    margin-bottom: 3px;
}

.mvt-result-name {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.01em;
}

/* Status badges */
.mvt-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.mvt-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.75;
}

.mvt-badge-active     { background: #d1fae5; color: #065f46; }
.mvt-badge-pending    { background: #fef3c7; color: #92400e; }
.mvt-badge-in_transit { background: #dbeafe; color: #1e3a8a; }
.mvt-badge-released   { background: #f3f4f6; color: #374151; }
.mvt-badge-suspended  { background: #fee2e2; color: #991b1b; }

/* Result body */
.mvt-result-body {
    padding: 24px 28px;
}

/* Section headings */
.mvt-section-heading {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00358d;
    padding-bottom: 10px;
    border-bottom: 1px solid #dde3ee;
    margin-bottom: 14px;
}

/* Data grid */
.mvt-data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #dde3ee;
    border: 1px solid #dde3ee;
    margin-bottom: 22px;
}

.mvt-data-cell {
    background: #fff;
    padding: 14px 16px;
}

.mvt-data-cell-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px;
}

.mvt-data-cell-value {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    word-break: break-word;
}

.mvt-data-cell-value.is-mono {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #00358d;
    letter-spacing: 0.03em;
}

/* Result footer */
.mvt-result-footer {
    background: #f7f9fc;
    border-top: 1px solid #dde3ee;
    padding: 12px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.mvt-footer-brand {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #00358d;
}

.mvt-footer-ts {
    font-size: 11px;
    color: #999;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 580px) {
    .mvt-input-row         { flex-direction: column; align-items: stretch; padding: 18px 18px 16px; }
    .mvt-hint              { padding: 0 18px 16px; }
    .mvt-back-link         { padding: 0 18px 14px; }
    .mvt-inline-error      { margin: 0 18px 14px; }
    .mvt-security-notice   { padding: 14px 18px; }
    .mvt-result-topbar     { padding: 16px 18px; }
    .mvt-result-body       { padding: 18px; }
    .mvt-result-footer     { padding: 10px 18px; }
    .mvt-data-grid         { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 380px) {
    .mvt-data-grid { grid-template-columns: 1fr; }
}

/* ── Documentation list ── */
.mvt-doc-list {
    border: 1px solid #dde3ee;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 22px;
}

.mvt-doc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #dde3ee;
    font-size: 13px;
}

.mvt-doc-row:last-child {
    border-bottom: none;
}

.mvt-doc-label {
    color: #555;
    font-weight: 500;
}

.mvt-doc-value {
    font-weight: 600;
    color: #065f46;
}

/* Result sub-line */
.mvt-result-sub {
    font-size: 12px;
    color: #7a8aaa;
    margin-top: 4px;
    letter-spacing: 0.02em;
}
