:root {
    --primary-color: #d4a373;
    --secondary-color: #b8835a;
    --dark-color: #5c3d2e;
    --light-color: #f8f0e8;
    --brand-primary: #d4a373;
    --brand-secondary: #f0e6d8;
    --brand-accent: #b8835a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #faf6f0 0%, #f0e6d8 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== NAVBAR ===== */
.navbar-custom {
    background: linear-gradient(135deg, #5c3d2e 0%, #8b6b4a 100%);
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-custom .navbar-brand {
    color: #fff;
    font-weight: bold;
    font-size: 1.3rem;
}
.navbar-custom .navbar-brand:hover { color: #f8f0e8; }

.navbar-custom .nav-link {
    color: rgba(255,255,255,0.85) !important;
    transition: all 0.3s;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}
.navbar-custom .nav-link:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.12);
}
.navbar-custom .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,0.2);
}

.navbar-custom .dropdown-menu {
    background: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 8px;
}
.navbar-custom .dropdown-item {
    color: #5c3d2e;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}
.navbar-custom .dropdown-item:hover {
    background: #f8f0e8;
    color: #5c3d2e;
}
.navbar-custom .dropdown-item i { margin-right: 10px; width: 20px; }

.btn-cart {
    background: #ff6b35;
    color: #fff;
    border-radius: 20px;
    padding: 0.2rem 1rem;
    position: relative;
    font-size: 0.9rem;
}
.btn-cart:hover { background: #e55a2b; color: #fff; }

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff0000;
    color: #fff;
    border-radius: 50%;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: bold;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 6px;
}

/* ===== CONTEÚDO PRINCIPAL ===== */
.main-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    width: 100%;
}
.main-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== CARDS EM RELEVO ===== */
.card-elevated {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 8px 15px rgba(0,0,0,0.05), 0 20px 40px rgba(0,0,0,0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    margin-bottom: 0;
    min-height: 400px;
}
.card-elevated:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1), 0 15px 30px rgba(0,0,0,0.08), 0 30px 60px rgba(0,0,0,0.05);
}

/* ===== DASHBOARD ===== */
.dashboard-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: all 0.3s;
    border: 1px solid rgba(212,163,115,0.2);
    height: 100%;
    cursor: pointer;
}
.dashboard-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    border-color: #d4a373;
}
.dashboard-card i { color: #d4a373; }
.dashboard-card h5 {
    color: #5c3d2e;
    font-weight: 600;
}
.dashboard-card .text-muted { font-size: 0.85rem; }

/* ===== TÍTULOS ===== */
.page-title {
    color: #5c3d2e;
    border-bottom: 3px solid #d4a373;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.page-title i {
    color: #d4a373;
    margin-right: 10px;
}
.page-title-wrapper { margin-bottom: 3rem; position: relative; }

/* ===== TABELAS ===== */
.card-elevated .table { margin-bottom: 0; }
.card-elevated .table thead th {
    border-bottom: 2px solid #f0e6d8;
    color: #5c3d2e;
    font-weight: 600;
}
.card-elevated .table tbody tr:hover { background: #faf6f0; }

/* ===== BOTÕES ===== */
.btn-primary {
    background: #d4a373;
    border-color: #b8835a;
}
.btn-primary:hover {
    background: #b8835a;
    border-color: #a0704a;
}

.btn-brand {
    background: #d4a373;
    color: white;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-brand:hover {
    background: #b8835a;
    color: white;
}

.btn-brand-outline {
    color: #5c3d2e;
    border: 2px solid #d4a373;
    background: transparent;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-brand-outline:hover {
    background: #d4a373;
    color: white;
}

/* ===== ALERTAS ===== */
.alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ===== FOOTER ===== */
footer {
    background: #5c3d2e;
    color: rgba(255,255,255,0.7);
    padding: 1rem 0;
    margin-top: auto;
    font-size: 0.9rem;
}
footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
}
footer a:hover { color: #fff; }

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .main-wrapper { padding: 1rem 0.5rem; }
    .card-elevated {
        padding: 1rem;
        min-height: auto;
    }
}

/* ======================================================
   PRODUTOS (CARDS)
   ====================================================== */
.card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(212,163,115,0.15);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
.card-img-top { border-radius: 0; }
.card-footer { padding: 0.8rem 1rem; }
.card .badge {
    font-weight: 400;
    padding: 0.3rem 0.8rem;
}

.product-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    border: 1px solid rgba(212,163,115,0.15);
    background: #ffffff;
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #d4a373;
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f0e8;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-image .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f0e8;
    color: #d4a373;
    font-size: 3rem;
}

.product-card .card-body { padding: 1.2rem 1rem; }
.product-card .card-title {
    color: #5c3d2e;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}
.product-price { margin: 0.5rem 0; }
.product-price .price-main {
    font-size: 1.3rem;
    font-weight: 700;
    color: #5c3d2e;
}
.product-price .price-unit {
    font-size: 0.85rem;
    color: #8b6b4a;
    font-weight: 500;
}
.product-card .badge {
    font-weight: 400;
    padding: 0.3rem 0.8rem;
    background: #f0e6d8 !important;
    color: #5c3d2e;
}
.product-card .card-footer {
    padding: 0.8rem 1rem 1.2rem;
    background: transparent;
}
.product-card .btn-warning {
    background: #f0e6d8;
    border: none;
    color: #5c3d2e;
    font-weight: 500;
    border-radius: 10px;
    padding: 0.5rem;
    transition: all 0.3s;
}
.product-card .btn-warning:hover {
    background: #d4a373;
    color: #fff;
}

/* ======================================================
   SABORES (CARDS)
   ====================================================== */
.sabor-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    border: 1px solid rgba(212,163,115,0.15);
    background: #ffffff;
    text-align: center;
}
.sabor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    border-color: #d4a373;
}
.sabor-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f8f0e8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    font-size: 2rem;
    color: #d4a373;
}
.sabor-card .card-title {
    color: #5c3d2e;
    font-weight: 600;
    font-size: 1.1rem;
}
.sabor-price { margin-top: 0.5rem; }
.sabor-price .price-main {
    font-size: 1.2rem;
    font-weight: 700;
    color: #5c3d2e;
}
.sabor-price .price-unit {
    font-size: 0.8rem;
    color: #8b6b4a;
    display: block;
}
.sabor-card .card-footer {
    padding: 0.8rem 1rem 1.2rem;
    background: transparent;
}
.sabor-card .btn-warning {
    background: #f0e6d8;
    border: none;
    color: #5c3d2e;
    font-weight: 500;
    border-radius: 10px;
    padding: 0.5rem;
    transition: all 0.3s;
}
.sabor-card .btn-warning:hover {
    background: #d4a373;
    color: #fff;
}

