:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --dark: #0f172a;
    --light-bg: #f8fafc;
    --card-border: #e2e8f0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--light-bg);
    color: #334155;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    color: var(--primary) !important;
}

.nav-link {
    font-weight: 500;
    color: #475569 !important;
    transition: color 0.15s ease-in-out;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

/* Stat Cards */
.stat-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.08);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

/* Cards & Tables */
.card {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
    background: #fff;
}

.card-header {
    background: #fff;
    border-bottom: 1px solid var(--card-border);
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.table > :not(caption) > * > * {
    padding: 0.85rem 1rem;
    vertical-align: middle;
}

/* Pricing Cards */
.pricing-card {
    background: #fff;
    border: 2px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.25s ease;
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -10px rgba(37,99,235,0.15);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 20px -5px rgba(37,99,235,0.2);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 9999px;
}

.pricing-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
}

.pricing-features li {
    padding: 0.4rem 0;
    color: #64748b;
    display: flex;
    align-items: center;
}

.pricing-features li i {
    color: var(--success);
    margin-right: 8px;
}

/* Admin Sidebar */
.admin-sidebar {
    min-height: calc(100vh - 60px);
    background: #0f172a;
    color: #cbd5e1;
}

.admin-sidebar .nav-link {
    color: #94a3b8 !important;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    margin: 2px 8px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.admin-sidebar .nav-link i {
    width: 24px;
    margin-right: 8px;
    font-size: 1.1rem;
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    background: rgba(255,255,255,0.08);
    color: #fff !important;
}

.admin-content {
    background: #f8fafc;
    min-height: calc(100vh - 60px);
}

/* Badges */
.badge-active { background-color: #dcfce7; color: #15803d; }
.badge-pending { background-color: #fef3c7; color: #b45309; }
.badge-suspended { background-color: #fee2e2; color: #b91c1c; }
.badge-paid { background-color: #dcfce7; color: #15803d; }
.badge-unpaid { background-color: #fee2e2; color: #b91c1c; }
