/* Modal para acompanhar pedidos */
.order-tracking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    overflow-y: auto;
}

.order-tracking-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.order-tracking-modal .modal-content {
    background: linear-gradient(135deg, #fff 0%, #fffbf0 100%);
    border: 3px solid #ffcc00;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.order-tracking-modal .modal-header {
    background: linear-gradient(135deg, #ffcc00 0%, #ffdb4d 100%);
    color: #333;
    padding: 20px;
    border-radius: 17px 17px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 2px solid #e6b800;
}

.order-tracking-modal .modal-header h3 {
    margin: 0;
    font-size: 1.3em;
    font-weight: bold;
}

.order-tracking-modal .modal-close {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: #333;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-weight: bold;
}

.order-tracking-modal .modal-close:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.1);
}

.order-tracking-modal .modal-body {
    padding: 25px;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
}

/* Cards dos pedidos no modal */
.order-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-color: #ffcc00;
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.order-info h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2em;
}

.order-date {
    color: #7f8c8d;
    font-size: 0.9em;
    margin-top: 5px;
    display: block;
}

.order-status {
    background: rgba(52, 152, 219, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    border: 2px solid currentColor;
}

/* Barra de progresso */
.status-progress {
    margin: 15px 0;
}

.progress-bar {
    background: #ecf0f1;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.9em;
    color: #7f8c8d;
    text-align: center;
    font-weight: 500;
}

/* Itens e rodapé */
.order-items {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 0.95em;
    line-height: 1.4;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.order-total {
    color: #27ae60;
    font-size: 1.1em;
}

.order-payment {
    color: #7f8c8d;
    font-size: 0.9em;
}

/* Mensagem quando não há pedidos */
.no-orders-message {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.no-orders-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-orders-message h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.no-orders-message p {
    margin: 0;
    font-size: 0.95em;
}

.order-status-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.order-status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.order-status-card.collapsed {
    cursor: pointer;
}

.order-status-card.collapsed .order-details {
    display: none;
}

.order-status-card.collapsed::after {
    content: '👆 Toque para ver detalhes';
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 0.8em;
    color: #7f8c8d;
    background: rgba(255,255,255,0.9);
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap;
    gap: 10px;
}

.order-header h4 {
    margin: 0;
    color: #2c3e50;
}

.order-time {
    color: #7f8c8d;
    font-size: 0.9em;
}

.status-indicator {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    word-wrap: break-word;
}

.status-message {
    color: #2c3e50;
}

.status-message strong {
    font-size: 1.1em;
}

.status-timeline {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    flex-wrap: nowrap;
}

.status-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ecf0f1;
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    min-width: 80px;
    box-sizing: border-box;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ecf0f1;
    border: 3px solid #bdc3c7;
    margin-bottom: 8px;
}

.timeline-item.active .timeline-dot {
    background: #3498db;
    border-color: #2980b9;
}

.timeline-item span {
    font-size: 0.8em;
    color: #7f8c8d;
    font-weight: 500;
}

.timeline-item.active span {
    color: #2c3e50;
    font-weight: 600;
}

.order-items-summary {
    margin: 15px 0;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.order-items-summary h5 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.order-items-summary ul {
    margin: 0;
    padding-left: 20px;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

.order-items-summary li {
    color: #34495e;
    margin-bottom: 5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.order-total {
    text-align: right;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #27ae60;
    font-size: 1.1em;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
}

.no-orders, .error {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #7f8c8d;
}

.error {
    background: #fdf2f2;
    color: #e74c3c;
}

/* Modal para detalhes do pedido */
.order-details-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
}

.order-details-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}

.modal-header {
    background: #3498db;
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2em;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255,255,255,0.2);
}

.modal-body {
    padding: 20px;
}

.order-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
}

.order-summary h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.1em;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 0;
}

.summary-row:last-child {
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
    font-weight: bold;
}

.summary-label {
    color: #666;
}

.summary-value {
    color: #2c3e50;
    font-weight: 500;
}

