/* ============================================
   PADEL OLOCAU v2 - Design System (moderno)
   Mobile-first / Bootstrap 5.3
   ============================================ */

:root {
    /* Paleta */
    --c-primary: #1f7a4d;
    --c-primary-600: #166b42;
    --c-primary-700: #0f5132;
    --c-primary-50: #e9f5ef;
    --c-accent: #22c55e;
    --c-lime: #a7f3d0;
    --c-warning: #f59e0b;
    --c-warning-50: #fff7e6;
    --c-danger: #ef4444;
    --c-info: #0ea5e9;

    /* Neutros */
    --c-bg: #f4f6f5;
    --c-surface: #ffffff;
    --c-ink: #0b1b14;
    --c-ink-2: #374151;
    --c-muted: #6b7280;
    --c-border: #e5e7eb;

    /* Gradientes */
    --grad-primary: linear-gradient(135deg, #1f7a4d 0%, #22c55e 100%);
    --grad-primary-dark: linear-gradient(135deg, #0f5132 0%, #1f7a4d 100%);
    --grad-sunrise: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --grad-cool: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --grad-mesh: radial-gradient(1200px 500px at 10% -10%, rgba(34,197,94,.25), transparent 60%),
                 radial-gradient(900px 400px at 110% 10%, rgba(14,165,233,.18), transparent 60%),
                 linear-gradient(180deg, #f4f6f5 0%, #eef2f0 100%);

    /* Radius & shadow */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-pill: 999px;
    --sh-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 1px rgba(15,23,42,.04);
    --sh-md: 0 10px 25px -10px rgba(15,23,42,.15), 0 4px 10px -6px rgba(15,23,42,.08);
    --sh-lg: 0 25px 50px -20px rgba(15,23,42,.25), 0 10px 20px -10px rgba(15,23,42,.12);
    --sh-primary: 0 18px 35px -12px rgba(31,122,77,.55);

    /* Typography */
    --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Bootstrap override */
    --bs-primary: var(--c-primary);
    --bs-primary-rgb: 31,122,77;
}

/* ============================================
   Base
   ============================================ */
* { -webkit-tap-highlight-color: transparent; }
html { height: 100%; }
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--ff);
    color: var(--c-ink);
    background: var(--grad-mesh);
    background-attachment: fixed;
    letter-spacing: -0.01em;
}
main { flex: 1; }
h1,h2,h3,h4,h5,h6 { letter-spacing: -0.02em; }
a { text-decoration: none; }
.text-muted { color: var(--c-muted) !important; }

/* ============================================
   Bootstrap color overrides
   ============================================ */
.bg-primary { background: var(--grad-primary) !important; }
.bg-primary-solid { background-color: var(--c-primary) !important; }
.btn-primary {
    background: var(--grad-primary);
    border: 0;
    color: #fff;
    box-shadow: var(--sh-sm);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background: var(--grad-primary-dark) !important;
    color: #fff !important;
    box-shadow: var(--sh-primary);
    transform: translateY(-1px);
}
.btn { border-radius: var(--r-sm); font-weight: 600; transition: all .18s ease; }
.btn-lg { border-radius: var(--r-md); padding: .8rem 1.2rem; }
.btn-outline-primary {
    color: var(--c-primary) !important;
    border: 1.5px solid var(--c-primary) !important;
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--c-primary) !important;
    color: #fff !important;
}
.text-primary { color: var(--c-primary) !important; }
.border-primary { border-color: var(--c-primary) !important; }
.bg-primary.bg-opacity-10,
.bg-primary-soft { background: var(--c-primary-50) !important; }

/* ============================================
   Navbar - moderno, glassmorphism
   ============================================ */
.navbar {
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    background: rgba(15, 81, 50, 0.92) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 10px 30px -20px rgba(0,0,0,.4);
    padding-top: .7rem;
    padding-bottom: .7rem;
}
.navbar-brand { font-weight: 700; letter-spacing: -0.02em; }
.navbar-brand img {
    filter: brightness(0) invert(1);
    transition: transform .25s ease;
}
.navbar-brand:hover img { transform: rotate(-6deg) scale(1.05); }
.navbar .nav-link {
    color: rgba(255,255,255,.82) !important;
    border-radius: var(--r-pill);
    padding: .45rem .9rem !important;
    margin: 0 .1rem;
    font-weight: 500;
    transition: background .2s, color .2s;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,.12);
}
.navbar-toggler { border: 0; }
.navbar-toggler:focus { box-shadow: none; }

