/* ============================================================
   StingTune Dashboard — Clean Professional Theme
   Inspired by TuneCore / Ditto Music design language
   Light, trustworthy, mobile-first. No glows, no gimmicks.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
    --st-primary: #4f46e5;          /* indigo */
    --st-primary-dark: #4338ca;
    --st-primary-soft: #eef2ff;     /* indigo-50 */
    --st-bg: #f1f5f9;               /* slate-100 page bg */
    --st-card: #ffffff;
    --st-sidebar: #0f172a;          /* slate-900 */
    --st-sidebar-hover: #1e293b;
    --st-text: #0f172a;             /* slate-900 */
    --st-text-2: #475569;           /* slate-600 */
    --st-text-3: #94a3b8;           /* slate-400 */
    --st-border: #e2e8f0;          /* slate-200 */
    --st-green: #16a34a;
    --st-green-soft: #dcfce7;
    --st-amber: #b45309;
    --st-amber-soft: #fef3c7;
    --st-red: #dc2626;
    --st-red-soft: #fee2e2;
    --st-radius: 12px;
    --st-radius-sm: 8px;
    --st-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    --st-shadow-lg: 0 4px 12px rgba(15, 23, 42, 0.10);
    --st-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--st-font);
    background: var(--st-bg);
    color: var(--st-text);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--st-primary); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; color: var(--st-text); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

/* ---------- Non-dashboard wrapper (auth pages) ---------- */
.st-site { min-height: 100vh; }

/* ============================================================
   AUTH (login / signup)
   ============================================================ */
.st-auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: var(--st-bg);
}
.st-auth-bg-orbs { display: none; } /* decorative orbs removed */

.st-auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    box-shadow: var(--st-shadow-lg);
    padding: 32px 28px;
}
.st-auth-card-xl { max-width: 480px; }

.st-logo { text-align: center; margin-bottom: 24px; }
.st-logo-ring { display: none; }
.st-logo h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--st-text);
    margin: 0 0 4px;
}
.st-tagline { font-size: 15px; font-weight: 600; color: var(--st-text-2); margin: 0 0 2px; }
.st-subtagline { font-size: 13px; color: var(--st-text-3); margin: 0; }

.st-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: var(--st-radius-sm);
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 20px;
}
.st-alert-error { background: var(--st-red-soft); color: var(--st-red); border: 1px solid #fecaca; }
.st-alert-icon { flex-shrink: 0; }

/* ---------- Forms ---------- */
.st-form-group { margin-bottom: 16px; }
.st-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--st-text-2);
    margin-bottom: 6px;
}
.st-input-wrap { position: relative; }
.st-input-wrap input,
.st-form-group input[type="text"],
.st-form-group input[type="email"],
.st-form-group input[type="password"],
.st-form-group input[type="number"],
.st-form-group input[type="tel"],
.st-form-group input[type="url"],
.st-form-group select,
.st-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--st-text);
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: var(--st-radius-sm);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.st-form-group-icon .st-input-wrap input { padding-left: 42px; }
.st-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--st-text-3);
    pointer-events: none;
}
.st-input-wrap input:focus,
.st-form-group input:focus,
.st-form-group select:focus,
.st-form-group textarea:focus {
    border-color: var(--st-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.st-pass-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 6px;
    color: var(--st-text-3);
}
.st-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 20px;
    font-size: 13px;
}
.st-checkbox { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--st-text-2); }
.st-checkbox input { width: 16px; height: 16px; accent-color: var(--st-primary); }
.st-link-muted { color: var(--st-text-3); text-decoration: none; font-size: 13px; }
.st-link-muted:hover { color: var(--st-primary); }
.st-form-note { font-size: 12px; color: var(--st-text-3); text-align: center; margin: 14px 0 0; }

.st-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: var(--st-text-3);
    font-size: 13px;
}
.st-auth-divider::before,
.st-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--st-border);
}
.st-auth-links { text-align: center; margin-top: 16px; font-size: 14px; }

