body {
    background-color: #fff3e0;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-metric {
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
}

.metric-blue {
    background-color: #2962ff;
}

.metric-yellow {
    background-color: #f9a825;
}

.metric-green {
    background-color: #2e7d32;
}

.metric-purple {
    background-color: #8e24aa;
}

.metric-red {
    background-color: #d32f2f;
}

.card-recent, .card-tables {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.status-badge {
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pendiente {
    background-color: #fff3cd;
    color: #856404;
}

.status-entregado {
    background-color: #e2e3e5;
    color: #383d41;
}

.status-listo {
    background-color: #d4edda;
    color: #155724;
}

.mesa {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin: 5px;
}

    .mesa.ocupada {
        background-color: #e53935;
    }

    .mesa.disponible {
        background-color: #43a047;
    }
  .card-summary {
      color: white;
      border-radius: 10px;
      text-align: center;
      padding: 20px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .bg-azul { background-color: #1e5ed6; }
    .bg-amarillo { background-color: #d49a00; }
    .bg-verde { background-color: #28a745; }
    .bg-morado { background-color: #8a2be2; }
    .bg-rojo { background-color: #dc3545; }
    .status {
      display: inline-block;
      padding: 3px 10px;
      border-radius: 15px;
      font-size: 0.8rem;
    }
    .status-pendiente { background-color: #fff3cd; color: #856404; }
    .status-listo { background-color: #d4edda; color: #155724; }
    .status-entregado { background-color: #e2e3e5; color: #383d41; }
    .mesa {
      width: 75px;
      height: 75px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 10px;
      margin: 8px;
      font-weight: bold;
      color: white;
      flex-direction: column;
    }
    .mesa.ocupada { background-color: #dc3545; }
    .mesa.disponible { background-color: #28a745; }
    .mesa small { color: #fff; font-weight: normal; }


    /**     parte de pedido s             */
.card {
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.2s;
}

    .menu-card:hover {
        transform: scale(1.02);
    }

.btn-agregar {
    background-color: rgb(217 119 6 / var(--tw-bg-opacity, 1));
    color: white;
    width: 100%;
    border-radius: 8px;
    font-weight: 500;
}

    .btn-agregar:hover {
        background-color: #b36a00;
        color: white;
    }

.precio {
    color: #d18600;
    font-weight: bold;
}


   .card {
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .btn-agregar:hover {
      background-color: #b86800;
      color: white;
    }
    .btn-crear {
      background-color: #7cd89b;
      color: white;
      font-weight: 600;
    }
    .btn-crear:hover {
      background-color: #68c589;
      color: white;
    }


    /*cocina*/
.card {
    border: 2px solid #ffffff !important; /* borde blanco */
    border-radius: 12px;
}

.card-pendiente {
    background-color: #fffbe6;
}

.card-listo {
    background-color: #e9fdf0;
}

.card-header {
    border-bottom: none;
    background-color: #fff !important;
    border-radius: 12px 12px 0 0;
}





/*.btnMio {
    background-color: rgb(217 119 6 / var(--tw-bg-opacity, 1));
  
}

    .btnMio:hover {
        --tw-bg-opacity: 1;
        background-color: rgb(180 83 9 / var(--tw-bg-opacity, 1));
    }

    .custom-card {
            border: 1px solid rgba(0, 0, 0, 0.125);
            border-radius: 0.25rem;
            box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
            margin-bottom: 20px;
            background-color: white; /* Fondo blanco para las tarjetas principales */
}

.card-header-pending {
    background-color: #fefee3; /* Fondo amarillo claro para "Pendientes" */
}

.card-header-done {
    background-color: #e5ffe5; /* Fondo verde claro para "Listos" */
}

.card-title-lg {
    font-size: 1.25rem; /* Ajustar tamaño para el título de la mesa */
    font-weight: 600;
}

.card-body-content {
    padding-top: 5px; /* Pequeño ajuste para el contenido */
    padding-bottom: 5px;
}

.btn-primary-custom {
    background-color: #0d6efd; /* Azul, similar al de la imagen */
    border-color: #0d6efd;
}

.btn-secondary-custom {
    background-color: #5c636a; /* Gris oscuro, similar al de la imagen */
    border-color: #5c636a;
}

.icon-text {
    display: flex;
    align-items: center;
}
/* Ajuste de íconos (requiere Font Awesome o un SVG/otro método) */
/* Para esta demo usaré solo texto para los íconos */

.main-card {
    background-color: white;
    padding: 20px;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.table-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px; /* Espacio entre filas */
}

.table-box {
    width: 80px; /* Ancho fijo para la caja de la mesa */
    height: 80px; /* Alto fijo para la caja de la mesa */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem; /* Bordes redondeados */
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

    .table-box .capacity {
        font-size: 0.9rem;
        font-weight: normal;
    }
/* Clases de colores personalizadas */
.bg-green-custom {
    background-color: #28a745; /* Verde Bootstrap Success */
}

.bg-red-custom {
    background-color: #dc3545; /* Rojo Bootstrap Danger */
}

.status-text {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 5px;
}

.sub-status-text {
    font-size: 0.75rem;
    color: #6c757d; /* Gris */
    line-height: 1;
}

.legend-box {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
    border-radius: 3px;
}


/* MENUES*/
:root {
    --brand: #d97706; /* naranja */
    --brand-100: #fff3e0;
    --card-border: #f1e6d2;
    --text-strong: #1f2937;
    --bg-soft: #fff1dc5e; /* beige suave del fondo */
    --card-bd: #efe4cf; /* borde de cards */
    --title: #111827; /* texto fuerte */
    --pill: #111; /* pill oscuro */
    --success: #16a34a;
    --lav: #f0e9ff; /* lila muy tenue */
}

body {
    background: var(--brand-100);
}

.section-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.menu-item.card {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,.04);
}

.menu-item .title {
    color: var(--text-strong);
    font-weight: 700;
}

.price {
    color: var(--brand);
    font-weight: 700;
    font-size: 1.15rem;
}

.pill-available {
    background: #111;
    color: #fff;
    border-radius: 999px;
    font-size: .75rem;
    padding: .2rem .55rem;
}

.badge-category {
    background: #f4efe6;
    color: #333;
    border-radius: 999px;
    font-weight: 500;
}

.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

    .btn-brand:hover {
        filter: brightness(.95);
        color: #fff;
    }

/* BILLING*/

.panel {
    background: #fff;
    border: 1px solid var(--card-bd);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    padding: 1rem 1.25rem;
}

.invoice-card {
    border: 1px solid var(--card-bd);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,.04);
}

.invoice-title {
    color: var(--title);
    font-weight: 800;
}

.invoice-amount {
    color: var(--success);
    font-weight: 800;
    font-size: 1.25rem;
}

.pill {
    background: var(--pill);
    color: #fff;
    border-radius: 999px;
    padding: .2rem .55rem;
    font-size: .75rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.stat {
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--card-bd);
    background: #f8fff6; /* default */
}

    .stat .value {
        font-weight: 800;
        font-size: 1.4rem;
    }

    .stat.success {
        background: #eaf7ec;
    }

    .stat.primary {
        background: #eef5ff;
    }

    .stat.lav {
        background: var(--lav);
    }

.btn-mint {
    background: #86e1a8;
    border-color: #86e1a8;
    color: #0e5132;
    font-weight: 600;
}

    .btn-mint:hover {
        filter: brightness(.95);
        color: #0e5132;
    }

/*Inventory*/

.title {
    font-weight: 800;
    color: var(--text-strong);
}

.qty {
    font-weight: 800;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border-radius: 999px;
    padding: .15rem .55rem;
    font-size: .75rem;
    background: #f4efe6;
    color: #333;
}

.muted {
    color: #6b7280;
    font-size: .9rem;
}

.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.delta {
    color: #16a34a;
    background: #eaf7ec;
    border-radius: 999px;
    padding: .1rem .5rem;
    font-size: .8rem;
    font-weight: 700;
}
.gbFondo {
    background-color: #681cbe;
    background-image: linear-gradient(180deg, #212529 10%, #224abe 100%);
    background-size: cover;
}

.disabled-area {
    opacity: 0.3; /* opacidad baja */
    pointer-events: none; /* NO permite clics */
    filter: grayscale(50%); /* opcional, se ve más apagado */
    transition: opacity 0.3s ease;
}

.enabled-area {
    opacity: 1;
    pointer-events: auto;
    filter: none;
}