Files
2026-06-30 15:00:32 -03:00

181 lines
3.5 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f4f6f9;
color: #333;
display: flex;
min-height: 100vh;
}
/* --- MENÚ LATERAL (SIDEBAR) --- */
.sidebar {
width: 260px;
background-color: #1e2229;
color: #fff;
padding: 20px 0;
position: fixed;
height: 100vh;
display: flex;
flex-direction: column;
}
.sidebar .brand {
text-align: center;
padding-bottom: 20px;
border-bottom: 1px solid #323743;
margin-bottom: 20px;
}
.sidebar .brand h3 {
color: #e02828;
font-size: 1.4rem;
letter-spacing: 1px;
}
.sidebar-menu {
list-style: none;
}
.sidebar-menu li a {
display: flex;
align-items: center;
gap: 15px;
padding: 15px 25px;
color: #b8c7ce;
text-decoration: none;
font-size: 0.95rem;
transition: all 0.3s ease;
}
.sidebar-menu li a:hover,
.sidebar-menu li.active a {
color: #fff;
background-color: #e02828;
border-left: 4px solid #fff;
}
.sidebar-menu li a i {
font-size: 1.1rem;
}
/* --- CONTENEDOR PRINCIPAL --- */
.main-content {
margin-left: 260px;
padding: 40px;
width: calc(100% - 260px);
}
.page-header {
margin-bottom: 30px;
border-bottom: 2px solid #e2e8f0;
padding-bottom: 15px;
}
.page-header h1 {
font-size: 1.8rem;
color: #222;
}
/* --- TARJETAS INFORMATIVAS (DASHBOARD) --- */
.dashboard-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.card {
background: #fff;
padding: 20px;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0,0,0,0.02);
display: flex;
align-items: center;
justify-content: space-between;
}
.card .card-info h3 {
font-size: 1.8rem;
color: #1e2229;
margin-top: 5px;
}
.card .card-info p {
color: #777;
font-size: 0.85rem;
text-transform: uppercase;
}
.card i {
font-size: 2.2rem;
color: #e02828;
opacity: 0.2;
}
/* --- TABLAS DE GESTIÓN (PEDIDOS E INVENTARIO) --- */
.table-container {
background: #fff;
padding: 25px;
border-radius: 15px;
box-shadow: 0 4px 6px rgba(0,0,0,0.02);
overflow-x: auto;
}
.admin-table {
width: 100%;
border-collapse: collapse;
text-align: left;
}
.admin-table th {
background-color: #f8fafc;
color: #64748b;
padding: 14px;
font-size: 0.85rem;
text-transform: uppercase;
font-weight: 600;
border-bottom: 2px solid #edf2f7;
}
.admin-table td {
padding: 14px;
border-bottom: 1px solid #edf2f7;
font-size: 0.95rem;
vertical-align: middle;
}
.admin-table tr:hover {
background-color: #f8fafc;
}
/* --- BADGES (ESTADOS DEL PEDIDO CONCORDANTES) --- */
.badge {
padding: 6px 12px;
border-radius: 50px;
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
display: inline-block;
}
.badge-pendiente { background-color: #ffeeba; color: #856404; }
.badge-cocina { background-color: #ffdaf0; color: #b52b65; }
.badge-listo { background-color: #d1ecf1; color: #0c5460; }
.badge-camino { background-color: #cce5ff; color: #004085; }
.badge-entregado { background-color: #d4edda; color: #155724; }
.badge-cancelado { background-color: #f8d7da; color: #721c24; }
/* --- CONTROLES Y SELECTORES --- */
.select-status {
padding: 6px 10px;
border-radius: 6px;
border: 1px solid #cbd5e1;
font-size: 0.85rem;
background-color: #fff;
cursor: pointer;
}