.dashboard-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:20px;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.stat-card{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:18px;
    padding:22px;
}

.stat-card strong{
    display:block;
    margin-top:10px;
    font-size:2rem;
    color:var(--brand);
}

.table-wrap{
    overflow:auto;
}

.table{
    width:100%;
    border-collapse:collapse;
}

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










.panel-card{
    background:var(--card);
    border:1px solid var(--line);
    border-radius:18px;
    padding:20px;
}

.mt-24{
    margin-top:24px;
}

.dashboard-grid{
    display:grid;
    grid-template-columns:340px 1fr;
    gap:20px;
    align-items:start;
}

.panel-head-inline{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:14px;
}

.simple-form{
    padding:0;
    margin-top:10px;
    background:transparent;
    border:none;
}

.inline-form{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.inline-input{
    min-width:180px;
    padding:10px 12px;
    border-radius:10px;
    border:1px solid var(--line);
    background:#0f172a;
    color:#fff;
}

.mini-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 14px;
    border-radius:10px;
    background:#1e293b;
    border:1px solid var(--line);
    color:#fff;
    cursor:pointer;
    font-weight:700;
}

.mini-btn:hover{
    border-color:var(--brand);
}

.mini-btn.danger{
    background:rgba(239,68,68,.12);
    border-color:rgba(239,68,68,.35);
    color:#fca5a5;
}

.status-badge{
    display:inline-flex;
    align-items:center;
    padding:7px 12px;
    border-radius:999px;
    font-size:.85rem;
    font-weight:700;
}

.status-badge.success{
    background:rgba(34,197,94,.12);
    border:1px solid rgba(34,197,94,.30);
    color:#4ade80;
}

.status-badge.danger{
    background:rgba(239,68,68,.12);
    border:1px solid rgba(239,68,68,.30);
    color:#f87171;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
    gap:20px;
}

.product-card{
    background:#0f172a;
    border:1px solid var(--line);
    border-radius:18px;
    overflow:hidden;
}

.product-card-image{
    width:100%;
    height:220px;
    object-fit:cover;
}

.product-card-body{
    padding:16px;
}

.product-card-body h3{
    margin-bottom:10px;
}

.product-meta{
    display:grid;
    gap:6px;
    margin:14px 0;
    color:var(--muted);
}

.product-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:14px;
}

.edit-image-box{
    margin-top:10px;
}

.edit-image-preview{
    width:100%;
    max-width:420px;
    height:240px;
    object-fit:cover;
    border-radius:16px;
    border:1px solid var(--line);
}

.form-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:20px;
}

@media (max-width:900px){
    .dashboard-grid{
        grid-template-columns:1fr;
    }
}























.filter-tabs{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.filter-tab{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    border-radius:999px;
    background:#0f172a;
    border:1px solid var(--line);
    color:#fff;
    font-weight:700;
}

.filter-tab.active{
    border-color:var(--brand);
    color:var(--brand);
}

.status-badge.warning{
    background:rgba(245,158,11,.12);
    border:1px solid rgba(245,158,11,.30);
    color:#fbbf24;
}

.pedido-layout{
    display:grid;
    grid-template-columns:1fr 360px;
    gap:20px;
    align-items:start;
}

.detail-list{
    display:grid;
    gap:10px;
    margin-top:14px;
    color:var(--muted);
}

.pedido-totals{
    margin-top:18px;
    display:grid;
    gap:8px;
    color:var(--muted);
}

.perfil-media-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:20px;
    margin-top:20px;
}

.media-card{
    display:grid;
    gap:12px;
}

.perfil-media-preview{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:16px;
    border:1px solid var(--line);
    background:#0f172a;
}

@media (max-width:980px){
    .pedido-layout{
        grid-template-columns:1fr;
    }

    .perfil-media-grid{
        grid-template-columns:1fr;
    }
}






.dashboard-hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:24px;
    padding:24px;
    background:linear-gradient(135deg, #0f172a, #111827, #1e293b);
    border:1px solid var(--line);
    border-radius:22px;
}

.quick-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

/* ===============================
   HORARIO PERFIL PRO COMPACTO
================================ */

.horario-box{
    margin-top:22px;
    padding:18px;
    border-radius:24px;
    background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
    border:1px solid rgba(255,255,255,.10);
    box-shadow:0 18px 38px rgba(0,0,0,.20);
}

.horario-box h3{
    color:#fff;
    font-size:1.25rem;
    margin-bottom:4px;
}

.horario-box > p{
    color:#cbd5e1;
    font-size:.92rem;
    margin-bottom:16px;
}

.horario-row{
    display:grid;
    grid-template-columns:120px 110px 1fr 1fr;
    gap:12px;
    align-items:center;
    padding:12px;
    margin-bottom:10px;
    border-radius:18px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.07);
}

.horario-row:last-child{
    margin-bottom:0;
}

.horario-dia{
    font-weight:900;
    color:#fff;
}

.horario-check{
    display:flex;
    align-items:center;
    gap:8px;
    color:#dbeafe;
    font-weight:800;
}

.horario-check input{
    width:18px;
    height:18px;
    accent-color:#22c55e;
}

.horario-row label{
    display:block;
    margin-bottom:5px;
    font-size:.78rem;
    font-weight:900;
    color:#94a3b8;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.horario-row input[type="time"]{
    width:100%;
    padding:11px 12px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(15,23,42,.90);
    color:#fff;
    outline:none;
}

.horario-row input[type="time"]:focus{
    border-color:#22c55e;
    box-shadow:0 0 0 4px rgba(34,197,94,.14);
}

@media(max-width:760px){
    .horario-row{
        grid-template-columns:1fr;
        gap:8px;
    }
}










/* ===============================
   css de producto eliminar.php
================================ */

.danger-btn {
    background: #ef4444;
    color: #fff;
}

.danger-btn:hover {
    background: #dc2626;
}