.st-auth-trust {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--st-border);
    font-size: 12px;
    color: var(--st-text-3);
    flex-wrap: wrap;
}
.st-trust-item { display: inline-flex; align-items: center; gap: 6px; }

/* ============================================================
   BUTTONS — clean, solid, no glow
   (.st-btn-glow is the PRIMARY button class used in templates)
   ============================================================ */
.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.4;
    border-radius: var(--st-radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}
.st-btn-glow { /* primary — solid indigo, NO glow */
    background: var(--st-primary);
    color: #fff;
}
.st-btn-glow:hover { background: var(--st-primary-dark); color: #fff; text-decoration: none; }
.st-btn-outline {
    background: #fff;
    color: var(--st-primary);
    border-color: #c7d2fe;
}
.st-btn-outline:hover { border-color: var(--st-primary); color: var(--st-primary-dark); text-decoration: none; }
.st-btn-xl { padding: 14px 24px; font-size: 16px; }
.st-btn-arrow { font-size: 18px; }

/* ============================================================
   DASHBOARD SHELL — dark sidebar + light content
   ============================================================ */
.st-dashboard { display: flex; min-height: 100vh; }

/* ---------- Sidebar ---------- */
.st-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--st-sidebar);
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 1000;
}
.st-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 22px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.st-sidebar-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--st-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    color: #fff;
}
.st-sidebar-logo span {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 1.5px;
    color: #fff;
}
.st-sidebar nav {
    flex: 1;
    padding: 16px 12px;
    overflow-y: auto;
}
.st-nav { list-style: none; margin: 0; padding: 0; }
.st-nav li { margin-bottom: 2px; }
.st-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: var(--st-radius-sm);
    color: #94a3b8;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.st-nav a:hover { background: var(--st-sidebar-hover); color: #fff; text-decoration: none; }
.st-nav a.active { background: var(--st-primary); color: #fff; }
.st-nav .icon { font-size: 17px; width: 22px; text-align: center; flex-shrink: 0; }
.st-nav-bottom { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

.st-sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.st-sidebar-user-info { min-width: 0; }
.st-sidebar-user-name {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.st-sidebar-user-role { font-size: 12px; color: #64748b; }

/* ---------- Main content ---------- */
.st-main {
    flex: 1;
    min-width: 0;
    padding: 0 24px 48px;
}
.st-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    margin-bottom: 8px;
    position: sticky;
    top: 0;
    background: var(--st-bg);
    z-index: 100;
    border-bottom: 1px solid var(--st-border);
}
.st-topbar h1 { font-size: 20px; font-weight: 700; margin: 0; flex: 1; }
.st-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--st-radius-sm);
    background: #fff;
    border: 1px solid var(--st-border);
    color: var(--st-text);
    font-size: 18px;
    cursor: pointer;
}
.st-user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: 999px;
    padding: 6px 14px 6px 6px;
    font-size: 14px;
    font-weight: 600;
}
.st-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--st-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================================
   DASHBOARD HOME
   ============================================================ */
.st-dash-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin: 8px 0 24px;
}
.st-dash-hero .st-btn { width: auto; }
.st-greeting { font-size: 14px; color: var(--st-text-2); margin: 0 0 2px; }
.st-dash-hero-text h2 { font-size: 26px; font-weight: 800; margin: 0 0 4px; }
.st-hero-sub { color: var(--st-text-2); font-size: 14px; margin: 0; }

/* ---------- Stat cards ---------- */
.st-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.st-stat-card {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    box-shadow: var(--st-shadow);
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.st-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--st-primary-soft);
    color: var(--st-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.st-stat-card .label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--st-text-3);
    margin-bottom: 4px;
}
.st-stat-card .value {
    font-size: 26px;
    font-weight: 800;
    color: var(--st-text);
    letter-spacing: -0.02em;
}
.st-stat-card .value.green { color: var(--st-green); }
.st-stat-card .value.gold { color: var(--st-primary); }
.st-stat-card .value.orange { color: var(--st-amber); }
.st-stat-spark { display: none; }

