
   
    
    :root {
            --primary: #2563eb;
            --primary-light: #3b82f6;
            --primary-soft: #dbeafe;
            --secondary: #64748b;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --dark: #0f172a;
            --light: #f8fafc;
            --gray-100: #f1f5f9;
            --gray-200: #e2e8f0;
            --gray-300: #cbd5e1;
            --gray-400: #94a3b8;
            --gray-500: #64748b;
            --sidebar-width: 260px;
            --header-height: 70px;
            --card-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
            --transition: all 0.2s ease;
        }
    
/* ===== Subscription Management ===== */
.section-label {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.plan-card {
    background: white;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.02);
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -8px rgba(0,0,0,0.1);
}

.plan-card.current-plan {
    border: 2px solid var(--primary);
    background: linear-gradient(to bottom, white, var(--primary-soft));
}

.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    letter-spacing: 0.3px;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-500);
    margin-left: 0.2rem;
}

.plan-renewal {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 1rem;
}

.plan-details {
    margin-bottom: 2rem;
    flex: 1;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    border-bottom: 1px dashed var(--gray-200);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span:first-child {
    color: var(--gray-500);
}

.detail-row strong {
    color: var(--dark);
    font-weight: 600;
}

.plan-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-end;
}

.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary-soft);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark, #1d4ed8);
}

/* Add-ons */
.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.addon-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.addon-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -8px rgba(0,0,0,0.08);
}

.addon-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.addon-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.addon-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1.2rem;
    flex: 1;
}

.addon-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.2rem;
}

.addon-price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--gray-500);
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    border-radius: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
    .addons-grid {
        grid-template-columns: 1fr;
    }
}

/* Card inco tip */
.info-tip{
    margin-left: 6px;
    font-size: 0.85rem;
    color: #6c757d;
    cursor: pointer;
}
.info-tip:hover{
    color: var(--bs-primary);
}
