/**
 * Rider Wash - Estilos principales (responsive)
 */

/* Variables y reset */
:root {
    --primary: #1a1a1a;
    --primary-dark: #000000;
    --accent: #e87722;
    --accent-hover: #c9651a;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --info: #3498db;
    --bg: #f4f6f9;
    --card-bg: #ffffff;
    --text: #2c3e50;
    --text-muted: #7f8c8d;
    --border: #dfe6e9;
    --sidebar-width: 260px;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(0,0,0,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== ADMIN LAYOUT ===== */
.admin-body {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    background: linear-gradient(180deg, #1a1a1a 0%, #000 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    height: 100dvh;
    flex-shrink: 0;
    z-index: 200;
    overflow: hidden;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 150;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sidebar-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}
.sidebar-brand {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.sidebar-brand-link {
    display: block;
    text-decoration: none;
}

.sidebar-brand-link:hover {
    text-decoration: none;
    opacity: .92;
}

.logo {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.logo-sidebar {
    max-height: 72px;
    margin: 0 auto;
    border-radius: 8px;
    background: #fff;
    padding: 6px 10px;
}

.logo-login {
    max-height: 160px;
    margin: 0 auto 1rem;
}

.logo-public {
    max-height: 130px;
    margin: 0 auto 0.75rem;
    border-radius: 10px;
    background: rgba(255,255,255,.95);
    padding: 8px 14px;
}

.sidebar-nav { flex: 1; padding: 1rem 0; overflow-y: auto; }

.sidebar-nav a {
    display: block;
    padding: .75rem 1.25rem;
    color: rgba(255,255,255,.85);
    transition: background .2s;
    text-decoration: none;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255,255,255,.15);
    color: #fff;
    text-decoration: none;
}

.sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,.1);
}

.user-info { margin-bottom: .75rem; }
.user-info small { display: block; opacity: .7; }

.main-wrapper {
    flex: 1;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.topbar {
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 40;
    flex-shrink: 0;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

.page-title { font-size: 1.35rem; font-weight: 600; }

.main-content {
    flex: 1;
    padding: 1.5rem;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
}
.footer { padding: 1rem 1.5rem; text-align: center; color: var(--text-muted); font-size: .875rem; }

/* ===== COMPONENTES ===== */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: .5rem;
}

.card-title { font-size: 1.1rem; font-weight: 600; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.stat-card.accent { border-left-color: var(--accent); }
.stat-card.success { border-left-color: var(--success); }
.stat-card.info { border-left-color: var(--info); }

.stat-value { font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-label { color: var(--text-muted); font-size: .875rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .6rem 1.2rem;
    border: none;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-sm { padding: .35rem .75rem; font-size: .8rem; }

.table-responsive { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

table th, table td {
    padding: .75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

table th {
    background: var(--bg);
    font-weight: 600;
    white-space: nowrap;
}

table tr:hover { background: rgba(0,0,0,.02); }

.badge {
    display: inline-block;
    padding: .25rem .6rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    color: #fff;
}

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: .35rem; font-weight: 500; font-size: .9rem; }
.form-group small { color: var(--text-muted); font-size: .8rem; }

.form-control {
    width: 100%;
    padding: .65rem .85rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: .95rem;
    transition: border-color .2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,82,118,.15);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.form-check { display: flex; align-items: center; gap: .5rem; }
.form-check input { width: auto; }

.alert {
    padding: .85rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: .9rem;
}

.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error, .alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1rem;
    align-items: flex-end;
}

.filters .form-group { margin-bottom: 0; min-width: 150px; }

.actions { display: flex; gap: .35rem; flex-wrap: wrap; }

.pagination {
    display: flex;
    gap: .35rem;
    justify-content: center;
    margin-top: 1rem;
}

.pagination a, .pagination span {
    padding: .4rem .75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: .85rem;
}

.pagination a.active, .pagination span.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== LOGIN ===== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #000 45%, #e87722 100%);
    padding: 1rem;
}

.login-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
}

.login-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.login-brand .icon { font-size: 3rem; }
.login-brand p { color: var(--text-muted); margin-top: .5rem; }

/* ===== REGISTRO PÚBLICO QR ===== */
.public-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #1a1a1a 0%, #000 55%, #c9651a 100%);
    padding: 1.5rem 1rem 3rem;
}

.public-header {
    text-align: center;
    color: #fff;
    margin-bottom: 1.5rem;
}

.public-header p { opacity: .9; font-size: 1.1rem; margin-top: .25rem; }

.public-hero-title {
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 800;
    margin: .5rem 0 .35rem;
    letter-spacing: -.02em;
}

.public-hero-sub {
    font-size: 1rem;
    opacity: .88;
    max-width: 420px;
    margin: 0 auto;
}

.public-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem .75rem;
    margin-top: 1rem;
}

.public-trust-badges span {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    padding: .35rem .75rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
}

.registro-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,.28);
    padding: 1.75rem;
    border: 1px solid rgba(255,255,255,.08);
}