/* ---------- Section headers ---------- */
.st-dash-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 16px;
}
.st-dash-section-head h2 { font-size: 18px; font-weight: 700; margin: 0; }
.st-link-gold { color: var(--st-primary); font-weight: 600; font-size: 14px; text-decoration: none; }
.st-link-gold:hover { color: var(--st-primary-dark); text-decoration: underline; }

/* ---------- Release cards ---------- */
.st-releases {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.st-release-card {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    box-shadow: var(--st-shadow);
    overflow: hidden;
    transition: box-shadow 0.15s, transform 0.15s;
}
.st-release-link { text-decoration: none; color: inherit; display: block; }
.st-release-link:hover { text-decoration: none; color: inherit; box-shadow: var(--st-shadow-lg); transform: translateY(-2px); }
.st-release-art {
    position: relative;
    aspect-ratio: 1;
    background: #e2e8f0;
    overflow: hidden;
}
.st-release-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-release-art .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: #94a3b8;
    background: #eef2f7;
}
.st-release-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s;
}
.st-release-card:hover .st-release-overlay { opacity: 1; }
.st-overlay-btn {
    background: #fff;
    color: var(--st-text);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 999px;
}
.st-release-body { padding: 14px 16px 16px; }
.st-release-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.st-release-link:hover .st-release-title { color: var(--st-primary); }
.st-release-meta { font-size: 13px; color: var(--st-text-3); margin-bottom: 10px; }
.st-release-isrc { font-size: 12px; color: var(--st-text-3); margin-bottom: 10px; }
.st-release-isrc code {
    background: #f1f5f9;
    border: 1px solid var(--st-border);
    color: var(--st-text-2);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Status badges — subtle pills ---------- */
.st-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    line-height: 1.5;
}
.st-status.approved { background: var(--st-green-soft); color: var(--st-green); }
.st-status.pending { background: var(--st-amber-soft); color: var(--st-amber); }
.st-status-floating {
    position: absolute;
    top: 10px;
    right: 10px;
    box-shadow: var(--st-shadow);
}

/* ---------- Page hero (my-releases, submit, royalty) ---------- */
.st-page-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 8px 0 20px;
}
.st-page-hero .st-btn { width: auto; }
.st-page-hero h2 { font-size: 24px; font-weight: 800; margin: 0 0 4px; }

/* ---------- Filter tabs ---------- */
.st-filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.st-filter-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--st-border);
    color: var(--st-text-2);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
}
.st-filter-tabs a:hover { border-color: var(--st-primary); color: var(--st-primary); }
.st-filter-tabs a.active { background: var(--st-text); border-color: var(--st-text); color: #fff; }
.st-tab-count {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    padding: 1px 9px;
    font-size: 12px;
}
.st-filter-tabs a.active .st-tab-count { background: rgba(255, 255, 255, 0.2); }

/* ---------- Empty state ---------- */
.st-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    background: var(--st-card);
    border: 1px dashed #cbd5e1;
    border-radius: var(--st-radius);
    padding: 56px 24px;
}
.st-empty-icon { font-size: 48px; margin-bottom: 12px; }
.st-empty-state h3 { font-size: 18px; margin: 0 0 8px; }
.st-empty-state p { color: var(--st-text-2); font-size: 14px; margin: 0 0 20px; }
.st-empty-state .st-btn { width: auto; }

