/* ================================================
   SMACKDOWN Theme CSS  –  v3
   ================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body.smackdown-body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.65;
    color: #222;
    background: #f0eaf8;
    min-height: 100vh;
}

/* ---------- Animated Background ---------- */
.sm-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background: linear-gradient(135deg, #ede7f6 0%, #e8eaf6 30%, #fce4ec 60%, #f3e5f5 100%);
    overflow: hidden;
}
.sm-bg::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100,181,246,0.25) 0%, transparent 70%);
    animation: floatBg 8s ease-in-out infinite alternate;
}
.sm-bg::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -100px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240,98,146,0.15) 0%, transparent 70%);
    animation: floatBg 10s ease-in-out infinite alternate-reverse;
}
.sm-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.7), rgba(200,200,255,0.2));
    border: 1px solid rgba(255,255,255,0.5);
    animation: floatBubble linear infinite;
}
.sm-binary {
    position: absolute;
    color: rgba(100, 120, 200, 0.07);
    font-family: monospace;
    font-size: 13px;
    white-space: pre;
    pointer-events: none;
    line-height: 1.6;
}
@keyframes floatBg {
    from { transform: translateY(0) scale(1); }
    to   { transform: translateY(40px) scale(1.08); }
}
@keyframes floatBubble {
    from { transform: translateY(100vh) rotate(0deg); opacity: 0.6; }
    to   { transform: translateY(-200px) rotate(360deg); opacity: 0; }
}

/* ---------- Navbar ---------- */
.sm-navbar {
    background: #0d1117;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 62px;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
/* max-width 1700px → whitespace ≈ half of previous 1400px */
.sm-navbar-inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1860px;
    margin: 0 auto;
}
.sm-navbar-brand {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 19px;
    text-decoration: none;
    margin-right: 24px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}
.sm-navbar-brand img {
    width: 32px; height: 32px;
    margin-right: 8px;
    border-radius: 4px;
}
.sm-nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0; padding: 0;
    flex: 1;
    flex-wrap: wrap;
}
.sm-nav-links li { margin: 0; }
.sm-nav-links a {
    display: flex;
    align-items: center;
    color: #c9d1d9;
    text-decoration: none;
    padding: 0 15px;
    height: 62px;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s, background 0.2s;
    gap: 6px;
}
.sm-nav-links a:hover {
    color: #fff;
    background: rgba(255,255,255,0.09);
}
.sm-nav-links a.active {
    color: #fff;
    background: linear-gradient(90deg, #1565c0, #0d47a1);
}
.sm-nav-links a i { font-size: 14px; }

.sm-navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    margin-left: auto;
}
.sm-navbar-right .sm-user-info {
    color: #c9d1d9;
    font-size: 14px;
    font-weight: 600;
}
.sm-navbar-right .sm-balance {
    background: #00bcd4;
    color: #1a1a1a;
    padding: 5px 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
}
.sm-btn-login {
    background: #1565c0;
    color: #fff !important;
    padding: 6px 18px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}