.registro-card-form {
    padding: 0;
    overflow: hidden;
}

.registro-intro {
    padding: 1.5rem 1.75rem 0;
    text-align: center;
}

.registro-intro h2 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: .35rem;
}

.registro-intro p {
    color: var(--text-muted);
    font-size: .92rem;
}

.registro-card-form form {
    padding: 1.25rem 1.75rem 1.75rem;
}

.registro-card-success {
    padding: 2rem 1.75rem;
}

.registro-card-form .form-section.registro-section {
    border-bottom: none;
    padding-bottom: 1.25rem;
}

.registro-card-form .form-section.form-section-dark {
    border-bottom: none;
}

.registro-section {
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.registro-section-dark {
    margin-left: -1.75rem;
    margin-right: -1.75rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.section-head {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    margin-bottom: 1.15rem;
}

.section-head-dark .section-desc-light {
    color: rgba(255,255,255,.65);
    font-size: .85rem;
    margin: 0;
}

.section-step {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(232, 119, 34, .35);
}

.section-step-dark {
    background: #fff;
    color: var(--accent);
    box-shadow: none;
}

.section-head .section-title {
    margin-bottom: .15rem;
    font-size: 1.05rem;
    border: none;
    padding: 0;
}

.section-desc {
    color: var(--text-muted);
    font-size: .85rem;
    margin: 0;
}

.req {
    color: var(--accent);
    font-weight: 700;
}

.opt {
    color: var(--text-muted);
    font-weight: 500;
    font-size: .8rem;
}

.cliente-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

.public-page .registro-input,
.public-page .registro-card .form-control {
    background: #fff;
    border: 2px solid #c5cdd6;
    border-radius: 10px;
    padding: .8rem 1rem;
    font-size: 1rem;
    color: var(--text);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}

.public-page .registro-input::placeholder,
.public-page .registro-card .form-control::placeholder {
    color: #9aa5b1;
}

.public-page .registro-input:hover,
.public-page .registro-card .form-control:hover {
    border-color: #94a3b8;
}

.public-page .registro-input:focus,
.public-page .registro-card .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(232, 119, 34, .18);
    outline: none;
}

.public-page .form-group label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: .45rem;
}

.btn-submit-cta {
    width: 100%;
    margin-top: .25rem;
    padding: 1.05rem 1.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .02em;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(232, 119, 34, .4);
}

.btn-submit-cta:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(232, 119, 34, .5);
}

.registro-footer-note {
    text-align: center;
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: .85rem;
}

.politica-section {
    background: #fff;
    border: 2px dashed #d1d9e0;
}

.registro-card h2 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--accent);
}

.registro-card-wide {
    max-width: 640px;
}

.sede-nombre {
    font-size: 1rem;
    opacity: .95;
}

.form-section {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-icon { font-size: 1.2rem; }

.moto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.plan-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: .85rem;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: .85rem;
}

.plan-card {
    min-height: 120px;
}

.plan-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .35rem;
}

.plan-categoria {
    font-size: .75rem;
    color: var(--accent);
    font-weight: 600;
}

.planes-hint {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding: .75rem;
    background: var(--bg);
    border-radius: 6px;
    border-left: 3px solid var(--accent);
}

.planes-loading {
    text-align: center;
    padding: 1rem;
    color: var(--text-muted);
    font-size: .9rem;
}

.politica-section {
    background: var(--bg);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.politica-check label {
    font-size: .85rem;
    line-height: 1.5;
    cursor: pointer;
}

.politica-check a {
    color: var(--accent);
    font-weight: 600;
}

.btn-submit {
    width: 100%;
    margin-top: .5rem;
    padding: 1rem;
    font-size: 1rem;
}

.btn-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

.politica-modal {
    border: none;
    border-radius: var(--radius);
    padding: 0;
    max-width: 520px;
    width: 92%;
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
}

.politica-modal::backdrop {
    background: rgba(0,0,0,.55);
}

.politica-modal-content {
    padding: 1.5rem;
}

.politica-modal-content h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.politica-modal-content ul {
    margin: 1rem 0 1.25rem 1.25rem;
    font-size: .9rem;
}

.comision-planes-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.comision-plan-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.comision-plan-item:hover {
    border-color: var(--accent);
}

.comision-plan-item.checked,
.comision-plan-item:has(input:checked) {
    border-color: var(--success);
    background: rgba(39, 174, 96, .06);
}

.comision-plan-item input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.comision-plan-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    gap: 1rem;
}

.comision-plan-info span {
    color: var(--text-muted);
    font-size: .85rem;
    text-align: right;
}

.comision-plan-info strong + span {
    color: var(--accent);
    font-weight: 600;
}

