/* Responsive grid for stats cards - auto-fits columns, stacks on small screens */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Custom card variant with padding - for dashboard stats, etc. */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    color: var(--text-primary);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
}

.stat-card h3 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
    font-size: 1.1em;
}

.stat-card .value {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--color-primary-500);
    margin: 10px 0;
}

.stat-card .subtitle {
    color: var(--text-secondary);
    font-size: 0.9em;
}

/* Removed Bootstrap overrides - handled by bootstrap-compat.css */

/* Campaign status badges */
.stat-box {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    padding: 1rem;
}

.stat-label {
    color: var(--text-secondary);
}

.stat-value {
    color: var(--text-primary);
}

.stats {
    background: transparent;
}

/* Removed .card-header - handled by bootstrap-compat.css */

.phase-stats {
    background: transparent;
}

.day-badge {
    background: var(--color-primary-100);
    color: var(--color-primary-700);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

[data-theme="dark"] .day-badge {
    background: var(--color-primary-900);
    color: var(--color-primary-300);
}

.info-box {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--border-primary);
}

.targets-table {
    background: var(--bg-primary);
}

.target-value {
    color: var(--text-primary);
    font-weight: 600;
}

.server-name {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
}

.server-stats {
    background: transparent;
}

/* ===========================
   CARD ENHANCEMENTS
   =========================== */

/* Enhanced card with transitions and hover effects */
.card {
    transition: box-shadow var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.card-header .card-title {
    margin: 0;
}

/* Collapsible card variant */
.card-collapsible .card-header {
    cursor: pointer;
    user-select: none;
}

.card-collapsible .card-header:hover {
    opacity: 0.8;
}

.card-body {
    transition: max-height var(--transition-slow), opacity var(--transition-base);
}

.card-body.collapsed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.expand-icon {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    transition: transform var(--transition-base);
}

.card-header.expanded .expand-icon {
    transform: rotate(180deg);
}

/* Spacing variants - use utility classes instead of modifying .card directly */
.card.mb-6 {
    margin-bottom: var(--space-6);
}

.card.p-0 {
    padding: 0;
}