/* ============================================
   Cards - más suaves, más aire
   ============================================ */
.card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    box-shadow: var(--sh-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card.shadow-sm { box-shadow: var(--sh-sm) !important; }
.card-action { cursor: pointer; }
.card-action:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md) !important;
    border-color: transparent;
}
.card-header { background: transparent; border-bottom: 1px solid var(--c-border); }

/* ============================================
   Hero card (saludo / próxima reserva)
   ============================================ */
.hero-card {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: var(--grad-primary);
    border: 0;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-primary);
}
.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 200px at 90% -20%, rgba(255,255,255,.22), transparent 60%),
        radial-gradient(400px 150px at -10% 120%, rgba(255,255,255,.15), transparent 60%);
    pointer-events: none;
}
.hero-card .hero-body { position: relative; padding: 1.75rem 1.5rem; }
.hero-card h1, .hero-card h2, .hero-card h3 { color: #fff; }
.hero-card .badge-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(255,255,255,.18);
    color: #fff;
    padding: .35rem .75rem;
    border-radius: var(--r-pill);
    font-size: .78rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

/* Action tile (Reservar / Mis reservas...) */
/* Aviso de reserva pendiente de pago (rescate) */
.pending-banner {
    background: var(--grad-sunrise);
    color: #fff;
}
.pending-banner .btn-outline-light:hover { color: #b45309; }

.action-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: .8rem;
    padding: 1.1rem;
    border-radius: var(--r-md);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    color: var(--c-ink);
    min-height: 128px;
    height: 100%;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    position: relative;
    overflow: hidden;
}
.action-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
    border-color: transparent;
    color: var(--c-ink);
}
.action-tile .ico {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    background: var(--grad-primary);
    box-shadow: var(--sh-sm);
}
.action-tile.tone-blue .ico { background: var(--grad-cool); }
.action-tile.tone-warm .ico { background: var(--grad-sunrise); }
.action-tile.tone-dark .ico { background: linear-gradient(135deg, #0b1b14, #374151); }
.action-tile .title { font-weight: 700; font-size: 1rem; }
.action-tile .sub { color: var(--c-muted); font-size: .82rem; }

/* ============================================
   Slot grid (reservar)
   ============================================ */
.slot-grid .slot-item { display: flex; }
.slot-grid .slot-item > button {
    width: 100%;
    min-height: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    border-radius: var(--r-sm);
    border-width: 1.5px;
    font-weight: 600;
    background: #fff;
    transition: transform .15s, box-shadow .15s, background .15s;
}
.slot-grid .slot-hora {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.slot-grid .slot-icon { font-size: 1rem; opacity: .7; }
.slot-grid .badge {
    font-size: .66rem;
    padding: 3px 7px;
    border-radius: var(--r-pill);
    font-weight: 600;
}
.slot-btn { color: var(--c-primary) !important; border-color: var(--c-primary) !important; }
.slot-btn:hover {
    transform: translateY(-2px);
    background: var(--c-primary-50) !important;
    box-shadow: var(--sh-md);
}
.btn-outline-warning.slot-btn { color: #b45309 !important; border-color: var(--c-warning) !important; background: var(--c-warning-50); }
.btn-outline-warning.slot-btn:hover { background: #ffe9b8 !important; }
.slot-ocupado, .slot-pasado { cursor: not-allowed; opacity: .55; }
.slot-ocupado { background: #fef2f2 !important; color: #991b1b !important; border-color: #fecaca !important; }
.slot-pasado { background: #f3f4f6 !important; color: #9ca3af !important; border-color: #e5e7eb !important; }
.slot-ocupado:hover, .slot-pasado:hover { transform: none; box-shadow: none; }

@media (max-width: 576px) {
    .slot-grid .slot-item > button { min-height: 64px; }
    .slot-grid .slot-hora { font-size: .9rem; }
}

/* ============================================
   Facility cards (reservar - paso 1)
   ============================================ */
.facility-card {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1.5px solid var(--c-border);
    background: #fff;
    transition: all .2s ease;
    cursor: pointer;
    padding: 1rem;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.facility-card .fc-ico {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    background: var(--grad-primary);
    margin-bottom: .5rem;
}
.facility-card.type-tennis .fc-ico { background: var(--grad-sunrise); }
.facility-card .fc-name { font-weight: 700; color: var(--c-ink); }
.facility-card .fc-price { color: var(--c-muted); font-size: .85rem; }
.facility-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.facility-card.is-selected {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 4px rgba(34,197,94,.15), var(--sh-md);
}
.facility-card.is-selected::after {
    content: "\F633"; /* check */
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 10px; right: 12px;
    color: var(--c-primary);
    font-size: 1.2rem;
}

/* ============================================
   Open door - call-to-action prominente
   ============================================ */
.open-door-btn {
    border-radius: var(--r-md) !important;
    padding: 14px 20px !important;
    background: var(--grad-primary) !important;
    border: 0 !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: var(--sh-primary);
    animation: pulse-green 2.2s infinite;
}
.open-door-btn:hover { transform: translateY(-2px); }
/* Aun no disponible: visible pero claramente inactivo (sin pulso ni respuesta) */
.open-door-btn:disabled {
    background: #cbd5d1 !important;
    color: #5f6a66 !important;
    box-shadow: none;
    animation: none;
    cursor: not-allowed;
    opacity: 1;
}
@keyframes pulse-green {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.55), var(--sh-primary); }
    70%  { box-shadow: 0 0 0 16px rgba(34,197,94,0), var(--sh-primary); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0), var(--sh-primary); }
}

/* FAB flotante en móvil para abrir puerta */
.fab-door {
    position: fixed;
    right: 1rem; bottom: 1rem;
    z-index: 1030;
    padding: 1rem 1.2rem;
    border-radius: var(--r-pill) !important;
}

/* ============================================
   List group de reservas
   ============================================ */
.reserva-row {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    padding: 1rem 1.1rem;
    margin-bottom: .6rem;
    transition: box-shadow .2s, transform .2s;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.reserva-row:hover { box-shadow: var(--sh-md); transform: translateY(-1px); }
.reserva-row .r-date {
    min-width: 58px;
    text-align: center;
    padding: .35rem .5rem;
    border-radius: var(--r-sm);
    background: var(--c-primary-50);
    color: var(--c-primary-700);
    font-weight: 700;
}
.reserva-row .r-date .r-day { display: block; font-size: 1.3rem; line-height: 1; }
.reserva-row .r-date .r-mon { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.reserva-row.is-today .r-date {
    background: var(--grad-primary);
    color: #fff;
}

/* Reserva card grande */
.booking-card {
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    background: #fff;
    padding: 1.1rem;
    transition: box-shadow .2s, transform .2s;
    height: 100%;
}
.booking-card:hover { box-shadow: var(--sh-md); }
.booking-card.is-next {
    border: 0;
    background: var(--grad-primary);
    color: #fff;
    box-shadow: var(--sh-primary);
}
.booking-card.is-next .text-muted,
.booking-card.is-next .small { color: rgba(255,255,255,.8) !important; }
.booking-card.is-next .badge.bg-success { background: rgba(255,255,255,.2) !important; color: #fff !important; }

/* ============================================
   Modal
   ============================================ */
.modal-content {
    border-radius: var(--r-lg);
    border: 0;
    overflow: hidden;
    box-shadow: var(--sh-lg);
}
.modal-header {
    background: var(--grad-primary);
    color: #fff;
    border: 0;
    padding: 1.1rem 1.25rem;
}
.modal-header .btn-close-white { filter: none; }
.modal-body { padding: 1.25rem; }

/* ============================================
   Formularios
   ============================================ */
.form-control, .form-select {
    border-radius: var(--r-sm);
    border: 1.5px solid var(--c-border);
    padding: .6rem .85rem;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 4px rgba(34,197,94,.15);
}
.form-label { font-weight: 600; font-size: .87rem; color: var(--c-ink-2); margin-bottom: .35rem; }
.input-group-text {
    background: var(--c-primary-50);
    border: 1.5px solid var(--c-border);
    border-right: 0;
    color: var(--c-primary-700);
}
.input-group > .form-control { border-left: 0; }

/* ============================================
   Badges y pills
   ============================================ */
.badge { border-radius: var(--r-pill); font-weight: 600; padding: .38em .7em; }
.badge.bg-warning { background: var(--c-warning) !important; color: #3b2304 !important; }
.badge.bg-success { background: var(--c-primary) !important; }
.badge.bg-danger { background: var(--c-danger) !important; }

/* Nav pills tabs (mis reservas) */
.nav-pills {
    background: #fff;
    border-radius: var(--r-pill);
    padding: 4px;
    display: inline-flex;
    box-shadow: var(--sh-sm);
    border: 1px solid var(--c-border);
}
.nav-pills .nav-link {
    border-radius: var(--r-pill);
    color: var(--c-ink-2);
    font-weight: 600;
    padding: .45rem 1.1rem;
}
.nav-pills .nav-link.active {
    background: var(--grad-primary);
    color: #fff;
}

/* ============================================
   Auth pages (login / registro) - split hero
   ============================================ */
.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    background: var(--grad-mesh);
}
@media (min-width: 992px) {
    .auth-shell { grid-template-columns: 1.1fr 1fr; }
}
.auth-hero {
    display: none;
    position: relative;
    background: var(--grad-primary);
    color: #fff;
    padding: 3rem;
    overflow: hidden;
}
.auth-hero::before, .auth-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .55;
}
.auth-hero::before {
    width: 420px; height: 420px;
    background: rgba(167,243,208,.6);
    top: -120px; left: -80px;
}
.auth-hero::after {
    width: 380px; height: 380px;
    background: rgba(14,165,233,.5);
    bottom: -120px; right: -60px;
}
@media (min-width: 992px) {
    .auth-hero { display: flex; flex-direction: column; justify-content: space-between; }
}
.auth-hero-content { position: relative; z-index: 1; max-width: 440px; }
.auth-hero h1 {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.auth-hero .lead { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.auth-hero .feature-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    padding: .5rem .9rem;
    border-radius: var(--r-pill);
    font-size: .85rem;
    margin: 0 .25rem .5rem 0;
    color: #fff;
    backdrop-filter: blur(8px);
}

.auth-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}
.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    padding: 2rem;
    border: 1px solid var(--c-border);
}
.auth-logo {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: var(--c-primary-50);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    margin-bottom: 1rem;
}
.auth-logo img { max-width: 44px; height: auto; }

/* ============================================
   Profile avatar
   ============================================ */
.profile-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--r-lg);
    background: var(--grad-primary);
    color: #fff;
    box-shadow: var(--sh-primary);
    margin-bottom: 1.5rem;
}
.avatar-lg {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    border: 2px solid rgba(255,255,255,.35);
    flex-shrink: 0;
}

/* ============================================
   Accordion
   ============================================ */
.accordion-item { border-radius: var(--r-md); overflow: hidden; margin-bottom: .5rem; border: 1px solid var(--c-border); }
.accordion-button { font-weight: 600; }
.accordion-button:not(.collapsed) {
    background: var(--c-primary-50);
    color: var(--c-primary-700);
    box-shadow: none;
}
.accordion-button:focus { box-shadow: 0 0 0 4px rgba(34,197,94,.15); }

/* ============================================
   Footer
   ============================================ */
footer {
    flex-shrink: 0;
    background: var(--c-ink) !important;
    color: rgba(255,255,255,.7);
    padding: 1.2rem 0;
}
footer .dot { opacity: .5; margin: 0 .5rem; }

/* ============================================
   Wizard de reserva (pasos en movil, sin scroll)
   ============================================ */
.wizard-bar {
    position: sticky;
    top: 64px; /* debajo del navbar sticky */
    z-index: 10;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .25rem;
    margin: -.25rem 0 .5rem;
    background: var(--c-bg);
}
.wizard-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: #fff;
    color: var(--c-primary);
    border: 1px solid var(--c-border);
    box-shadow: var(--sh-sm);
    font-size: 1.2rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform .15s, box-shadow .15s;
}
.wizard-back:hover { transform: translateX(-2px); box-shadow: var(--sh-md); color: var(--c-primary-700); }
.wizard-back.is-disabled { opacity: .35; pointer-events: none; }
.wizard-progress { flex: 1; min-width: 0; }
.wizard-title {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--c-ink);
}
.wizard-steps {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}
.wizard-steps .dot {
    width: 26px; height: 4px;
    border-radius: 2px;
    background: var(--c-border);
    transition: background .2s;
}
.wizard-steps .dot.is-active { background: var(--grad-primary); }

.wizard-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: 0 .25rem .75rem;
    position: sticky;
    top: 118px;
    z-index: 9;
    background: var(--c-bg);
}
.wizard-summary .chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .7rem;
    border-radius: var(--r-pill);
    background: #fff;
    border: 1px solid var(--c-border);
    color: var(--c-ink-2);
    font-size: .82rem;
    font-weight: 600;
    box-shadow: var(--sh-sm);
}
.wizard-summary .chip i { color: var(--c-primary); }

