/* ==========================================================================
   DESIGN SYSTEM — Admin Dashboard
   Light / Dark theme via [data-bs-theme]
   ========================================================================== */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Utility classes (keep inline styles short to avoid wrapping) */
.text-success-custom {
    color: rgb(var(--success));
}

.text-danger-custom {
    color: rgb(var(--danger));
    font-size: .9em;
}

.text-muted-custom {
    color: var(--text-muted);
}

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

.text-accent-custom {
    color: rgb(var(--accent));
}

.text-info-custom {
    color: rgb(var(--info));
}

.text-warning-custom {
    color: rgb(var(--warning));
}

/* ==========================================================================
   LIGHT THEME (default)
   ========================================================================== */
:root {
    /* Accent */
    --accent: 99 102 241;
    /* indigo-500  #6366f1 */
    --accent-hover: 79 70 229;
    /* indigo-600  #4f46e5 */
    --accent-light: 224 231 255;
    /* indigo-100  #e0e7ff */

    /* Semantic */
    --success: 16 185 129;
    /* emerald-500 */
    --warning: 245 158 11;
    /* amber-500   */
    --danger: 239 68 68;
    /* red-500     */
    --info: 6 182 212;
    /* cyan-500    */

    /* Surfaces */
    --body-bg: #f1f5f9;
    --card-bg: rgba(255, 255, 255, .82);
    --card-bg-solid: #ffffff;
    --card-border: rgba(0, 0, 0, .06);
    --card-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 16px rgba(0, 0, 0, .04);
    --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, .10);

    /* Navbar / Footer */
    --navbar-bg: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    --footer-bg: #1e1b4b;

    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-on-accent: #ffffff;

    /* Misc */
    --border-radius: .875rem;
    --border-radius-sm: .5rem;
    --transition: .25s cubic-bezier(.4, 0, .2, 1);
    --glass-blur: 12px;

    /* Stat card accent borders */
    --stat-tenants: rgb(var(--accent));
    --stat-users: rgb(var(--success));
    --stat-tickets: rgb(var(--warning));
    --stat-tasks: rgb(var(--info));
}

/* ==========================================================================
   DARK THEME
   ========================================================================== */
[data-bs-theme="dark"] {
    --body-bg: #0f172a;
    --card-bg: rgba(30, 41, 59, .72);
    --card-bg-solid: #1e293b;
    --card-border: rgba(255, 255, 255, .06);
    --card-shadow: 0 1px 3px rgba(0, 0, 0, .30), 0 4px 16px rgba(0, 0, 0, .20);
    --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, .35);

    --navbar-bg: linear-gradient(135deg, #0f0d2e 0%, #1e1b4b 50%, #312e81 100%);
    --footer-bg: #0f0d2e;

    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;

    --accent-light: 49 46 129;
    /* indigo-800 */

    color-scheme: dark;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--body-bg);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    transition: background-color var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
}

a {
    color: rgb(var(--accent));
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: rgb(var(--accent-hover));
}