.liquidacion-opciones {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.liquidacion-opcion {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: .85rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s;
}

.liquidacion-opcion:has(input:checked) {
    border-color: var(--accent);
    background: rgba(232, 119, 34, .05);
}

.liquidacion-opcion input {
    margin-top: .2rem;
    flex-shrink: 0;
}

.liquidacion-opcion span {
    display: flex;
    flex-direction: column;
    gap: .15rem;
}

.liquidacion-opcion small {
    color: var(--text-muted);
    font-size: .8rem;
}

@media (max-width: 520px) {
    .moto-grid,
    .cliente-grid {
        grid-template-columns: 1fr;
    }
    .registro-card-form form {
        padding: 1rem;
    }
    .registro-intro {
        padding: 1.25rem 1rem 0;
    }
    .registro-section-dark {
        margin-left: -1rem;
        margin-right: -1rem;
    }
    .planes-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Catálogo de planes estilo tarjetas (referencia MOTOBOMBON) ===== */
.form-section-dark {
    background: #0d0d0d;
    margin: 1.5rem -1.75rem;
    padding: 1.5rem 1.75rem 1.75rem;
    border-bottom: none;
    border-radius: 0 0 var(--radius) var(--radius);
}

.section-title-light {
    color: #fff !important;
}

.planes-hint-dark {
    background: rgba(255,255,255,.06) !important;
    color: rgba(255,255,255,.75) !important;
    border-left-color: var(--accent) !important;
}

.planes-catalog {
    margin-top: .5rem;
}

.planes-grupo {
    margin-bottom: 1.5rem;
}

.planes-grupo-titulo {
    color: rgba(255,255,255,.85);
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: .85rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .85rem;
}

.planes-resumen {
    background: rgba(232, 119, 34, .15);
    border: 1px solid var(--accent);
    color: #fff;
    padding: .75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: .9rem;
}

.plan-card-dark {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, transform .15s;
    color: #fff;
    text-align: center;
    min-height: 100%;
}

.plan-card-dark:hover {
    border-color: #444;
    transform: translateY(-2px);
}

.plan-card-dark.selected {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 8px 24px rgba(232, 119, 34, .25);
}

.plan-card-dark input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.plan-card-img {
    width: 100%;
    height: 110px;
    overflow: hidden;
    background: #111;
}

.plan-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plan-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    opacity: .35;
}

.plan-card-body {
    padding: .85rem .75rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
}

.plan-card-name {
    font-weight: 800;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.plan-card-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.plan-card-tag {
    font-size: .7rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
}

.plan-card-desc {
    font-size: .72rem;
    line-height: 1.45;
    color: rgba(255,255,255,.65);
    margin-top: .35rem;
    text-transform: uppercase;
}

.plan-card-meta {
    font-size: .7rem;
    color: rgba(255,255,255,.45);
    margin-top: .25rem;
}

.plan-card-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,.6);
    border: 2px solid rgba(255,255,255,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
}

.plan-card-dark.selected .plan-card-check {
    background: var(--accent);
    border-color: var(--accent);
}

@media (max-width: 400px) {
    .form-section-dark {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.plan-option {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    cursor: pointer;
    transition: all .2s;
}

.plan-option:hover { border-color: var(--primary); }
.plan-option.selected { border-color: var(--accent); background: rgba(230,126,34,.05); }
.plan-option input { display: none; }
.plan-option .plan-name { font-weight: 600; }
.plan-option .plan-price { color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.plan-option .plan-desc { font-size: .85rem; color: var(--text-muted); margin-top: .25rem; }

.success-message {
    text-align: center;
    padding: 2rem;
}

.success-message .icon { font-size: 4rem; margin-bottom: 1rem; }

/* Lavados en vivo */
.lavado-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: .75rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .75rem;
    align-items: center;
    transition: box-shadow .2s;
}

.lavado-card.new-entry { animation: pulse 1s ease; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(230,126,34,.4); }
    70% { box-shadow: 0 0 0 10px rgba(230,126,34,0); }
    100% { box-shadow: 0 0 0 0 rgba(230,126,34,0); }
}

.lavado-info h3 { font-size: 1rem; margin-bottom: .25rem; }
.lavado-meta { font-size: .85rem; color: var(--text-muted); }

.estado-actions { display: flex; flex-wrap: wrap; gap: .35rem; }

.qr-box {
    text-align: center;
    padding: 1rem;
    background: var(--bg);
    border-radius: var(--radius);
    margin-top: 1rem;
}

.qr-url {
    word-break: break-all;
    font-size: .85rem;
    color: var(--primary);
    margin: .5rem 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay {
        display: block;
    }

    .main-wrapper {
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .lavado-card {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 993px) {
    .menu-toggle {
        display: none;
    }
}
@media (max-width: 480px) {
    .main-content { padding: 1rem; }
    .card { padding: 1rem; }
    .login-card { padding: 1.5rem; }
}