/* Mostrar solo el paso activo en movil */
@media (max-width: 991.98px) {
    .wizard .wizard-step { display: none; }
    .wizard[data-step="1"] .wizard-step[data-step="1"],
    .wizard[data-step="2"] .wizard-step[data-step="2"],
    .wizard[data-step="3"] .wizard-step[data-step="3"] { display: block; }

    /* Animacion suave al entrar */
    .wizard .wizard-step { animation: wizardIn .25s ease both; }
}
@keyframes wizardIn {
    from { opacity: 0; transform: translateX(8px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ============================================
   btn-group con <form> wrappers
   Aplana los bordes interiores; solo el primero y ultimo redondeados.
   ============================================ */
.btn-group > form { display: inline-flex; margin: 0; }
.btn-group > form > .btn { margin-left: -1px; border-radius: 0; }
.btn-group > .btn { border-radius: 0; }
.btn-group > :first-child > .btn,
.btn-group > :first-child.btn {
    border-top-left-radius: var(--bs-border-radius);
    border-bottom-left-radius: var(--bs-border-radius);
    margin-left: 0;
}
.btn-group > :last-child > .btn,
.btn-group > :last-child.btn {
    border-top-right-radius: var(--bs-border-radius);
    border-bottom-right-radius: var(--bs-border-radius);
}
.btn-group-sm > :first-child > .btn,
.btn-group-sm > :first-child.btn {
    border-top-left-radius: var(--bs-border-radius-sm);
    border-bottom-left-radius: var(--bs-border-radius-sm);
}
.btn-group-sm > :last-child > .btn,
.btn-group-sm > :last-child.btn {
    border-top-right-radius: var(--bs-border-radius-sm);
    border-bottom-right-radius: var(--bs-border-radius-sm);
}
.btn-group > form > .btn:hover,
.btn-group > form > .btn:focus,
.btn-group > form > .btn:active { position: relative; z-index: 2; }

/* ============================================
   Toast & utilidades
   ============================================ */
.toast-container { z-index: 9999; }
.toast { border-radius: var(--r-md) !important; }

.divider-soft { height: 1px; background: var(--c-border); margin: 1.25rem 0; }
.section-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
}
.section-title h5 { margin: 0; font-weight: 700; }
.section-title .bar {
    width: 4px; height: 22px;
    border-radius: 4px;
    background: var(--grad-primary);
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--c-muted);
}
.empty-state .ico-wrap {
    width: 80px; height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--c-primary-50);
    color: var(--c-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
}

/* ============================================
   Responsive tweaks
   ============================================ */
@media (max-width: 576px) {
    .container { padding-left: 14px; padding-right: 14px; }
    h4 { font-size: 1.2rem; }
    .display-5 { font-size: 2rem; }
    .display-6 { font-size: 1.5rem; }
    .card-body { padding: 1rem; }
    .navbar-brand span { font-size: 0.95rem; }
    .auth-card { padding: 1.5rem; }
    .hero-card .hero-body { padding: 1.4rem 1.1rem; }
}