::selection {
    background: rgba(var(--accent), .25);
    color: var(--text-primary);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.main-content {
    flex: 1;
    padding: 2rem 0;
    min-height: calc(100vh - 72px - 56px);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar-admin {
    background: var(--navbar-bg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .15);
    padding: .625rem 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    backdrop-filter: blur(12px);
}

.navbar-admin .navbar-brand {
    font-weight: 700;
    letter-spacing: -.02em;
    font-size: 1.15rem;
}

.badge-admin {
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(4px);
    font-size: .6rem;
    padding: .3em .6em;
    font-weight: 600;
    border-radius: .375rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.navbar-admin .nav-link {
    font-weight: 500;
    font-size: .875rem;
    color: rgba(255, 255, 255, .7);
    transition: color var(--transition);
    padding: .5rem .75rem;
    border-radius: var(--border-radius-sm);
}

.navbar-admin .nav-link:hover,
.navbar-admin .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.user-avatar {
    width: 34px;
    height: 34px;
    background: rgba(var(--accent), .85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .8rem;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .2);
}

/* Theme toggle */
.btn-theme-toggle {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 1rem;
    padding: 0;
}

.btn-theme-toggle:hover {
    background: rgba(255, 255, 255, .2);
    transform: rotate(20deg);
}

/* ==========================================================================
   DROPDOWN
   ========================================================================== */
.dropdown-menu {
    border: 1px solid var(--card-border);
    background: var(--card-bg-solid);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
    border-radius: var(--border-radius-sm);
    padding: .375rem;
    backdrop-filter: blur(var(--glass-blur));
}

.dropdown-item {
    border-radius: .375rem;
    font-size: .875rem;
    padding: .5rem .75rem;
    color: var(--text-primary);
    transition: background var(--transition);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(var(--accent), .08);
    color: rgb(var(--accent));
}

.dropdown-item.active {
    background: rgba(var(--accent), .12);
    color: rgb(var(--accent));
}

.dropdown-divider {
    border-color: var(--card-border);
    margin: .25rem 0;
}

/* ==========================================================================
   CARDS — Glassmorphism
   ========================================================================== */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid var(--card-border);
    font-weight: 600;
    font-size: .875rem;
    color: var(--text-primary);
    padding: .875rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
    color: var(--text-primary);
}

/* ==========================================================================
   STAT CARDS (top row)
   ========================================================================== */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
}

.stat-card.stat-tenants::before {
    background: var(--stat-tenants);
}

.stat-card.stat-users::before {
    background: var(--stat-users);
}

.stat-card.stat-tickets::before {
    background: var(--stat-tickets);
}

.stat-card.stat-tasks::before {
    background: var(--stat-tasks);
}

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

.stat-card.stat-tenants .stat-icon {
    background: rgba(var(--accent), .12);
    color: rgb(var(--accent));
}

.stat-card.stat-users .stat-icon {
    background: rgba(var(--success), .12);
    color: rgb(var(--success));
}

.stat-card.stat-tickets .stat-icon {
    background: rgba(var(--warning), .12);
    color: rgb(var(--warning));
}

.stat-card.stat-tasks .stat-icon {
    background: rgba(var(--info), .12);
    color: rgb(var(--info));
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.stat-card .stat-label {
    font-size: .75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 2px;
}

.stat-card .stat-delta {
    font-size: .7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: .15em .5em;
    border-radius: 1rem;
}

.stat-delta.up {
    background: rgba(var(--success), .12);
    color: rgb(var(--success));
}

.stat-delta.down {
    background: rgba(var(--danger), .12);
    color: rgb(var(--danger));
}

.stat-card .stat-sub {
    font-size: .7rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

/* ==========================================================================
   SPARKLINE CHARTS (SVG in stat cards)
   ========================================================================== */
.stat-chart {
    width: 80px;
    height: 40px;
    flex-shrink: 0;
}

.sparkline {
    width: 100%;
    height: 100%;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sparkline-accent {
    stroke: rgb(var(--accent));
}

.sparkline-success {
    stroke: rgb(var(--success));
}

.sparkline-warning {
    stroke: rgb(var(--warning));
}

.sparkline-info {
    stroke: rgb(var(--info));
}

/* ==========================================================================
   SYSTEM GAUGE
   ========================================================================== */
.system-gauge {
    padding: .5rem;
}

.system-gauge .gauge-value {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.system-gauge .gauge-label {
    font-size: .7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.system-gauge .progress {
    background: var(--card-border);
    border-radius: 2px;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-title {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--card-border);
}

/* ==========================================================================
   MINI BAR CHART (CSS-only)
   ========================================================================== */
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 48px;
    padding: 0;
}

.mini-chart .bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    min-height: 4px;
    transition: height .6s cubic-bezier(.4, 0, .2, 1);
    position: relative;
}

.mini-chart .bar.success {
    background: rgba(var(--success), .65);
}

.mini-chart .bar.danger {
    background: rgba(var(--danger), .65);
}

.mini-chart .bar.muted {
    background: rgba(var(--text-muted), .25);
}

.mini-chart .bar:hover {
    opacity: .85;
    transform: scaleY(1.08);
    transform-origin: bottom;
}

/* ==========================================================================
   TICKET / ACTIVITY LIST
   ========================================================================== */
.list-group-flush .list-group-item {
    background: transparent;
    border-color: var(--card-border);
    color: var(--text-primary);
    transition: background var(--transition);
    padding: .75rem 1.25rem;
}

.list-group-flush .list-group-item:hover,
.list-group-flush .list-group-item-action:hover {
    background: rgba(var(--accent), .05);
}

/* Badges */
.badge {
    font-weight: 600;
    font-size: .7rem;
    letter-spacing: .02em;
    padding: .35em .65em;
    border-radius: .375rem;
}

/* ==========================================================================
   QUICK ACTIONS
   ========================================================================== */
.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1.25rem .75rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
}

.quick-action-btn:hover {
    border-color: rgba(var(--accent), .3);
    background: rgba(var(--accent), .06);
    color: rgb(var(--accent));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(var(--accent), .12);
}

.quick-action-btn .qa-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.quick-action-btn .qa-label {
    font-size: .75rem;
    font-weight: 600;
}

/* ==========================================================================
   SYSTEM STATUS TABLE
   ========================================================================== */
.table-system td {
    padding: .6rem .5rem;
    vertical-align: middle;
    border-color: var(--card-border);
    color: var(--text-primary);
    font-size: .875rem;
}

.table-system td:first-child {
    color: var(--text-muted);
    font-weight: 500;
    width: 40%;
}

/* ==========================================================================
   API DOCS BANNER
   ========================================================================== */
.api-banner {
    background: var(--navbar-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.api-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, .04);
    border-radius: 50%;
}

/* ==========================================================================
   ALERT / ATTENTION BANNER
   ========================================================================== */
.alert-attention {
    background: rgba(var(--warning), .10);
    border: 1px solid rgba(var(--warning), .25);
    border-radius: var(--border-radius);
    color: var(--text-primary);
}

.alert-attention .alert-icon {
    color: rgb(var(--warning));
}

/* ==========================================================================
   WELCOME HEADER
   ========================================================================== */
.welcome-section {
    position: relative;
}

.welcome-section h1 {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -.02em;
}

.welcome-section .subtitle {
    color: var(--text-muted);
    font-size: .875rem;
}

.accent-line {
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background: rgb(var(--accent));
    margin-bottom: .75rem;
}

/* Current date/time badge */
.datetime-badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 2rem;
    padding: .375rem .875rem;
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-secondary);
    backdrop-filter: blur(var(--glass-blur));
}

/* ==========================================================================
   OVERVIEW METRIC BOXES (inside cards)
   ========================================================================== */
.metric-box {
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-sm);
    padding: .75rem;
    text-align: center;
    transition: border-color var(--transition);
}

