@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

.spa-v-app {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.spa-v-header {
    background: #ffffff;
    color: #1a202c;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
}

.spa-v-brand {
    font-weight: 800;
    font-size: 18px;
}

.spa-v-brand span {
    color: #1c86f9;
}

.spa-v-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.spa-v-report-btn {
    background: #1c86f9;
    color: #111;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
}

.spa-v-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    z-index: 1001;
    grid-template-columns: repeat(3, 1fr);
    padding: 10px 0;
    border-top: 1px solid #333;
}

.spa-v-mobile-nav div {
    color: #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.spa-v-mobile-nav div.active {
    color: #1c86f9;
}

.spa-v-mobile-nav div span {
    font-size: 20px;
}

.spa-v-layout {
    display: flex;
    min-height: 700px;
}

.spa-v-sidebar {
    width: 220px;
    background: #f1f5f9;
    padding: 20px 0;
    border-right: 1px solid #e2e8f0;
}

.spa-v-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.spa-v-sidebar li {
    padding: 15px 25px;
    color: #a0aec0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s;
}

.spa-v-sidebar li:hover {
    background: #e2e8f0;
    color: #1a202c;
}

.spa-v-sidebar li.active {
    background: #ffffff;
    color: #1c86f9;
    font-weight: 800;
    border-left: 4px solid #1c86f9;
}

.spa-v-main {
    flex: 1;
    padding: 30px;
    background: #f8fafc;
}

.spa-v-notice {
    background: #dcfce7;
    color: #166534;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 600;
    border-left: 5px solid #22c55e;
}

.spa-v-notice.error {
    background: #fee2e2;
    color: #991b1b;
    border-left-color: #ef4444;
}

.spa-v-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.spa-v-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.spa-v-card.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #e2e8f0;
}

.spa-v-card.stat.gold {
    border-bottom-color: #1c86f9;
    background: #fffcf0;
}

.spa-v-app .referral-box {
    background: #ffffff !important;
    color: #1a202c !important;
    border: 1px solid #cbd5e1 !important;
    margin-bottom: 30px;
}

.ref-input-group {
    display: flex;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 15px;
}

.ref-input-group input {
    background: transparent;
    border: none;
    color: #334155;
    padding: 12px 15px;
    flex: 1;
    font-size: 14px;
    font-weight: 600;
}

.ref-input-group button {
    background: #1c86f9;
    color: #111;
    border: none;
    padding: 0 20px;
    font-weight: 800;
    cursor: pointer;
    font-size: 12px;
}

.spa-v-tab-pane {
    display: none;
}

.spa-v-tab-pane.active {
    display: block;
}

.spa-v-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.spa-v-table th {
    text-align: left;
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    padding: 10px 15px;
    border-bottom: 2px solid #f1f5f9;
}

.spa-v-table td {
    padding: 15px;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.spa-v-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    width: 100%;
}

.spa-v-btn.black {
    background: #111;
    color: #fff;
}

.spa-v-btn.outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
}

.value.active {
    color: #059669;
    font-weight: 800;
}

.value.inactive {
    color: #ef4444;
    font-weight: 800;
}

.spa-v-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.spa-v-plan-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
}

.v-plan-price {
    font-size: 34px;
    font-weight: 800;
    color: #1c86f9;
    margin: 20px 0;
}

.v-buy-btn {
    display: block;
    background: #1c86f9;
    color: #111;
    text-decoration: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .spa-v-sidebar {
        display: none;
    }

    .spa-v-mobile-nav {
        display: grid;
    }

    .spa-v-stats {
        grid-template-columns: 1fr;
    }
}