/* ============================================
   POMOD'ORO BRAND IDENTITY & RESET
   ============================================ */
:root {
    /* Palette Ufficiale dal Menù */
    --brand-red: #e63946;       /* Il rosso del logo e della scritta MENU */
    --brand-yellow: #ffcc00;    /* Il giallo oro dei prezzi */
    --bg-dark: #121212;         /* Sfondo "Lavagna" nero opaco */
    --bg-card: #1c1c1c;         /* Grigio scurissimo per le card */
    --text-white: #ffffff;      /* Testo descrizioni */
    --text-muted: #a0a0a0;
    
    --transition: all 0.25s ease-in-out;
    --border-radius: 12px;
    --border-chalk: 1px solid rgba(255, 255, 255, 0.1);
}

/* RESET GLOBALE */
body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* CURSORE MANINA (Universal Fix) */
a, button, .nav-brand, .btn, .category-tab, .admin-table tr, 
select, input[type="radio"], .type-option {
    cursor: pointer !important;
}

/* ============================================
   TABLES & ADMIN (Stile Dashboard Professionale)
   ============================================ */
.admin-table-wrapper {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow-x: auto;
    margin-top: 20px;
    border: var(--border-chalk);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.admin-table th {
    padding: 18px 15px;
    text-align: left;
    font-size: 13px;
    font-weight: 900;
    color: var(--brand-yellow); /* Titoli tabelle in Oro */
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0,0,0,0.2);
    border-bottom: 2px solid var(--brand-red); /* Riga rossa sotto testata */
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.95rem;
}

.admin-table tr:hover {
    background: rgba(230, 57, 70, 0.05); /* Overlay rossastro leggero al passaggio */
}

/* ============================================
   BADGES (Stato Ordini)
   ============================================ */
.badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-pending   { background: #444; color: var(--brand-yellow); border: 1px solid var(--brand-yellow); }
.badge-cooking   { background: var(--brand-red); color: #fff; }
.badge-ready     { background: #2ecc71; color: #fff; }
.badge-canceled  { background: transparent; color: #7f8c8d; border: 1px solid #7f8c8d; }

/* ============================================
   FORM ELEMENTS (Stile Dark)
   ============================================ */
input, select, textarea {
    background: #252525 !important;
    border: 1px solid #444 !important;
    color: white !important;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: inherit;
}

input:focus {
    border-color: var(--brand-yellow) !important;
    outline: none;
}

/* ============================================
   UTILITY & RESPONSIVE
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .container { padding: 15px; }
    .admin-table th, .admin-table td { padding: 12px 10px; font-size: 0.85rem; }
}