.history-search {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.history-search h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.form-group input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group button {
    padding: 12px 20px;
    white-space: nowrap;
}

/* Estilos específicos para mobile */
@media (max-width: 480px) {
    .modal-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
        border-radius: 10px;
    }
    
    .modal-header {
        padding: 15px;
        border-radius: 10px 10px 0 0;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .order-summary {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .summary-row {
        font-size: 0.9em;
    }
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    /* Forçar layout em coluna única */
    .history-section {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 10px;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* Garantir que todos os elementos filhos respeitem o container */
    .history-section * {
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .history-search {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
        padding: 15px;
        box-sizing: border-box;
        order: 1; /* Acompanhar Meu Pedido primeiro */
    }
    
    .order-status-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 10px;
        box-sizing: border-box;
        order: 2; /* Status do pedido por último */
        position: relative;
    }
    
    /* Container com scroll horizontal e setas de navegação */
    .order-scroll-wrapper {
        position: relative;
        width: 100%;
        overflow: hidden;
    }
    
    .order-scroll-container {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        gap: 15px;
        padding: 10px 0;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    .order-scroll-container::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    /* Setas de navegação */
    .scroll-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(52, 152, 219, 0.9);
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 18px;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    
    .scroll-arrow:hover {
        background: rgba(52, 152, 219, 1);
        transform: translateY(-50%) scale(1.1);
    }
    
    .scroll-arrow.left {
        left: 5px;
    }
    
    .scroll-arrow.right {
        right: 5px;
    }
    
    .scroll-arrow:disabled {
        opacity: 0.3;
        cursor: not-allowed;
        transform: translateY(-50%) scale(0.9);
    }
    
    /* Indicadores de scroll */
    .scroll-indicator {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(52, 152, 219, 0.8);
        color: white;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 0.7em;
        z-index: 5;
        animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
        0%, 100% { opacity: 0.8; }
        50% { opacity: 1; }
    }
    
    /* Cards no modo horizontal */
    .order-status-card.horizontal {
        min-width: 280px;
        max-width: 320px;
        flex-shrink: 0;
        margin-bottom: 0;
        height: auto;
        max-height: 400px;
        overflow-y: auto;
    }
    
    .order-status-card {
        width: 100%;
        max-width: 100%;
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 8px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
    
    /* Versão compacta para mobile */
    .order-status-card.mobile-compact {
        padding: 12px;
        margin-bottom: 10px;
    }
    
    .order-status-card.mobile-compact .order-details {
        display: none;
    }
    
    .order-status-card.mobile-compact .order-summary {
        display: block;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .order-header h4 {
        font-size: 1.1em;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .order-time {
        font-size: 0.85em;
    }
    
    .status-indicator {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .status-message strong {
        font-size: 1em;
    }
    
    .status-timeline {
        flex-direction: column;
        align-items: flex-start;
        margin: 15px 0;
    }
    
    .status-timeline.mobile-horizontal {
        flex-direction: row;
        overflow-x: auto;
        gap: 10px;
        padding: 10px 0;
    }
    
    .status-timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: row;
        align-items: center;
        margin-bottom: 8px;
        text-align: left;
        width: 100%;
    }
    
    .timeline-dot {
        margin-right: 12px;
        margin-bottom: 0;
        width: 16px;
        height: 16px;
        border-width: 2px;
    }
    
    .timeline-item span {
        font-size: 0.9em;
    }
    
    .order-items-summary {
        margin: 12px 0;
    }
    
    .order-items-summary h5 {
        font-size: 1em;
        margin-bottom: 8px;
    }
    
    .order-items-summary ul {
        padding-left: 15px;
    }
    
    .order-items-summary li {
        font-size: 0.9em;
        margin-bottom: 3px;
    }
    
    .order-total {
        font-size: 1em;
        padding-top: 12px;
    }
    
    .form-group {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .form-group input {
        width: 100%;
        padding: 14px;
        font-size: 16px;
        border-radius: 8px;
        box-sizing: border-box;
    }
    
    .form-group button {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
        border-radius: 8px;
        box-sizing: border-box;
    }
    
    .history-search {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .history-search h3 {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    
    .loading, .no-orders, .error {
        padding: 15px;
        font-size: 0.9em;
    }
}

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: #000;
    line-height: 1.6;
}

/* Cores da marca Opções Lanches/Marmitas - Nova Paleta */
:root {
    --primary-yellow: #FFD600;
    --accent-black: #000000;
    --white: #FFFFFF;
    --light-gray: #f5f5f5;
    --dark-gray: #333;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    background: var(--accent-black);
    color: var(--white);
    padding: 1rem 2rem;
    text-align: center;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.nav-link {
    background-color: var(--primary-yellow);
    color: var(--accent-black);
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-link:hover {
    background-color: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Seções administrativas */
.admin-section {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px var(--shadow);
    border-left: 5px solid var(--primary-yellow);
}

.admin-section h2 {
    color: var(--accent-black);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-yellow);
    padding-bottom: 0.5rem;
}

/* Formulários */
.form-card {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 5px rgba(255, 214, 0, 0.3);
}

/* Botões */
.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--accent-black);
}

.btn-primary:hover {
    background-color: #E6C200;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

.btn-secondary {
    background-color: var(--accent-black);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn-danger {
    background-color: #d32f2f;
    color: var(--white);
}

.btn-danger:hover {
    background-color: #c62828;
}

/* Tabs */
.filter-tabs,
.menu-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tab-btn,
.menu-tab {
    padding: 0.7rem 1.2rem;
    border: 2px solid var(--accent-black);
    background: var(--white);
    color: var(--accent-black);
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.tab-btn.active,
.menu-tab.active {
    background: var(--primary-yellow);
    color: var(--accent-black);
}

.tab-btn:hover,
.menu-tab:hover {
    background: var(--primary-yellow);
    color: var(--accent-black);
    border-color: var(--primary-yellow);
}

/* Grid de itens do menu */
.menu-items-grid,
.menu-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

/* Responsividade específica para menu */
@media (max-width: 768px) {
    .menu-display {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .menu-display {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .menu-item {
        padding: 1rem;
    }
    
    .menu-item-image {
        height: 120px;
    }
    
    .menu-item h3 {
        font-size: 1.1rem;
    }
}

.menu-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.menu-item-image {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #eee;
}

.menu-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px var(--shadow);
    border-color: var(--primary-yellow);
}

.menu-item h3 {
    color: var(--accent-black);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.menu-item .description {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.menu-item .price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-yellow);
    background: var(--accent-black);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.menu-item .actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Quantidade e controles */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 2px solid var(--accent-black);
    background: var(--white);
    color: var(--accent-black);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--primary-yellow);
    color: var(--accent-black);
}

.quantity-display {
    font-size: 1.2rem;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
}

/* Carrinho */
.cart-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-yellow);
    color: var(--accent-black);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cart-btn:hover {
    transform: scale(1.1);
    background: #E6C200;
}

#cartCount {
    font-size: 0.8rem;
    background: var(--accent-black);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -5px;
    right: -5px;
    font-weight: bold;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 15px var(--shadow);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    background: var(--accent-black);
    color: var(--white);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-total {
    background: var(--light-gray);
    padding: 1rem;
    border-top: 2px solid var(--primary-yellow);
}

.total-line {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-black);
}

.close-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.2rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: var(--white);
    border-radius: 15px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px var(--shadow);
}

.modal-header {
    background: var(--accent-black);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
}

/* Seções do checkout */
.order-summary,
.payment-section,
.customer-info {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.order-summary h3,
.payment-section h3,
.customer-info h3 {
    color: var(--accent-black);
    margin-bottom: 1rem;
}

.order-total {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-black);
    text-align: right;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--primary-yellow);
}

/* Opções de pagamento */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: var(--primary-yellow);
    background: var(--light-gray);
}

.payment-option input[type="radio"] {
    margin-right: 1rem;
    transform: scale(1.2);
}

.payment-option span {
    font-size: 1.1rem;
    font-weight: bold;
}

.cash-payment {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.change-display {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--primary-yellow);
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-black);
}

/* Lista de pedidos */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow);
    border-left: 4px solid var(--primary-yellow);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-id {
    font-weight: bold;
    color: var(--accent-black);
}

.order-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.orders-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--accent-black);
    color: var(--white);
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info h3 {
    color: var(--primary-yellow);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-item span:first-child {
    font-size: 1.2rem;
}

.order-breakdown {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.breakdown-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Tabs de administração */
.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
}

.admin-tabs .tab-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    background: var(--light-gray);
    color: var(--dark-gray);
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.admin-tabs .tab-btn.active {
    background: var(--primary-yellow);
    color: var(--accent-black);
}

.admin-tabs .tab-btn:hover {
    background: var(--primary-yellow);
    color: var(--accent-black);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Management actions */
.management-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.management-actions .btn {
    flex: 1;
    min-width: 80px;
    font-size: 0.9rem;
    padding: 0.5rem;
}

.category-badge {
    display: inline-block;
    background: var(--light-gray);
    color: var(--dark-gray);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Search Section Styles */
.search-section {
    position: relative;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 4px 12px rgba(255, 214, 0, 0.3);
}

.clear-search-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-search-btn:hover {
    background: #cc0000;
}

/* Responsividade */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 0 0.5rem;
    }
    
    .admin-section {
        padding: 1rem;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .filter-tabs,
    .menu-tabs {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .search-section {
        margin: 0 1rem 1.5rem 1rem;
    }
}

/* Footer Styles */
.footer {
    background: var(--accent-black);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.footer-section h4 {
    margin-bottom: 10px;
    color: var(--primary-yellow);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section p {
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .menu-item {
        padding: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}
