/* Sidebar Subscription Card - Aligned with App Design System */

.sidebar-subscription {
    margin-top: 16px;
    padding: 14px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.018), rgba(15, 23, 42, 0.00));
}

.sidebar-sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 8px;
}

.sidebar-sub-plan {
    font-size: 13px;
    font-weight: 650;
    padding: 5px 10px;
    border-radius: 10px;
    background: var(--accent-surface);
    color: var(--accent-2);
    border: 1px solid rgba(47, 125, 246, 0.26);
    line-height: 1;
}

.sidebar-sub-plan.badge-plan-free {
    background: rgba(15, 23, 42, 0.04);
    color: var(--text-secondary);
    border-color: var(--border);
}

.sidebar-sub-plan.badge-plan-basic {
    background: rgba(76, 175, 80, 0.12);
    color: #2e7d32;
    border-color: rgba(76, 175, 80, 0.26);
}

.sidebar-sub-plan.badge-plan-pro {
    background: rgba(255, 152, 0, 0.12);
    color: #e65100;
    border-color: rgba(255, 152, 0, 0.26);
}

.btn-upgrade {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 6px;
    cursor: pointer;
    color: var(--accent-2);
    border-radius: 10px;
    transition: all 160ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.btn-upgrade:hover {
    background: var(--accent-surface);
    border-color: rgba(47, 125, 246, 0.26);
    transform: translateY(-1px);
}

.btn-upgrade svg {
    width: 16px;
    height: 16px;
}

.sidebar-sub-body {
    font-size: 13px;
}

.sidebar-sub-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

.sidebar-sub-label {
    color: var(--text-secondary);
    font-size: 12px;
}

.sidebar-sub-value {
    color: var(--text);
    font-weight: 500;
}

.sidebar-sub-limits {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-limit-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-limit-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 12px;
}

.sidebar-limit-header svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--accent-2);
}

.sidebar-limit-header span {
    flex: 1;
    font-weight: 500;
    color: var(--text);
}

.sidebar-progress-bar {
    height: 4px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.sidebar-progress-fill {
    height: 100%;
    background: var(--accent);
    transition: width 300ms ease;
}

/* Responsive */
@media (max-width: 960px) {
    .sidebar-subscription {
        margin-top: 12px;
        padding: 12px;
    }

    .sidebar-sub-plan {
        font-size: 12px;
    }
}