/* ======================================================
   STATUS BADGE (PRODUTOS)
   ====================================================== */
.status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.status-active { background: #28a745; }
.status-inactive { background: #dc3545; }

/* ======================================================
   ESTADO VAZIO
   ====================================================== */
.empty-state {
    background-color: #fff;
    border: 2px dashed rgba(0,0,0,0.1);
    border-radius: 16px;
    padding: 4rem 2rem;
}

/* ======================================================
   CARDÁPIO - EXTRA
   ====================================================== */
.price-tag {
    font-weight: 600;
    font-size: 1.3rem;
    color: #5c3d2e;
}
.category-badge {
    background-color: #f0e6d8;
    color: #5c3d2e;
    border: 1px solid #d4a373;
    font-weight: 500;
    padding: 0.4em 0.8em;
}

/* ======================================================
   RESPONSIVO - PRODUTOS
   ====================================================== */
@media (max-width: 768px) {
    .product-image { height: 150px; }
    .product-card .card-title { font-size: 1rem; }
    .product-price .price-main { font-size: 1.1rem; }
}

/* ======================================================
   MEUS PEDIDOS - CARDS
   ====================================================== */
.pedido-cliente-card {
    border-radius: 16px;
    border: 1px solid rgba(212, 163, 115, 0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}
.pedido-cliente-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.pedido-cliente-card .card-header {
    background: linear-gradient(135deg, #faf6f0 0%, #f0e6d8 100%);
    border-bottom: 2px solid #d4a373;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pedido-cliente-card .card-header .fw-bold {
    color: #5c3d2e;
    font-size: 0.95rem;
}
.pedido-cliente-card .card-body { padding: 16px; }
.pedido-cliente-card .card-body .info-linha {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}
.pedido-cliente-card .card-body .info-linha .label {
    color: #8b6b4a;
    font-size: 0.85rem;
}
.pedido-cliente-card .card-body .info-linha .valor {
    color: #5c3d2e;
    font-weight: 600;
    font-size: 0.95rem;
}
.pedido-cliente-card .card-body .total-destaque {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d4a373;
}
.pedido-cliente-card .card-body .obs-box {
    background: #f8f0e8;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #6c5a4a;
    margin: 8px 0 12px 0;
}
.pedido-cliente-card .card-body .obs-box strong { color: #5c3d2e; }

/* Barra de progresso - Meus Pedidos */
.pedido-cliente-card .progress-container { margin-top: 12px; }
.pedido-cliente-card .progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}
.pedido-cliente-card .progress-labels small {
    font-size: 0.6rem;
    color: #a0806a;
    font-weight: 500;
}
.pedido-cliente-card .progress {
    height: 6px;
    border-radius: 10px;
    background: #f0e6d8;
}
.pedido-cliente-card .progress .progress-bar { border-radius: 10px; }

/* Status Badge - Meus Pedidos */
.pedido-cliente-card .status-badge {
    position: static;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow: none;
}
.pedido-cliente-card .status-badge.status-pendente {
    background: #ffc107;
    color: #000;
}
.pedido-cliente-card .status-badge.status-em_preparacao {
    background: #fd7e14;
    color: #fff;
}
.pedido-cliente-card .status-badge.status-em_transito {
    background: #0d6efd;
    color: #fff;
}
.pedido-cliente-card .status-badge.status-finalizado {
    background: #198754;
    color: #fff;
}
.pedido-cliente-card .status-badge.status-pago {
    background: #28a745;
    color: #fff;
}
.pedido-cliente-card .status-badge.status-cancelado {
    background: #dc3545;
    color: #fff;
}

.pedido-cliente-card .card-footer {
    background: transparent;
    border-top: 1px solid rgba(212, 163, 115, 0.15);
    padding: 12px 16px;
}
.pedido-cliente-card .card-footer .btn {
    border-radius: 30px;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s;
}
.pedido-cliente-card .card-footer .btn:hover {
    background: #d4a373;
    color: #fff;
    border-color: #d4a373;
}

/* Responsivo - Meus Pedidos */
@media (max-width: 768px) {
    .pedido-cliente-card .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .pedido-cliente-card .card-header .status-badge {
        align-self: flex-start;
    }
    .pedido-cliente-card .card-body .info-linha {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
}
@media (max-width: 576px) {
    .pedido-cliente-card .card-body .total-destaque { font-size: 1.1rem; }
}

/* ======================================================
   MODAL DETALHES - MEUS PEDIDOS
   ====================================================== */
#modalDetalhesClienteCustom {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 700px;
    width: 95%;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 999999;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
#modalDetalhesClienteCustom .modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}
#modalDetalhesClienteCustom .modal-close:hover { color: #5c3d2e; }
#modalDetalhesClienteCustom .endereco-box {
    background: #f8f0e8;
    padding: 10px 15px;
    border-radius: 8px;
    margin-top: 5px;
    font-size: 0.9rem;
    color: #5c3d2e;
}
/* ======================================================
   INDEX - FULL WIDTH
   ====================================================== */
   .dashboard-full {
    width: 100%;
    padding: 20px;
    margin: 0;
}

.hero-full {
    background: linear-gradient(135deg, #fdf6e3, #f4eee1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

.grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    width: 100%;
}

.card-full {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    color: #5c3d2e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(212, 163, 115, 0.15);
    transition: all 0.3s;
}

.card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #d4a373;
    background: #faf6f0;
}

.card-full i {
    font-size: 2.5rem;
    color: #d4a373;
    display: block;
    margin-bottom: 0.5rem;
}

.card-full h5 {
    font-weight: 600;
    font-size: 1rem;
    margin: 0.2rem 0;
    color: #5c3d2e;
}

.card-full small {
    color: #8b6b4a;
    font-size: 0.75rem;
    display: block;
}

.modulo-label {
    font-weight: 600;
    color: #5c3d2e;
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0e6d8;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .grid-full { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .grid-full { grid-template-columns: repeat(2, 1fr); }
    .hero-full { padding: 1.5rem; }
    .dashboard-full { padding: 12px; }
}
@media (max-width: 480px) {
    .grid-full { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .card-full { padding: 1rem 0.6rem; }
    .card-full i { font-size: 1.8rem; }
    .card-full h5 { font-size: 0.8rem; }
    .card-full small { font-size: 0.6rem; }
}
/* ===== FULL WIDTH ===== */
.main-wrapper-full {
    flex: 1;
    width: 100%;
    padding: 0;
    margin: 0;
}

.main-content-full {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    margin: 0;
}

/* Remove o card-elevated antigo */
.card-elevated {
    max-width: 100% !important;
    padding: 0 !important;
    min-height: auto !important;
    width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
}
/* ===== CONTEÚDO PRINCIPAL - FLUIDO E ELEGANTE ===== */
.main-wrapper {
    flex: 1;
    width: 100%;
    padding: 0;
    margin: 0;
    background: #faf6f0;
}

.main-content-fluid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 32px;
}

/* ===== CARD ELEGANTE ===== */
.card-elegant {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(212, 163, 115, 0.12);
    min-height: 60vh;
    transition: all 0.3s;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
    .main-content-fluid {
        padding: 16px;
    }
    .card-elegant {
        padding: 18px 16px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .main-content-fluid {
        padding: 10px;
    }
    .card-elegant {
        padding: 14px 12px;
        border-radius: 12px;
    }
}

/* ======================================================
   RELATÓRIOS
   ====================================================== */
   .relatorio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.relatorio-header h2 {
    color: #5c3d2e;
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0;
}

.relatorio-header h2 i {
    color: #d4a373;
    margin-right: 10px;
}

.filtros-relatorio {
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    border: 1px solid rgba(212, 163, 115, 0.12);
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.filtros-relatorio label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #5c3d2e;
    margin-bottom: 4px;
}

.filtros-relatorio .form-control {
    border-radius: 10px;
    border: 1px solid #e8ddd0;
    background: #fafaf8;
    font-size: 0.9rem;
    height: 40px;
}

.filtros-relatorio .form-control:focus {
    border-color: #d4a373;
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.12);
    background: #fff;
}

.btn-filtrar-relatorio {
    background: #d4a373;
    border: none;
    color: #fff;
    border-radius: 10px;
    height: 40px;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0 24px;
}

.btn-filtrar-relatorio:hover {
    background: #b8835a;
    color: #fff;
}

.card-resumo {
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px;
    border: 1px solid rgba(212, 163, 115, 0.12);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.card-resumo .numero {
    font-size: 1.8rem;
    font-weight: 700;
    color: #5c3d2e;
}

.card-resumo .label {
    color: #8b6b4a;
    font-size: 0.85rem;
}

.card-resumo .numero.verde { color: #28a745; }
.card-resumo .numero.laranja { color: #fd7e14; }

.table-relatorio {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
    font-size: 0.9rem;
}

.table-relatorio thead th {
    background: #f8f4f0;
    color: #5c3d2e;
    font-weight: 600;
    padding: 10px 14px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 2px solid #e8ddd0;
}

.table-relatorio tbody tr {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
    transition: all 0.3s;
}

.table-relatorio tbody tr:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.table-relatorio tbody td {
    padding: 10px 14px;
    vertical-align: middle;
    border-top: 1px solid #f5f0ea;
}

.table-relatorio tbody td:first-child { border-radius: 10px 0 0 10px; }
.table-relatorio tbody td:last-child { border-radius: 0 10px 10px 0; }

.btn-exportar {
    background: #5c3d2e;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-exportar:hover {
    background: #4a2f22;
    color: #fff;
}

.btn-exportar.verde {
    background: #28a745;
}

.btn-exportar.verde:hover {
    background: #1e7e34;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: #fafaf8;
    border-radius: 16px;
    border: 2px dashed #e8ddd0;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .relatorio-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .table-relatorio thead {
        display: none;
    }
    .table-relatorio tbody tr {
        display: block;
        margin-bottom: 10px;
        padding: 12px;
    }
    .table-relatorio tbody td {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        border: none;
    }
    .table-relatorio tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #8b6b4a;
        font-size: 0.75rem;
    }
    .card-resumo .numero {
        font-size: 1.4rem;
    }
}
/* ===== SUBMENU ===== */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    border-radius: 8px;
}

@media (max-width: 992px) {
    .dropdown-submenu .dropdown-menu {
        left: 0;
        margin-left: 20px;
    }
}
/* ===== NAVBAR MELHORADA ===== */
.navbar-custom .navbar-brand span {
    font-weight: 600;
    letter-spacing: -0.5px;
}

.navbar-custom .navbar-brand i {
    margin-right: 6px;
    font-size: 1.4rem;
}

.navbar-custom .user-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.navbar-custom .dropdown-header {
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: #5c3d2e;
    font-size: 0.9rem;
}

.navbar-custom .badge-admin {
    background: #d4a373;
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 10px;
    border-radius: 20px;
    margin-left: 6px;
    font-weight: 600;
}

.navbar-custom .btn-cart {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.12);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.navbar-custom .btn-cart:hover {
    background: rgba(255,255,255,0.22);
    color: #fff;
}

.navbar-custom .btn-cart .cart-badge {
    position: static;
    background: #ff6b35;
    color: #fff;
    border-radius: 50%;
    padding: 1px 7px;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

/* Responsivo */
@media (max-width: 768px) {
    .navbar-custom .user-name {
        display: none;
    }
    .navbar-custom .navbar-brand span {
        font-size: 0.9rem;
    }
}
/* ===== CARRINHO BADGE NO MENU ===== */
.navbar-custom .nav-link .cart-badge-nav {
    display: inline-block;
    background: #ff6b35;
    color: #fff;
    border-radius: 50%;
    padding: 1px 7px;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    margin-left: 4px;
    vertical-align: top;
    line-height: 1.3;
}

.navbar-custom .nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
}