/* ---------- Quick actions ---------- */
.st-quick-actions { margin-top: 32px; }
.st-quick-actions h2 { font-size: 18px; margin-bottom: 14px; }
.st-qa-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.st-qa-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    box-shadow: var(--st-shadow);
    padding: 16px;
    text-decoration: none;
    color: var(--st-text);
    font-weight: 600;
    font-size: 14px;
    transition: box-shadow 0.15s, transform 0.15s;
}
.st-qa-card:hover { box-shadow: var(--st-shadow-lg); transform: translateY(-2px); text-decoration: none; color: var(--st-text); }
.st-qa-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--st-primary-soft);
    color: var(--st-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

/* ============================================================
   RELEASE DETAIL
   ============================================================ */
.st-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--st-text-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin: 8px 0 16px;
}
.st-back-link:hover { color: var(--st-primary); }
.st-release-detail {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    box-shadow: var(--st-shadow);
    padding: 32px;
}
.st-release-detail-art {
    position: relative;
    border-radius: var(--st-radius);
    overflow: hidden;
    aspect-ratio: 1;
    background: #eef2f7;
}
.st-release-detail-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-release-detail-art .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 96px;
    color: #94a3b8;
}
.st-release-detail-info h2 { font-size: 28px; font-weight: 800; margin: 0 0 6px; }
.st-release-detail-date { color: var(--st-text-3); font-size: 14px; margin: 0 0 24px; }
.st-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
.st-detail-item {
    background: #f8fafc;
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius-sm);
    padding: 14px 16px;
}
.st-detail-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--st-text-3);
    margin-bottom: 4px;
}
.st-detail-value { font-size: 15px; font-weight: 600; word-break: break-word; }
.st-detail-value code {
    background: #eef2ff;
    color: var(--st-primary);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.st-detail-section-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px;
    padding-top: 22px;
    border-top: 1px solid var(--st-border);
}
.st-release-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.st-release-detail-actions .st-btn { width: auto; }

/* ============================================================
   WALLET
   ============================================================ */