.metric-box:hover {
    border-color: rgba(var(--accent), .2);
}

.metric-box .metric-value {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.metric-box .metric-label {
    font-size: .7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ==========================================================================
   FAILURE INDICATOR
   ========================================================================== */
.failure-stripe {
    border-left: 3px solid rgb(var(--danger));
    padding-left: .625rem;
    margin-bottom: .5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-admin {
    background: var(--footer-bg);
    padding: 1rem 0;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-admin small {
    opacity: .6;
}

/* ==========================================================================
   PULSE DOT — live indicator
   ========================================================================== */
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(var(--success));
    display: inline-block;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(var(--success), .3);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(.8);
        opacity: 1;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp .5s cubic-bezier(.4, 0, .2, 1) both;
}

.delay-1 {
    animation-delay: .06s;
}

.delay-2 {
    animation-delay: .12s;
}

.delay-3 {
    animation-delay: .18s;
}

.delay-4 {
    animation-delay: .24s;
}

.delay-5 {
    animation-delay: .30s;
}

.delay-6 {
    animation-delay: .36s;
}

/* Skeleton loader for future async content */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--card-border) 25%, transparent 50%, var(--card-border) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: .25rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    font-weight: 500;
    font-size: .875rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-accent {
    background: rgb(var(--accent));
    border: none;
    color: #fff;
}

.btn-accent:hover {
    background: rgb(var(--accent-hover));
    color: #fff;
}

/* ==========================================================================
   SCROLLBAR (dark theme friendly)
   ========================================================================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ==========================================================================
   HTMX LOADING
   ========================================================================== */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    display: inline-block;
}

/* ==========================================================================
   LOGIN PAGE
   ========================================================================== */
.login-page-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

/* Light login bg */
.login-page-bg {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
}

[data-bs-theme="dark"] .login-page-bg {
    background: linear-gradient(135deg, #0a0820 0%, #1e1b4b 40%, #312e81 100%);
}

/* Floating shapes */
.login-page-bg .shape {
    position: absolute;
    border-radius: 50%;
    opacity: .07;
    background: white;
}

.login-page-bg .shape-1 {
    width: 400px;
    height: 400px;
    top: -120px;
    right: -80px;
}

.login-page-bg .shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -60px;
}

.login-page-bg .shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 15%;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.login-container {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--border-radius);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .3);
    overflow: hidden;
}

.login-header {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.login-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: rgb(var(--accent));
    border-radius: 2px;
}

.login-header .logo-icon {
    width: 64px;
    height: 64px;
    background: rgba(var(--accent), .15);
    border: 1px solid rgba(var(--accent), .25);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.login-header .logo-icon i {
    font-size: 1.75rem;
    color: rgb(var(--accent));
}

.login-header h1 {
    color: var(--text-primary);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
}

.login-body {
    padding: 1.75rem 2rem;
}

.login-body .form-control {
    background: var(--card-bg-solid);
    border-color: var(--card-border);
    color: var(--text-primary);
    border-radius: var(--border-radius-sm);
}

.login-body .form-control:focus {
    border-color: rgb(var(--accent));
    box-shadow: 0 0 0 3px rgba(var(--accent), .15);
}

.login-body .form-label {
    color: var(--text-secondary);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.login-footer {
    padding: 1rem 2rem;
    background: rgba(var(--accent), .04);
    border-top: 1px solid var(--card-border);
    text-align: center;
}

.btn-login {
    background: rgb(var(--accent));
    border: none;
    padding: .75rem 1.5rem;
    font-weight: 600;
    letter-spacing: .01em;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition);
}

.btn-login:hover {
    background: rgb(var(--accent-hover));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(var(--accent), .3);
}

/* Login theme toggle */
.login-theme-toggle {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 1rem;
    z-index: 2;
}

.login-theme-toggle:hover {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem 0;
    }

    .navbar-admin .navbar-brand {
        font-size: 1rem;
    }

    .welcome-section h1 {
        font-size: 1.3rem;
    }

    .stat-card .stat-value {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .card-body {
        padding: 1rem;
    }

    .card-header {
        padding: .75rem 1rem;
    }
}