.sm-btn-login:hover { background: #1976d2; color:#fff; }
.sm-btn-logout {
    background: #1565c0;
    color: #fff;
    border: none;
    padding: 6px 18px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.sm-btn-logout:hover { background: #1976d2; }

/* ---------- Page Wrapper ---------- */
.sm-page {
    margin-top: 62px;
    min-height: calc(100vh - 116px);
    padding: 28px 20px;
    max-width: 1860px;
    margin-left: auto;
    margin-right: auto;
}

/* Info bar inner container */
.sm-infobar-inner {
    max-width: 1860px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

/* ---------- Info Bar (Home) ---------- */
.sm-infobar {
    background: linear-gradient(90deg, #1a237e, #283593, #1a237e);
    color: #fff;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 0;
}
.sm-infobar .sm-ib-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sm-infobar .sm-ib-label { opacity: 0.85; }
.sm-infobar .sm-ib-val {
    background: rgba(255,255,255,0.15);
    padding: 4px 14px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
}
.sm-infobar .sm-ib-timer { color: #00bcd4; font-weight: 800; font-size: 16px; }

/* ---------- Card / Panel ---------- */
.sm-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.09);
    margin-bottom: 24px;
    overflow: hidden;
}
.sm-card-header {
    background: linear-gradient(90deg, #e3f0ff, #f0f4ff);
    padding: 16px 22px;
    font-weight: 800;
    font-size: 17px;
    color: #1565c0;
    border-bottom: 2px solid #bbdefb;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sm-card-header.green {
    background: linear-gradient(90deg, #e8f5e9, #f1f8e9);
    color: #2e7d32;
    border-bottom-color: #c8e6c9;
}
.sm-card-header.orange {
    background: linear-gradient(90deg, #fff8e1, #fffde7);
    color: #e65c00;
    border-bottom-color: #ffe0b2;
}
.sm-card-header.red {
    background: linear-gradient(90deg, #ffebee, #fce4ec);
    color: #c62828;
    border-bottom-color: #ffcdd2;
}
.sm-card-body { padding: 24px; }

/* ---------- Home 3-col section ---------- */
.sm-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
    margin-bottom: 28px;
}
@media (max-width: 900px) {
    .sm-home-grid { grid-template-columns: 1fr; }
}

/* Contact info */
.sm-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    font-weight: 500;
}
.sm-contact-item:last-child { border-bottom: none; }
.sm-contact-item i { color: #1565c0; width: 20px; font-size: 16px; }
.sm-contact-item a { color: #1565c0; text-decoration: none; font-weight: 600; }
.sm-contact-item a:hover { text-decoration: underline; }

/* Domain list */
.sm-domain-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed #e0e0e0;
    font-size: 15px;
}
.sm-domain-item:last-child { border-bottom: none; }
.sm-domain-num {
    width: 28px;
    height: 28px;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    margin-right: 12px;
    flex-shrink: 0;
}
.sm-domain-item a { color: #1976d2; text-decoration: none; font-weight: 600; }
.sm-domain-item a:hover { text-decoration: underline; }

/* Announcement */
.sm-announce-title {
    font-weight: 800;
    color: #c62828;
    font-size: 15px;
    margin-bottom: 5px;
}
.sm-announce-body {
    font-size: 14px;
    font-weight: 500;
    color: #444;
    line-height: 1.55;
}

/* ---------- News/Cards Grid ---------- */
.sm-news-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
@media (max-width: 1200px) { .sm-news-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .sm-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .sm-news-grid { grid-template-columns: 1fr; } }

.sm-news-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.09);
    padding: 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
}
.sm-news-card-date {
    font-weight: 800;
    color: #1565c0;
    margin-bottom: 6px;
    font-size: 15px;
}
.sm-news-card-row { margin-bottom: 3px; color: #555; }
.sm-news-card-row span { color: #222; font-weight: 700; }

.sm-badge-ref {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}
.sm-badge-noref {
    display: inline-block;
    background: #ffebee;
    color: #c62828;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}
.sm-btn-buy {
    display: block;
    width: 100%;
    background: #388e3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 0;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.sm-btn-buy:hover { background: #2e7d32; color: #fff; }

/* ---------- Section Title ---------- */
.sm-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a237e;
    border-left: 5px solid #00bcd4;
    padding-left: 16px;
    margin: 28px 0 20px;
}

/* ---------- Table ---------- */
.sm-table-wrap {
    overflow-x: auto;
}
.sm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
}
.sm-table th {
    background: #1a237e;
    color: #fff;
    padding: 10px 13px;
    text-align: center;
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
}
.sm-table td {
    padding: 8px 13px;
    border-bottom: 1px solid #eef0f8;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}
.sm-table tr:hover td { background: #f6f8ff; }
.sm-table .sm-flag {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}
.sm-table .sm-flag img { width: 20px; }

/* brand logos */
.sm-brand-visa   { color: #1a1f8f; font-weight: 900; font-style: italic; font-size: 15px; }
.sm-brand-mc     { color: #eb001b; font-weight: 800; font-size: 13px; }
.sm-brand-amex   { color: #016fd0; font-weight: 800; font-size: 13px; }
.sm-brand-disc   { color: #e65c00; font-weight: 800; font-size: 13px; }

.sm-btn-sm-buy {
    display: inline-block;
    background: #388e3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.sm-btn-sm-buy:hover { background: #2e7d32; color: #fff; }

/* ---------- Pagination ---------- */
.sm-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 20px 0;
    flex-wrap: wrap;
}
.sm-pagination a, .sm-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 0 10px;
    transition: all 0.2s;
}
.sm-pagination a:hover { background: #e3f2fd; border-color: #90caf9; }
.sm-pagination span.active { background: #1565c0; color: #fff; border-color: #1565c0; }

/* ---------- Filter Panel ---------- */
.sm-filter-panel {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.09);
    margin-bottom: 20px;
    overflow: hidden;
}
.sm-filter-header {
    background: linear-gradient(90deg, #37474f, #546e7a);
    color: #fff;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    font-size: 15px;
}
.sm-filter-body {
    padding: 22px;
    display: none;
}
.sm-filter-body.show { display: block; }
.sm-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 900px) { .sm-filter-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sm-filter-grid { grid-template-columns: 1fr; } }
.sm-filter-group label {
    display: block;
    font-size: 12px;
    color: #555;
    margin-bottom: 4px;
    font-weight: 700;
}
.sm-filter-group select,
.sm-filter-group input[type="text"] {
    width: 100%;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}
.sm-filter-group select:focus,
.sm-filter-group input:focus {
    border-color: #90caf9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(144,202,249,0.2);
}
.sm-filter-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    padding-top: 12px;
}
.sm-btn-filter {
    background: #1565c0;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 7px 24px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    min-width: 100px;
    transition: background 0.2s;
}
.sm-btn-filter:hover { background: #1976d2; }
.sm-btn-clear {
    background: #c62828;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 7px 24px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    min-width: 100px;
    transition: background 0.2s;
}
.sm-btn-clear:hover { background: #b71c1c; }

/* ---------- Range slider ---------- */
.sm-range-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
}
.sm-range-row input[type="range"] { flex: 1; }
.sm-range-val { min-width: 70px; text-align: right; color: #444; font-weight: 700; }

/* ---------- Login Page ---------- */
.sm-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 62px);
    position: relative;
}
.sm-login-box {
    background: rgba(255,255,255,0.93);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.16);
    padding: 50px 46px;
    width: 460px;
    max-width: 95vw;
}
.sm-login-logo {
    text-align: center;
    margin-bottom: 22px;
}
.sm-login-logo img { width: 80px; }
.sm-login-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #1a237e;
    margin-bottom: 28px;
    letter-spacing: 3px;
}
.sm-form-group {
    margin-bottom: 20px;
}
.sm-form-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
    font-weight: 700;
}
.sm-form-control {
    width: 100%;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 7px;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 500;
    color: #222;
    transition: border-color 0.2s;
}
.sm-form-control:focus {
    border-color: #90caf9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(144,202,249,0.2);
}
.sm-checkbox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 20px;
}
.sm-checkbox-row label { display: flex; align-items: center; gap: 7px; cursor: pointer; font-weight: 600; }
.sm-btn-submit {
    width: 100%;
    height: 50px;
    background: linear-gradient(90deg, #1565c0, #1976d2);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.2s;
    letter-spacing: 1px;
}
.sm-btn-submit:hover { opacity: 0.9; }
.sm-login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #777;
}
.sm-login-footer a { color: #1565c0; text-decoration: none; font-weight: 700; }

/* ---------- Profile Page ---------- */
.sm-profile-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 22px;
}
@media (max-width: 1000px) { .sm-profile-grid { grid-template-columns: 1fr; } }

.sm-rank-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.09);
    padding: 28px 22px;
    text-align: center;
    margin-bottom: 22px;
}
.sm-rank-title { font-size: 16px; font-weight: 700; color: #555; margin-bottom: 10px; }
.sm-rank-badge {
    display: inline-block;
    background: linear-gradient(135deg, #795548, #a1887f);
    color: #fff;
    padding: 8px 24px;
    border-radius: 22px;
    font-weight: 800;
    font-size: 18px;
    margin: 10px 0;
}
.sm-rank-score { font-size: 15px; color: #777; font-weight: 600; margin-top: 6px; }
.sm-rank-note { font-size: 13px; color: #aaa; margin-top: 10px; line-height: 1.7; font-weight: 500; }

.sm-info-row {
    display: flex;
    align-items: flex-start;
    padding: 11px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    font-weight: 500;
    gap: 10px;
}
.sm-info-row:last-child { border-bottom: none; }
.sm-info-row i { color: #1565c0; width: 20px; flex-shrink: 0; margin-top: 3px; font-size: 15px; }
.sm-info-label { color: #888; min-width: 110px; font-weight: 600; }
.sm-info-val { color: #222; flex: 1; word-break: break-all; font-weight: 600; }

.sm-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    font-weight: 500;
}
.sm-stat-row:last-child { border-bottom: none; }
.sm-stat-label { color: #555; font-weight: 600; }
.sm-stat-val { font-weight: 800; color: #1565c0; font-size: 16px; }

.sm-card-type-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}
.sm-card-type-item {
    text-align: center;
    background: #f6f8ff;
    border-radius: 8px;
    padding: 12px 4px;
    font-size: 13px;
}
.sm-card-type-item .pct { font-weight: 800; color: #1565c0; font-size: 16px; }

.sm-ranking-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
}
.sm-ranking-item i { color: #00bcd4; margin-top: 3px; flex-shrink: 0; }

/* ---------- Add Funds Page ---------- */
.sm-funds-notice {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 10px;
    padding: 24px 28px;
    font-size: 15px;
    font-weight: 500;
    line-height: 2;
    margin-bottom: 28px;
    color: #1a237e;
}
.sm-funds-notice h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.sm-funds-notice .important { color: #c62828; font-weight: 800; }
.sm-funds-notice ol, .sm-funds-notice ul { padding-left: 22px; margin: 10px 0; }

.sm-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 768px) { .sm-payment-grid { grid-template-columns: 1fr; } }

.sm-payment-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.10);
    padding: 32px 26px;
    text-align: center;
}
.sm-payment-card img { width: 90px; height: 90px; object-fit: contain; margin-bottom: 14px; }
.sm-payment-card h3 { font-size: 18px; font-weight: 800; color: #1a237e; margin-bottom: 6px; }
.sm-payment-card .rate { font-size: 14px; font-weight: 600; color: #888; margin-bottom: 18px; }
.sm-payment-card input {
    width: 100%;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 7px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 14px;
    text-align: center;
}
.sm-btn-deposit {
    display: block;
    width: 100%;
    background: #388e3c;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}
.sm-btn-deposit:hover { background: #2e7d32; }
.sm-payment-maintenance {
    background: #fff8e1;
    border: 1px dashed #00bcd4;
    border-radius: 8px;
    padding: 20px;
    color: #e65c00;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

/* ---------- Support Page ---------- */
.sm-support-box {
    max-width: 680px;
    margin: 24px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.10);
    padding: 36px 36px 28px;
}
.sm-support-notice-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    color: #c62828;
    margin-bottom: 14px;
}
.sm-support-notice-body { font-size: 15px; font-weight: 500; color: #444; line-height: 2; }
.sm-support-notice-body .highlight { color: #1976d2; font-weight: 700; }
.sm-support-contact { margin: 18px 0; }
.sm-support-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
}
.sm-support-contact-item:last-child { border-bottom: none; }
.sm-support-contact-item i { color: #0288d1; width: 22px; font-size: 16px; }
.sm-support-contact-item a { color: #1976d2; text-decoration: none; font-weight: 700; }
.sm-support-issues {
    background: #f6f8ff;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 14px 0;
}
.sm-support-issues h4 { font-size: 15px; font-weight: 800; color: #c62828; margin-bottom: 10px; }
.sm-support-issues ul { padding-left: 20px; margin: 0; font-size: 14px; font-weight: 500; color: #444; line-height: 2.2; }
.sm-support-channel {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
    line-height: 2.2;
}
.sm-support-channel a { color: #1976d2; font-weight: 700; text-decoration: none; }

/* ---------- Rules Page ---------- */
.sm-rules-page { max-width: 1000px; margin: 0 auto; }
.sm-accordion-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    margin-bottom: 16px;
    overflow: hidden;
}
.sm-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    cursor: pointer;
    background: linear-gradient(90deg, #37474f, #546e7a);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    user-select: none;
}
.sm-accordion-header.open { background: linear-gradient(90deg, #1565c0, #1976d2); }
.sm-accordion-body {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.sm-accordion-body.open {
    max-height: 700px;
    padding: 20px 22px;
}
.sm-accordion-body p,
.sm-accordion-body li {
    font-size: 15px;
    font-weight: 500;
    line-height: 2;
    color: #444;
}
.sm-accordion-body ol, .sm-accordion-body ul { padding-left: 22px; }

/* ---------- Purchased / Checker Page ---------- */
.sm-checker-guidelines {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    padding: 28px 30px;
    margin-bottom: 24px;
}
.sm-checker-guidelines h2 {
    font-size: 21px;
    font-weight: 800;
    color: #1a237e;
    margin-bottom: 18px;
}
.sm-checker-guidelines ol {
    padding-left: 22px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
}
.sm-checker-guidelines ol li { margin-bottom: 8px; }
.sm-checker-guidelines b { color: #1565c0; }
.sm-checker-guidelines .highlight { color: #c62828; font-weight: 800; }

.sm-checker-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.sm-btn-action {
    background: #546e7a;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 9px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.sm-btn-action:hover { background: #455a64; }

/* ---------- Seller Pages ---------- */
.sm-seller-notice {
    background: #fff8e1;
    border: 1px solid #ffe0b2;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 22px;
    font-size: 15px;
    font-weight: 500;
    line-height: 2.1;
    color: #5d4037;
}
.sm-seller-notice p { margin: 0; }

.sm-seller-warning {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 22px;
    font-size: 15px;
    font-weight: 500;
    color: #c62828;
}
.sm-seller-warning ul { padding-left: 20px; margin: 10px 0; line-height: 2.2; }

.sm-btn-create {
    background: #388e3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}
.sm-btn-create:hover { background: #2e7d32; color: #fff; }

.sm-seller-filters {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.sm-seller-filters label { font-size: 14px; color: #444; font-weight: 700; }
.sm-seller-filters select {
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
}
.sm-btn-reset {
    background: #546e7a;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.sm-btn-search {
    background: #1565c0;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 7px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.sm-btn-edit   { background: #0288d1; color: #fff; border: none; border-radius: 4px; padding: 4px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }
.sm-btn-delete { background: #c62828; color: #fff; border: none; border-radius: 4px; padding: 4px 12px; font-size: 13px; font-weight: 700; cursor: pointer; }

/* ---------- Seller Form ---------- */
.sm-seller-form {
    max-width: 760px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.09);
    padding: 32px 36px;
    margin: 0 auto;
}
.sm-seller-form-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 14px;
}
.sm-seller-form-group label {
    width: 130px;
    flex-shrink: 0;
    font-size: 15px;
    color: #333;
    padding-top: 9px;
    font-weight: 700;
}
.sm-seller-form-group label::before { content: '* '; color: #c62828; }
.sm-seller-form-group input,
.sm-seller-form-group select,
.sm-seller-form-group textarea {
    flex: 1;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    transition: border-color 0.2s;
}
.sm-seller-form-group textarea {
    height: 110px;
    padding: 10px 14px;
    resize: vertical;
}
.sm-seller-form-group input:focus,
.sm-seller-form-group select:focus,
.sm-seller-form-group textarea:focus {
    border-color: #90caf9;
    outline: none;
}
.sm-btn-upload {
    background: #546e7a;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

/* ---------- Payoffs / Withdrawal ---------- */
.sm-payoff-notice {
    font-size: 15px;
    font-weight: 500;
    color: #1976d2;
    line-height: 2.1;
    margin-bottom: 22px;
}
.sm-btn-request {
    display: inline-block;
    background: #388e3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 34px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    margin-bottom: 24px;
    text-decoration: none;
    transition: background 0.2s;
}
.sm-btn-request:hover { background: #2e7d32; color: #fff; }

.sm-no-data {
    text-align: center;
    padding: 50px 0;
    color: #bbb;
    font-size: 15px;
    font-weight: 600;
}
.sm-no-data i { font-size: 52px; display: block; margin-bottom: 14px; }

/* ---------- Withdrawal Form ---------- */
.sm-withdrawal-form { max-width: 860px; }
.sm-withdrawal-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 14px;
    font-size: 15px;
    font-weight: 500;
}
.sm-withdrawal-row label {
    width: 160px;
    flex-shrink: 0;
    font-weight: 700;
    color: #333;
}
.sm-withdrawal-row label::before { content: '* '; color: #c62828; }
.sm-withdrawal-row input,
.sm-withdrawal-row select,
.sm-withdrawal-row textarea {
    flex: 1;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
}
.sm-withdrawal-row textarea { height: 90px; padding: 10px 14px; resize: vertical; }
.sm-radio-group { display: flex; gap: 20px; align-items: center; }
.sm-radio-group label { width: auto; font-weight: 600; }
.sm-radio-group label::before { content: none; }
.sm-avail-balance { color: #388e3c; font-weight: 800; font-size: 15px; }

/* ---------- Page header line ---------- */
.sm-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.sm-page-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a237e;
}
.sm-count-badge {
    background: #e3f2fd;
    color: #1565c0;
    padding: 5px 16px;
    border-radius: 22px;
    font-size: 15px;
    font-weight: 800;
}

/* ---------- Status badges ---------- */
.sm-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 800;
}
.sm-badge-approved { background: #e8f5e9; color: #2e7d32; }
.sm-badge-pending  { background: #fff8e1; color: #e65c00; }
.sm-badge-rejected { background: #ffebee; color: #c62828; }

/* ---------- Footer ---------- */
.sm-footer {
    background: #0d1117;
    color: #666;
    text-align: center;
    padding: 18px 20px;
    font-size: 14px;
    font-weight: 600;
    margin-top: auto;
}
.sm-footer a { color: #00bcd4; text-decoration: none; font-weight: 700; }

/* ---------- Seller Panel Layout ---------- */
.sp-layout {
    display: flex;
    gap: 0;
    align-items: stretch;
    height: calc(100vh - 160px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    overflow: hidden;
}
.sp-sidebar {
    width: 210px;
    flex-shrink: 0;
    background: #0d1117;
    display: flex;
    flex-direction: column;
}
.sp-sidebar-header {
    background: linear-gradient(90deg, #1565c0, #0d47a1);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    padding: 18px 20px;
    letter-spacing: 0.5px;
}
.sp-sidebar-header i { margin-right: 8px; }
.sp-nav { flex: 1; padding: 10px 0; }
.sp-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9ea8b3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 22px;
    transition: background 0.2s, color 0.2s;
    border-left: 3px solid transparent;
}
.sp-nav-item i { width: 16px; text-align: center; font-size: 14px; }
.sp-nav-item:hover {
    background: rgba(255,255,255,0.07);
    color: #fff;
}
.sp-nav-item.active {
    background: linear-gradient(90deg, rgba(21,101,192,0.25), rgba(21,101,192,0.08));
    color: #fff;
    border-left-color: #1565c0;
}
.sp-sidebar-notice {
    padding: 16px 18px;
    font-size: 11px;
    color: #555;
    line-height: 1.7;
    border-top: 1px solid #1e2530;
}
.sp-sidebar-notice i { color: #1565c0; margin-right: 4px; }
.sp-content {
    flex: 1;
    padding: 28px 30px;
    min-width: 0;
    overflow-y: auto;
}
.sp-tab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid #e8eaf6;
    font-size: 18px;
    font-weight: 800;
    color: #1a237e;
}
.sp-tab-header i { margin-right: 8px; color: #1565c0; }
@media (max-width: 768px) {
    .sp-layout { flex-direction: column; }
    .sp-sidebar { width: 100%; min-height: auto; }
    .sp-nav { display: flex; flex-wrap: wrap; padding: 6px; }
    .sp-nav-item { padding: 8px 14px; border-left: none; border-bottom: 3px solid transparent; }
    .sp-nav-item.active { border-bottom-color: #1565c0; border-left-color: transparent; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-0 { margin-bottom: 0; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-10 { gap: 10px; }
.w-100 { width: 100%; }
.bold { font-weight: 800; }
.text-blue { color: #1565c0; }
.text-green { color: #388e3c; }
.text-red { color: #c62828; }
.text-orange { color: #e65c00; }
.text-gray { color: #888; }

/* ---------- Responsive Navbar ---------- */
.sm-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0 10px;
}
@media (max-width: 1000px) {
    .sm-nav-toggle { display: block; }
    .sm-nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 62px; left: 0; right: 0;
        background: #0d1117;
        padding: 8px 0;
        border-top: 1px solid #333;
        z-index: 999;
    }
    .sm-nav-links.open { display: flex; }
    .sm-nav-links a { height: auto; padding: 12px 24px; }
    .sm-navbar { flex-wrap: wrap; }
    .sm-navbar-right { display: none; }
}