.st-wallet-hero { margin: 8px 0 20px; }
.st-wallet-balance {
    background: var(--st-sidebar);
    color: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--st-shadow-lg);
}
.st-wallet-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 8px;
}
.st-wallet-icon { font-size: 18px; }
.st-wallet-balance .amount {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.st-wallet-sub { font-size: 14px; color: #94a3b8; margin-bottom: 22px; }
.st-wallet-sub strong { color: #fff; }
.st-wallet-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.st-wallet-actions .st-btn { width: auto; }
.st-wallet-actions .st-btn-glow { background: #fff; color: var(--st-text); }
.st-wallet-actions .st-btn-glow:hover { background: #f1f5f9; color: var(--st-text); }
.st-wallet-actions .st-btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.st-wallet-actions .st-btn-outline:hover { border-color: #fff; color: #fff; }

.st-txn-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    box-shadow: var(--st-shadow);
    overflow: hidden;
}
.st-txn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--st-border);
}
.st-txn:last-child { border-bottom: none; }
.st-txn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}
.st-txn-icon.credit { background: var(--st-green-soft); color: var(--st-green); }
.st-txn-icon.debit { background: #f1f5f9; color: var(--st-text-2); }
.st-txn .info { flex: 1; min-width: 0; }
.st-txn .desc { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-txn .date { font-size: 12px; color: var(--st-text-3); }
.st-txn .amount { font-size: 15px; font-weight: 700; white-space: nowrap; }
.st-txn .amount.credit { color: var(--st-green); }
.st-txn .amount.debit { color: var(--st-text-2); }

/* ============================================================
   SUBMIT SONG
   ============================================================ */
.st-submit-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 28px;
}
.st-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--st-text-3);
}
.st-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--st-text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.st-step.active { color: var(--st-text); }
.st-step.active .st-step-num { background: var(--st-primary); color: #fff; }
.st-step-line { width: 48px; height: 2px; background: var(--st-border); }

.st-form-card {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    box-shadow: var(--st-shadow);
    padding: 32px;
    margin-bottom: 28px;
}
.st-form-card-head { margin-bottom: 24px; }
.st-form-card-head h3 { font-size: 18px; margin: 0 0 6px; }
.st-form-card-head p { font-size: 14px; color: var(--st-text-2); margin: 0; }

.st-submit-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.st-benefit-card {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    box-shadow: var(--st-shadow);
    padding: 24px;
    text-align: center;
}
.st-benefit-icon { font-size: 32px; margin-bottom: 10px; display: block; }
.st-benefit-card h4 { font-size: 15px; margin: 0 0 6px; }
.st-benefit-card p { font-size: 13px; color: var(--st-text-2); margin: 0; }

/* Gravity Forms cleanup inside our card */
.st-form-card .gform_wrapper { margin: 0; }
.st-form-card .gform_wrapper .gfield_label { font-size: 13px; font-weight: 600; color: var(--st-text-2); }
.st-form-card .gform_wrapper input[type="text"],
.st-form-card .gform_wrapper input[type="email"],
.st-form-card .gform_wrapper input[type="tel"],
.st-form-card .gform_wrapper input[type="url"],
.st-form-card .gform_wrapper input[type="number"],
.st-form-card .gform_wrapper select,
.st-form-card .gform_wrapper textarea {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 11px 14px !important;
    font-size: 15px !important;
    font-family: inherit !important;
    background: #fff !important;
}
.st-form-card .gform_wrapper input:focus,
.st-form-card .gform_wrapper select:focus,
.st-form-card .gform_wrapper textarea:focus {
    border-color: var(--st-primary) !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}
.st-form-card .gform_wrapper .gform_button,
.st-form-card .gform_wrapper input[type="submit"] {
    background: var(--st-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 13px 28px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
}
.st-form-card .gform_wrapper .gform_button:hover { background: var(--st-primary-dark) !important; }

/* ============================================================
   ROYALTY
   ============================================================ */
.st-chart-card {
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: var(--st-radius);
    box-shadow: var(--st-shadow);
    padding: 24px;
    margin-bottom: 20px;
}
.st-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.st-chart-head h3 { font-size: 16px; margin: 0; }
.st-chart-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--st-text-2);
    background: #f1f5f9;
    border: 1px solid var(--st-border);
    padding: 4px 12px;
    border-radius: 999px;
}
.st-chart-wrap { position: relative; height: 280px; }
.st-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.st-royalty-cta {
    text-align: center;
    background: var(--st-card);
    border: 1px solid var(--st-border);
    border-radius: 16px;
    box-shadow: var(--st-shadow);
    padding: 40px 24px;
}
.st-royalty-cta-icon { font-size: 40px; margin-bottom: 12px; }
.st-royalty-cta h3 { font-size: 18px; margin: 0 0 8px; }
.st-royalty-cta p { color: var(--st-text-2); font-size: 14px; max-width: 480px; margin: 0 auto 20px; }
.st-royalty-cta .st-btn { width: auto; }

/* ============================================================
   RESPONSIVE — mobile first
   ============================================================ */
@media (max-width: 1100px) {
    .st-stats { grid-template-columns: repeat(2, 1fr); }
    .st-qa-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    /* Sidebar → off-canvas drawer */
    .st-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        height: 100dvh;
        transform: translateX(-105%);
        transition: transform 0.25s ease;
        box-shadow: var(--st-shadow-lg);
    }
    .st-sidebar.open { transform: translateX(0); }
    .st-menu-toggle { display: inline-flex; }
    .st-main { padding: 0 16px 40px; }

    .st-topbar h1 { font-size: 17px; }
    .st-user-chip span { display: none; }
    .st-user-chip { padding: 6px; }

    .st-release-detail { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
    .st-charts-grid { grid-template-columns: 1fr; }
    .st-submit-benefits { grid-template-columns: 1fr; }
    .st-form-card { padding: 20px; }
    .st-wallet-balance { padding: 24px 20px; }
    .st-wallet-balance .amount { font-size: 32px; }
    .st-wallet-actions .st-btn { flex: 1; }
    .st-chart-wrap { height: 220px; }
}

@media (max-width: 560px) {
    .st-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .st-stat-card { padding: 14px; gap: 10px; }
    .st-stat-icon { width: 36px; height: 36px; font-size: 16px; }
    .st-stat-card .value { font-size: 20px; }
    .st-releases { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .st-release-body { padding: 10px 12px 12px; }
    .st-release-title { font-size: 13px; }
    .st-dash-hero-text h2 { font-size: 22px; }
    .st-dash-hero .st-btn { width: 100%; }
    .st-page-hero .st-btn { width: 100%; }
    .st-detail-grid { grid-template-columns: 1fr; }
    .st-auth-card { padding: 24px 20px; }
    .st-release-detail-actions .st-btn { flex: 1; }
    .st-txn { padding: 14px 16px; gap: 10px; }
}
