/* =========================================================
   Stripe Auto-Pay Plugin — style.css
   ========================================================= */

/* Stat cards */
.sa-stat-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px 20px;
    gap: 16px;
    height: 100%;
}

.sa-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}
.sa-stat-icon svg { width: 22px; height: 22px; }

.sa-icon-blue  { background: #eff6ff; color: #2563eb; }
.sa-icon-green { background: #f0fdf4; color: #16a34a; }
.sa-icon-teal  { background: #f0fdfa; color: #0d9488; }
.sa-icon-red   { background: #fef2f2; color: #dc2626; }

.sa-stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    color: #111827;
}

.sa-stat-label {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 4px;
}

/* Card brand pill */
.sa-card-brand {
    display: inline-block;
    background: #f3f4f6;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    color: #374151;
    margin-right: 3px;
}

/* Client tab */
.sa-client-tab .card {
    margin-bottom: 0;
}

/* Alert sizing */
.alert-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

/* Badge tweaks */
.badge-success { background-color: #16a34a; }
.badge-danger  { background-color: #dc2626; }
.badge-warning { background-color: #d97706; color: #fff; }
.badge-info    { background-color: #0891b2; }

/* Small icon */
.icon-xs { width: 14px; height: 14px; vertical-align: -2px; }

/* Spacing helpers */
.mb0  { margin-bottom: 0 !important; }
.mb10 { margin-bottom: 10px !important; }
.mb15 { margin-bottom: 15px !important; }
.mb20 { margin-bottom: 20px !important; }
.mt5  { margin-top: 5px !important; }
.ml5  { margin-left: 5px !important; }
.ml10 { margin-left: 10px !important; }
.p0   { padding: 0 !important; }
.p15  { padding: 15px !important; }
.p20  { padding: 20px !important; }
.py20 { padding-top: 20px !important; padding-bottom: 20px !important; }
.py30 { padding-top: 30px !important; padding-bottom: 30px !important; }

/* Responsive stat grid */
@media (max-width: 767px) {
    .sa-stat-card { margin-bottom: 12px; }
}
