/* ===================================================================
   ATENDIMENTO - ESTILOS ESPECÍFICOS REFINADOS
   Sistema GestãoBLZ - Módulo de Controle de Atendimento/Comandas
   =================================================================== */

/* ===== BOTÃO NOVA COMANDA - ESTILO MELHORADO ===== */
#novaComandaBtn {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #1E40AF 100%);
    border: none;
    border-radius: 14px;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    box-shadow: 
        0 8px 25px rgba(37, 99, 235, 0.3),
        0 3px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 180px;
    justify-content: center;
}

#novaComandaBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

#novaComandaBtn:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 50%, #1E3A8A 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(37, 99, 235, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: white;
}

#novaComandaBtn:hover::before {
    left: 100%;
}

#novaComandaBtn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 6px 20px rgba(37, 99, 235, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

#novaComandaBtn:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(37, 99, 235, 0.3),
        0 8px 25px rgba(37, 99, 235, 0.3),
        0 3px 10px rgba(0, 0, 0, 0.1);
}

#novaComandaBtn i {
    font-size: 1.1em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

#novaComandaBtn .btn-text {
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.actions-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* ===== PROFISSIONAL FILTER - ESTILO MELHORADO ===== */
.filter-group {
    position: relative;
    min-width: 220px;
}

.filter-group::before {
    content: '\f4fe';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.9rem;
    z-index: 2;
    pointer-events: none;
    transition: color 0.3s ease;
}

.filter-group:hover::before {
    color: #475569;
}

#profissionalFilter {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    font-size: 0.925rem;
    font-weight: 500;
    color: #374151;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.05),
        0 1px 4px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    background-size: 18px;
    padding-right: 3rem;
    height: 52px;
}

#profissionalFilter:hover {
    border-color: #cbd5e1;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

#profissionalFilter:focus {
    outline: none;
    border-color: #2563eb;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 
        0 0 0 3px rgba(37, 99, 235, 0.1),
        0 6px 20px rgba(37, 99, 235, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.1);
}

#profissionalFilter:focus::before {
    color: #2563eb;
}

#profissionalFilter option {
    padding: 0.75rem 1rem;
    font-weight: 500;
    color: #374151;
    background: #ffffff;
}

#profissionalFilter option:hover,
#profissionalFilter option:checked {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
}

/* ===== DATE PICKER BUTTON - ESTILO CONSISTENTE ===== */
.date-filter-group {
    position: relative;
}

#datePickerBtn {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 0.925rem;
    font-weight: 500;
    color: #374151;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.05),
        0 1px 4px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 50px;
    justify-content: flex-start;
}

#datePickerBtn i {
    color: #64748b;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

#datePickerBtn span {
    font-weight: 500;
    flex: 1;
    text-align: left;
}

#datePickerBtn:hover {
    border-color: #cbd5e1;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
    color: #374151;
}

#datePickerBtn:hover i {
    color: #475569;
}

#datePickerBtn:focus,
#datePickerBtn:active {
    outline: none;
    border-color: #2563eb;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 
        0 0 0 3px rgba(37, 99, 235, 0.1),
        0 6px 20px rgba(37, 99, 235, 0.15),
        0 2px 6px rgba(0, 0, 0, 0.1);
    color: #374151;
    transform: translateY(0);
}

#datePickerBtn:focus i,
#datePickerBtn:active i {
    color: #2563eb;
}

/* ===== TOP BAR SECTION (IGUAL TELA DE CAIXA) ===== */
.top-bar-section {
    margin-bottom: 2rem;
}

.top-bar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ===== DATE FILTER COMPACT ===== */
.date-filter-compact {
    flex: 0 0 auto;
}

.date-compact-wrapper {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    max-width: 340px;
    width: fit-content;
}

.date-compact-wrapper:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.date-info-compact {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.date-icon-compact {
    font-size: 1.125rem;
    color: #2563EB;
}

.date-text-compact {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--theme-text-primary);
}

.date-actions-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.date-input-compact {
    border: 1px solid transparent;
    background: transparent;
    color: var(--theme-text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.375rem 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 110px;
}

.date-input-compact:hover,
.date-input-compact:focus {
    border-color: rgba(37, 99, 235, 0.3);
    background: rgba(37, 99, 235, 0.05);
    outline: none;
}

.quick-actions-compact {
    flex: 0 0 auto;
}

.actions-compact-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.action-btn-compact {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    color: var(--theme-text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.action-btn-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--theme-text-primary);
}

/* Botão Relatório - Azul discreto */
.action-btn-compact:not(.whatsapp) {
    border-color: rgba(37, 99, 235, 0.2);
}

.action-btn-compact:not(.whatsapp):hover {
    border-color: rgba(37, 99, 235, 0.4);
    background: rgba(37, 99, 235, 0.02);
}

.action-btn-compact:not(.whatsapp) i {
    color: #2563EB;
}

.action-btn-compact:not(.whatsapp):hover i {
    color: #1D4ED8;
}

.action-btn-compact:active {
    transform: translateY(0);
}

/* ===== SEÇÕES PRINCIPAIS ===== */
.atendimento-header {
    margin-bottom: 2rem;
}

.actions-bar {
    margin-bottom: 1.5rem;
}

.main-content-section {
    margin-bottom: 2rem;
}

/* ===== POPUP DE EDIÇÃO SIMPLIFICADO ===== */
.edit-comanda-simple {
    padding: 0;
    min-width: 500px;
    position: relative;
    z-index: 1;
}

/* Mobile adjustments for edit popup */
@media (max-width: 768px) {
    .edit-comanda-simple {
        min-width: auto;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    /* Melhor área de toque para mobile */
    .gestao-popup-body {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }
    
    /* Otimização de toque */
    .status-option,
    .service-tag,
    .section-header .btn {
        touch-action: manipulation;
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Feedback visual para toque */
    .status-option:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .service-tag:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .section-header .btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* Correção para sobreposição do popup de edição */
.gestao-popup-container {
    z-index: 9999999 !important;
}

.gestao-popup {
    z-index: 10000000 !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    overflow: auto !important;
}

.gestao-popup-overlay {
    z-index: 9999999 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(8px) !important;
}

/* Melhorar visibilidade e evitar sobreposição */
.gestao-popup .gestao-popup-content {
    position: relative;
    z-index: 1;
}

.gestao-popup .gestao-popup-body {
    position: relative;
    z-index: 1;
    overflow: visible !important;
}

/* Garantir que elementos não vazem por cima do popup */
.edit-comanda-simple * {
    position: relative;
    z-index: 1;
}

/* Nova interface para adicionar serviços */
.add-service-container {
    width: 100%;
    max-width: 100%;
}

/* Campo de busca */
.service-search-container {
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--theme-text-secondary);
    z-index: 1;
}

.service-search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--theme-border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--theme-card-bg);
    color: var(--theme-text-primary);
    transition: all 0.3s ease;
}

.service-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.1);
}

.service-search-input::placeholder {
    color: var(--theme-text-secondary);
    font-weight: 500;
}

/* Lista de serviços */
.services-list-container {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1rem;
    border: 1px solid var(--theme-border-color);
    border-radius: 12px;
    background: var(--theme-bg-secondary);
}

.service-item {
    border-bottom: 1px solid var(--theme-border-color);
    transition: all 0.3s ease;
    position: relative;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item:hover {
    background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.05);
}

.service-item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
}

.service-item-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.service-item-info {
    flex: 1;
}

.service-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-text-primary);
    margin-bottom: 0.25rem;
}

.service-item-description {
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
    line-height: 1.4;
}

.service-item-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.service-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #28a745;
    margin-right: 0.5rem;
}

.service-add-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.3);
}

.service-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.4);
    background: linear-gradient(135deg, var(--primary-hover), #d54d0f);
}

.service-add-btn:active {
    transform: translateY(0);
}

/* Estado vazio */
.no-services-available {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--theme-text-secondary);
}

.no-services-icon {
    margin-bottom: 1rem;
}

.no-services-icon i {
    font-size: 2.25rem;
    color: #28a745;
}

.no-services-text h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-text-primary);
    margin-bottom: 0.5rem;
}

.no-services-text p {
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
.add-service-footer {
    border-top: 1px solid var(--theme-border-color);
    padding: 1rem 0;
    text-align: center;
}

.service-counter {
    color: var(--theme-text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Scrollbar personalizada */
.services-list-container::-webkit-scrollbar {
    width: 6px;
}

.services-list-container::-webkit-scrollbar-track {
    background: var(--theme-bg-secondary);
    border-radius: 10px;
}

.services-list-container::-webkit-scrollbar-thumb {
    background: var(--theme-border-color);
    border-radius: 10px;
}

.services-list-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Animação de entrada para os itens */
.service-item {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .service-item-content {
        padding: 1rem;
    }
    
    .service-item-name {
        font-size: 1rem;
    }
    
    .service-item-description {
        font-size: 0.8125rem;
    }
    
    .service-item-price {
        font-size: 1.1rem;
    }
    
    .service-add-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
}

/* Correção de z-index para elementos específicos */
.sidebar {
    z-index: 1060 !important; /* Acima do main-header */
}

.main-header {
    z-index: 1040 !important; /* Padrão do sistema */
}

.modal, .dropdown-menu, .tooltip, .popover {
    z-index: 1070 !important; /* Acima de tudo */
}

/* Correção específica para mobile - sidebar deve ficar acima do header */
@media (max-width: 768px) {
    .sidebar {
        z-index: 1060 !important;
    }
    
    .sidebar.mobile-open {
        z-index: 1060 !important;
    }
    
    .main-header {
        z-index: 1040 !important;
    }
}

/* Popups de gestão (componentes customizados) */
body .gestao-popup-container {
    z-index: 1400 !important;
}

body .gestao-popup-overlay {
    z-index: 1399 !important;
}

body .gestao-popup {
    z-index: 1400 !important;
}

/* Notificações dentro do popup */
.popup-notification {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    animation: slideInDown 0.3s ease-out;
}

.popup-notification.success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #155724;
}

.popup-notification.warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    color: #856404;
}

.popup-notification.info {
    background: rgba(23, 162, 184, 0.1);
    border: 1px solid rgba(23, 162, 184, 0.2);
    color: #0c5460;
}

.popup-notification i {
    flex-shrink: 0;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notificações de tela */
.screen-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1500 !important;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.screen-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.screen-notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #28a745;
    min-width: 280px;
    max-width: 400px;
}

.screen-notification.success .screen-notification-content {
    border-left-color: #28a745;
}

.screen-notification.success i {
    color: #28a745;
    font-size: 1.125rem;
}

.screen-notification.warning .screen-notification-content {
    border-left-color: #ffc107;
}

.screen-notification.warning i {
    color: #ffc107;
    font-size: 1.125rem;
}

.screen-notification.info .screen-notification-content {
    border-left-color: #17a2b8;
}

.screen-notification.info i {
    color: #17a2b8;
    font-size: 1.125rem;
}

.screen-notification span {
    font-weight: 500;
    color: var(--theme-text-primary);
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .screen-notification {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .screen-notification-content {
        min-width: auto;
        max-width: none;
    }
}

/* Info Row */
.comanda-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--theme-bg-secondary);
    border-radius: 8px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--theme-border-color);
}

.comanda-basic-info {
    flex: 1;
}

.comanda-basic-info strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.comanda-basic-info .small {
    color: var(--theme-text-secondary);
    margin-top: 0.25rem;
}

.comanda-value {
    text-align: right;
}

.value-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #28a745;
}

.comanda-value .small {
    color: var(--theme-text-secondary);
    margin-top: 0.25rem;
}

/* Seções */
.services-section, .status-section, .obs-section {
    margin-bottom: 1.25rem;
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    overflow: hidden;
}

.services-section:last-child, 
.status-section:last-child, 
.obs-section:last-child {
    margin-bottom: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--theme-bg-secondary);
    border-bottom: 1px solid var(--theme-border-color);
    font-weight: 600;
    color: var(--theme-text-primary);
}

.section-header i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Lista de Serviços */
.services-list {
    padding: 1rem;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    background: var(--theme-bg-secondary);
    border: 1px solid var(--theme-border-color);
    border-radius: 20px;
    padding: 0.375rem 0.75rem;
    margin: 0 0.5rem 0.5rem 0;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.service-tag span {
    color: var(--theme-text-primary);
}

.remove-service {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.2s ease;
}

.remove-service:hover {
    background: #dc3545;
    color: white;
}

.no-services-simple {
    color: var(--theme-text-secondary);
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

/* Opções de Status */
.status-options {
    padding: 1rem;
    display: flex;
    gap: 1rem;
}

.status-option {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 2px solid var(--theme-border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--theme-card-bg);
}

.status-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.status-option.active {
    border-color: var(--primary-color);
    background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.1);
    color: var(--primary-color);
}

.status-option input {
    display: none;
}

.option-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    width: 100%;
    justify-content: center;
}

/* Observações */
.obs-content {
    padding: 1rem;
}

.obs-content textarea {
    width: 100%;
    border: 1px solid var(--theme-border-color);
    border-radius: 6px;
    padding: 0.75rem;
    resize: vertical;
    font-size: 0.9rem;
}

.obs-content textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.2);
}

/* ===== HEADER STATUS CARDS ===== */
.status-card {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 16px 16px 0 0;
}

.status-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.15);
}

.status-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.13rem;
    color: white;
    box-shadow: 0 8px 24px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.25);
    flex-shrink: 0;
}

.status-icon.atendimento {
    background: linear-gradient(135deg, #17a2b8, #117a8b);
    box-shadow: 0 8px 24px rgba(23, 162, 184, 0.25);
}

.status-icon.faturamento {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.25);
}

.status-icon.tempo {
    background: linear-gradient(135deg, #6f42c1, #5a2d91);
    box-shadow: 0 8px 24px rgba(111, 66, 193, 0.25);
}

.status-info {
    flex: 1;
}

.status-number {
    font-size: 1.13rem;
    font-weight: 800;
    color: var(--theme-text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
    display: block;
}

.status-label {
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== ACTIONS BAR ===== */
.actions-bar {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.actions-left,
.actions-center,
.actions-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.view-toggle {
    display: flex;
    background: var(--theme-bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--theme-border-color);
}

.view-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--theme-text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.view-btn:hover {
    color: var(--theme-text-primary);
    background: var(--theme-border-color);
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.3);
}

.filter-group .form-select {
    min-width: 180px;
    border-radius: 10px;
    border: 1px solid var(--theme-border-color);
}

/* ===== SELETOR DE DATA/CALENDÁRIO ===== */
.date-filter-group {
    position: relative;
}

#datePickerBtn {
    max-width: 160px;
    border-radius: 8px;
    border: 1px solid var(--theme-border-color);
    background: var(--theme-card-bg);
    color: var(--theme-text-primary);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#datePickerBtn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.2);
    background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.02);
}

#datePickerBtn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.1s ease;
}

#datePickerBtn i {
    font-size: 0.875rem;
    opacity: 0.8;
}

#datePickerBtn:hover i {
    opacity: 1;
}

/* Estilo para quando o dropdown está aberto */
#datePickerBtn.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.05);
    box-shadow: 0 0 0 2px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.1);
}

.date-picker-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    width: 320px;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.date-picker-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.current-month-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--theme-text-primary);
}

.date-nav-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--theme-bg-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.date-picker-calendar {
    margin-bottom: 1rem;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.weekday {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--theme-text-secondary);
    padding: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--theme-text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.calendar-day:hover {
    background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.1);
    color: var(--primary-color);
    transform: scale(1.1);
}

.calendar-day.other-month {
    color: var(--theme-text-muted);
    opacity: 0.4;
}

.calendar-day.future-date {
    color: var(--theme-text-muted) !important;
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    background: transparent !important;
}

.calendar-day.future-date:hover {
    transform: none !important;
    background: transparent !important;
    color: var(--theme-text-muted) !important;
}

.calendar-day.today {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
}

.calendar-day.today:hover {
    background: var(--primary-hover);
}

.calendar-day.selected {
    background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.2);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 700;
}

.calendar-day.has-comandas::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    background: #28a745;
    border-radius: 50%;
    box-shadow: 0 0 0 1px white;
}

.date-picker-footer {
    border-top: 1px solid var(--theme-border-color);
    padding-top: 1rem;
}

.quick-dates {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.quick-date-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--theme-border-color);
    background: var(--theme-bg-secondary);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--theme-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-date-btn:hover {
    border-color: var(--primary-color);
    background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.1);
    color: var(--primary-color);
}

/* Indicadores de comandas por data */
.date-with-comandas {
    position: relative;
}

.comandas-count-indicator {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #28a745;
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 8px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ===== COMANDAS CONTAINER ===== */
.comandas-card {
    border: none;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.comandas-card .card-header {
    background: var(--theme-bg-primary);
    border-bottom: 1px solid var(--theme-border-color);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.total-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.3);
}

.comandas-container {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

/* ===== COMANDA ITEM ===== */
.comanda-item {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comanda-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
}

.comanda-item.finalizada::before {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.comanda-item.em-andamento::before {
    background: linear-gradient(135deg, #ffc107, #d39e00);
}

.comanda-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

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

.comanda-numero {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.comanda-cliente {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-text-primary);
    margin-bottom: 0.25rem;
}

.comanda-profissional {
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: rgba(249, 178, 52, 0.12);
    border: 1px solid rgba(249, 178, 52, 0.35);
    color: var(--theme-text-primary);
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1;
}

.rating-chip i {
    color: #f9b234;
    font-size: 0.9rem;
}

.rating-chip small {
    color: var(--theme-text-muted);
    font-weight: 600;
}

.rating-chip-compact {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

.comanda-status {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comanda-status.aberta {
    background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.3);
}

.comanda-status.finalizada {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.comanda-status.em-andamento {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.comanda-body {
    margin-bottom: 1rem;
}

.comanda-servicos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.servico-tag {
    background: var(--theme-bg-secondary);
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    color: var(--theme-text-secondary);
    border: 1px solid var(--theme-border-color);
}

.comanda-detalhes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.comanda-tempo {
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.comanda-valor {
    font-size: 1.13rem;
    font-weight: 800;
    color: #28a745;
}

.comanda-footer {
    border-top: 1px solid var(--theme-border-color);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.comanda-info {
    flex: 1;
    font-size: 0.8125rem;
    color: var(--theme-text-secondary);
}

.comanda-actions {
    display: flex;
    gap: 0.5rem;
}

.comanda-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
    font-weight: 600;
}

/* ===== SIDEBAR WIDGETS ===== */
.sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget-card {
    border: none;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.widget-card .card-header {
    background: var(--theme-bg-primary);
    border-bottom: 1px solid var(--theme-border-color);
    padding: 1.25rem 1.5rem;
}

.widget-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.resumo-atendimentos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resumo-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--theme-bg-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.resumo-item:hover {
    background: var(--theme-border-color);
    transform: translateX(2px);
}

.resumo-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}

.resumo-icon.finalizados {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.resumo-icon.andamento {
    background: linear-gradient(135deg, #ffc107, #d39e00);
}

.resumo-icon.aguardando {
    background: linear-gradient(135deg, #6c757d, #5a6268);
}

.resumo-info {
    flex: 1;
}

.resumo-numero {
    font-size: 1.31rem;
    font-weight: 800;
    color: var(--theme-text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
    display: block;
}

.resumo-label {
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
    font-weight: 500;
}

/* ===== PAYMENT METHODS ===== */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem;
    background: var(--theme-bg-secondary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.payment-item:hover {
    background: var(--theme-border-color);
}

.payment-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
}

.payment-icon.dinheiro {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.payment-icon.pix {
    background: linear-gradient(135deg, #00d4aa, #00b894);
}

.payment-icon.cartao {
    background: linear-gradient(135deg, #6c5ce7, #5a49d8);
}

.payment-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-label {
    font-size: 0.95rem;
    color: var(--theme-text-primary);
    font-weight: 500;
}

.payment-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.payment-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--theme-text-primary);
}

.payment-count {
    font-size: 0.8125rem;
    color: var(--theme-text-secondary);
    font-weight: 500;
}

/* ===== PACOTES UTILIZADOS ===== */
.pacotes-utilizados {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pacote-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem;
    background: var(--theme-bg-secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.pacote-item:hover {
    background: var(--theme-border-color);
}

.pacote-info {
    flex: 1;
}

.pacote-cliente {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--theme-text-primary);
    margin-bottom: 0.25rem;
}

.pacote-tipo {
    font-size: 0.8125rem;
    color: var(--theme-text-secondary);
}

.pacote-creditos {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 400px;
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.13rem;
    color: white;
}

.empty-state h6 {
    color: var(--theme-text-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.empty-state p {
    color: var(--theme-text-secondary);
    margin: 0;
    max-width: 300px;
}

/* Empty State - Específicos */
.empty-state h5 {
    color: var(--theme-text-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.empty-icon.abertas {
    background: linear-gradient(135deg, #28a745, #20c997);
    animation: pulse-abertas 2s ease-in-out infinite;
}

.empty-icon.finalizadas {
    background: linear-gradient(135deg, #6c757d, #5a6268);
}

@keyframes pulse-abertas {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(40, 167, 69, 0);
    }
}

.empty-state .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

.empty-state .btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

/* ===== MODALS ===== */
/* ===== HIERARQUIA DE Z-INDEX CORRIGIDA ===== */
/*
 * Hierarquia organizada de z-index para evitar sobreposições:
 * 
 * 1. Elementos base: z-index 1-100
 * 2. Header principal: 1040
 * 3. Sidebar overlay: 1055  
 * 4. Sidebar: 1060
 * 5. Dropdowns/Menus: 1080-1090
 * 6. Modais: 1200 (backdrop: 1199)
 * 7. Tooltips/Popovers: 1300
 * 8. Popups customizados: 1400
 * 9. Notificações de tela: 1500
 * 10. Loading overlays: 9999
 */

/* Loading Overlay */
.loading-overlay {
    z-index: 9999 !important;
}

/* Sidebar Overlay (backdrop do menu mobile) */
.sidebar-overlay {
    
}

/* Notificações */
.notifications-dropdown,
.user-dropdown {
    z-index: 1080 !important;
}

.mobile-notifications-dropdown {
    z-index: 1090 !important;
}

.mobile-notifications-backdrop {
}

/* Date Picker */
.date-picker-dropdown {
    z-index: 1085 !important;
}

/* Modais Bootstrap */
.modal {
    z-index: 1200 !important;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(8px) !important;
    z-index: 1199 !important;
}

/* Modais específicos de atendimento */
#visualizarComandaModal,
#finalizarComandaModal,
#novaComandaModal,
#novoClienteRapidoModal {
    z-index: 1200 !important;
}

/* Tooltips e Popovers */
.tooltip {
    z-index: 1300 !important;
}

.popover {
    z-index: 1300 !important;
}

.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    background: var(--theme-card-bg);
    color: var(--theme-text-primary);
}

.modal-header {
    border-bottom: 1px solid var(--theme-border-color);
    background: var(--theme-bg-primary);
    border-radius: 16px 16px 0 0;
    padding: 1.5rem;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--theme-text-primary);
    font-weight: 700;
}

.modal-body {
    background: var(--theme-card-bg);
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--theme-border-color);
    background: var(--theme-bg-primary);
    border-radius: 0 0 16px 16px;
    padding: 1.25rem 1.5rem;
}

/* ===== TEMA ESCURO - MODALS ===== */
.theme-dark .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(12px) !important;
}

.theme-dark .modal-content {
    background: var(--theme-card-bg);
    color: var(--theme-text-primary);
    border: 1px solid var(--theme-border-color);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

.theme-dark .modal-header {
    background: var(--theme-bg-secondary);
    border-bottom: 1px solid var(--theme-border-color);
}

.theme-dark .modal-title {
    color: var(--theme-text-primary);
}

.theme-dark .modal-body {
    background: var(--theme-card-bg);
    color: var(--theme-text-primary);
}

.theme-dark .modal-footer {
    background: var(--theme-bg-secondary);
    border-top: 1px solid var(--theme-border-color);
}

.theme-dark .btn-close {
    filter: invert(1);
    opacity: 0.7;
}

.theme-dark .btn-close:hover {
    opacity: 1;
}

/* ===== RESPONSIVIDADE ===== */

/* Tablet */
@media (max-width: 992px) {
    .atendimento-header .row {
        text-align: center;
    }
    
    .actions-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 1rem 1.25rem;
    }
    
    .actions-left,
    .actions-center,
    .actions-right {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .view-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .view-btn {
        flex: 1;
    }
    
    /* Layout em duas colunas para tablet */
    .main-content-section .col-xl-8 {
        order: 1;
    }
    
    .main-content-section .col-xl-4 {
        order: 2;
        margin-top: 1.5rem;
    }
}

/* Mobile - Ajustes Principais */
@media (max-width: 768px) {
    .content-area {
        padding: 0.75rem;
    }
    
    .container-fluid {
        padding: 0 0.5rem;
    }
    
    /* Header Mobile */
    .atendimento-header {
        margin-bottom: 1.5rem;
    }
    
    .atendimento-header .row {
        margin: 0 -0.5rem;
    }
    
    .atendimento-header .col-lg-3,
    .atendimento-header .col-md-6 {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    /* Actions Bar Mobile */
    .actions-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .actions-left {
        width: 100%;
        justify-content: stretch;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .actions-center {
        width: 100%;
        justify-content: center;
    }
    
    .actions-right {
        width: 100%;
        justify-content: center;
    }
    
    /* Botão Nova Comanda Mobile */
    #novaComandaBtn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 14px;
        margin-bottom: 0.5rem;
        min-width: auto;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }
    
    #novaComandaBtn:hover {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 
            0 10px 30px rgba(37, 99, 235, 0.4),
            0 4px 12px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    
    .actions-left {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    /* Filtros Mobile */
    .filter-group,
    .date-filter-group {
        width: 100%;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .filter-group::before {
        left: 0.875rem;
        font-size: 0.85rem;
    }
    
    #profissionalFilter {
        padding: 1rem 1rem 1rem 2.5rem;
        font-size: 0.9rem;
        border-radius: 12px;
        background-position: right 0.75rem center;
        background-size: 16px;
        padding-right: 2.75rem;
    }
    
    .filter-group .form-select,
    #datePickerBtn {
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        min-width: auto;
        max-width: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    #datePickerBtn:hover {
        transform: none;
        box-shadow: 0 2px 8px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.15);
    }
    
    /* View Toggle Mobile */
    .view-toggle {
        width: 100%;
        border-radius: 10px;
    }
    
    .view-btn {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
        flex: 1;
    }
    
    /* Layout Principal Mobile */
    .main-content-section .row {
        margin: 0;
    }
    
    .main-content-section .col-xl-8,
    .main-content-section .col-xl-4 {
        padding: 0;
        margin-bottom: 1.5rem;
    }
    
    /* Troca ordem: sidebar primeiro em mobile */
    .main-content-section .col-xl-8 {
        order: 2;
    }
    
    .main-content-section .col-xl-4 {
        order: 1;
        margin-bottom: 1.5rem;
    }
    
    /* Comandas Card Mobile */
    .comandas-card {
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .comandas-card .card-header {
        padding: 1rem 1.25rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .total-badge {
        padding: 0.25rem 0.75rem;
        font-size: 0.7rem;
    }
    
    .comandas-container {
        padding: 1rem;
        max-height: 60vh;
    }
    
    /* Status Cards Mobile */
    .status-card {
        padding: 1rem;
        flex-direction: row;
        text-align: left;
        gap: 0.875rem;
        border-radius: 12px;
    }
    
    .status-card::before {
        height: 3px;
    }
    
    .status-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        border-radius: 12px;
    }
    
    .status-number {
        font-size: 1.13rem;
        line-height: 1.1;
    }
    
    .status-label {
        font-size: 0.75rem;
        margin-top: 0.125rem;
    }
    
    /* Comandas Items Mobile */
    .comanda-item {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .comanda-item::before {
        width: 3px;
    }
    
    .comanda-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 0.875rem;
    }
    
    .comanda-info {
        flex: 1;
    }
    
    .comanda-numero {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }
    
    .comanda-cliente {
        font-size: 1rem;
        margin-bottom: 0.125rem;
        line-height: 1.3;
    }
    
    .comanda-profissional {
        font-size: 0.8125rem;
        margin-top: 0.25rem;
    }
    
    .comanda-status {
        padding: 0.375rem 0.75rem;
        font-size: 0.7rem;
        white-space: nowrap;
        align-self: flex-start;
    }
    
    .comanda-body {
        margin-bottom: 0.875rem;
    }
    
    .comanda-servicos {
        gap: 0.375rem;
        margin-bottom: 0.875rem;
    }
    
    .servico-tag {
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
        border-radius: 15px;
    }
    
    .comanda-detalhes {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .comanda-tempo {
        font-size: 0.8125rem;
        gap: 0.25rem;
    }
    
    .comanda-valor {
        font-size: 1.25rem;
        text-align: right;
    }
    
    .comanda-footer {
        padding-top: 0.875rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .comanda-info {
        font-size: 0.75rem;
        text-align: center;
    }
    
    .comanda-actions {
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .comanda-actions .btn {
        flex: 1;
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
        border-radius: 8px;
    }
    
    /* Sidebar Widgets Mobile */
    .sidebar-widgets {
        gap: 1.25rem;
    }
    
    .widget-card {
        border-radius: 12px;
    }
    
    .widget-card .card-header {
        padding: 1rem 1.25rem;
    }
    
    .widget-title {
        font-size: 1rem;
        gap: 0.5rem;
    }
    
    .widget-card .card-body {
        padding: 1rem 1.25rem;
    }
    
    /* Resumo Atendimentos Mobile */
    .resumo-atendimentos {
        gap: 0.875rem;
    }
    
    .resumo-item {
        padding: 0.875rem 1rem;
        border-radius: 10px;
    }
    
    .resumo-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .resumo-numero {
        font-size: 1.13rem;
    }
    
    .resumo-label {
        font-size: 0.8125rem;
    }
    
    /* Payment Methods Mobile */
    .payment-methods {
        gap: 0.875rem;
    }
    
    .payment-item {
        padding: 0.875rem 1rem;
        border-radius: 10px;
    }
    
    .payment-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .payment-label {
        font-size: 0.875rem;
    }
    
    .payment-value {
        font-size: 0.9375rem;
        font-weight: 600;
    }
    
    .payment-count {
        font-size: 0.75rem;
    }
    
    /* Pacotes Mobile */
    .pacotes-utilizados {
        gap: 0.75rem;
    }
    
    .pacote-item {
        padding: 0.875rem 1rem;
        border-radius: 8px;
    }
    
    .pacote-cliente {
        font-size: 0.875rem;
        line-height: 1.3;
    }
    
    .pacote-tipo {
        font-size: 0.75rem;
    }
    
    .pacote-creditos {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
        border-radius: 12px;
    }
    
    /* Modais Mobile */
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-content {
        border-radius: 12px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem 1.25rem;
    }
    
    .modal-title {
        font-size: 1.1rem;
        gap: 0.5rem;
    }
    
    /* Date Picker Mobile */
    .date-picker-dropdown {
        width: 100%;
        left: 0;
        right: 0;
        max-width: none;
        margin: 0 -0.5rem;
    }
    
    /* Popup de edição simplificado em mobile */
    .edit-comanda-simple {
        min-width: auto;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .comanda-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 8px;
    }
    
    .comanda-basic-info {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .comanda-basic-info strong {
        font-size: 1.1rem;
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .comanda-value {
        text-align: left;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 0.75rem;
        border-top: 1px solid var(--theme-border-color);
    }
    
    .value-amount {
        font-size: 1.25rem;
        font-weight: 700;
    }
    
    .status-options {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .status-option {
        width: 100%;
        padding: 1rem;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        font-size: 0.95rem;
    }
    
    .status-option.active {
        transform: scale(1.02);
    }
    
    .section-header {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--theme-bg-secondary);
    }
    
    .section-header .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
        border-radius: 6px;
        min-height: 32px;
    }
    
    .services-list, 
    .obs-content {
        padding: 1rem;
    }
    
    .service-tag {
        margin: 0 0.375rem 0.5rem 0;
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
        border-radius: 20px;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        min-height: 36px;
    }
    
    .service-tag .remove-service {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
    }
    
    .obs-content textarea {
        min-height: 80px;
        padding: 0.75rem;
        font-size: 0.9rem;
        border-radius: 8px;
        resize: vertical;
    }
    
    .obs-content .btn {
        margin-top: 0.75rem;
        width: 100%;
        padding: 0.75rem;
        font-size: 0.9rem;
        border-radius: 8px;
        min-height: 44px;
    }
    
    .no-services-simple {
        text-align: center;
        padding: 2rem 1rem;
        color: var(--theme-text-secondary);
        font-style: italic;
        background: var(--theme-bg-secondary);
        border-radius: 8px;
        margin: 0.5rem 0;
    }
    
    /* Empty State Mobile */
    .empty-state {
        padding: 2.5rem 1rem;
        min-height: 250px;
    }
    
    .empty-icon {
        width: 60px;
        height: 60px;
        font-size: 1.13rem;
        margin-bottom: 1rem;
    }
    
    .empty-state h6 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .empty-state p {
        font-size: 0.875rem;
        max-width: 280px;
    }
}

/* Mobile Small - Ultra Responsivo */
@media (max-width: 576px) {
    .content-area {
        padding: 0.5rem;
    }
    
    .container-fluid {
        padding: 0;
    }
    
    /* Top Bar Mobile */
    .top-bar-wrapper {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .date-filter-compact,
    .quick-actions-compact {
        width: 100%;
    }
    
    /* Date filter compact responsive */
    .date-compact-wrapper {
        max-width: 100%;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
        justify-content: center;
    }
    
    .date-input-compact {
        min-width: 100px;
        font-size: 0.75rem;
    }
    
    /* Actions responsive */
    .actions-compact-wrapper {
        justify-content: center;
        gap: 1rem;
    }
    
    .action-btn-compact {
        padding: 0.625rem 0.875rem;
        font-size: 0.75rem;
        gap: 0.375rem;
        flex: 1;
        justify-content: center;
        max-width: 120px;
    }
    
    .action-btn-compact i {
        font-size: 0.875rem;
    }
    
    /* Header Ultra Mobile */
    .atendimento-header {
        margin-bottom: 1rem;
    }
    
    .atendimento-header .row {
        margin: 0 -0.25rem;
    }
    
    .atendimento-header .col-lg-3,
    .atendimento-header .col-md-6 {
        padding: 0 0.25rem;
        margin-bottom: 0.75rem;
    }
    
    /* Status Cards Ultra Mobile */
    .status-card {
        padding: 0.875rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        border-radius: 10px;
    }
    
    .status-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        border-radius: 10px;
        margin: 0 auto;
    }
    
    .status-number {
        font-size: 1.375rem;
        line-height: 1;
    }
    
    .status-label {
        font-size: 0.7rem;
        margin-top: 0.125rem;
    }
    
    /* Actions Bar Ultra Mobile */
    .actions-bar {
        padding: 0.875rem;
        gap: 0.875rem;
        margin-bottom: 1rem;
        border-radius: 10px;
    }
    
    #novaComandaBtn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        min-width: 160px;
    }
    
    #novaComandaBtn:hover {
        transform: translateY(-2px) scale(1.015);
        box-shadow: 
            0 10px 30px rgba(37, 99, 235, 0.4),
            0 4px 12px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    
    /* Top Bar Tablet */
    .top-bar-wrapper {
        gap: 1.5rem;
    }
    
    .date-compact-wrapper {
        max-width: 300px;
        padding: 0.8rem 1.1rem;
    }
    
    .date-input-compact {
        font-size: 0.8rem;
        min-width: 105px;
    }
    
    /* Actions tablet */
    .actions-compact-wrapper {
        gap: 0.625rem;
    }
    
    .action-btn-compact {
        padding: 0.75rem 1rem;
        font-size: 0.8125rem;
        max-width: 140px;
    }
    
    /* Ajustes Tablet para Filtros */
    .actions-left {
        gap: 1.5rem;
    }
    
    .filter-group {
        min-width: 200px;
    }
    
    .filter-group::before {
        left: 0.875rem;
        font-size: 0.85rem;
    }
    
    #profissionalFilter {
        padding: 0.875rem 1rem 0.875rem 2.5rem;
        font-size: 0.9rem;
        border-radius: 10px;
        background-position: right 0.75rem center;
        background-size: 16px;
        padding-right: 2.75rem;
    }
    
    .filter-group .form-select,
    #datePickerBtn {
        padding: 0.75rem 0.875rem;
        font-size: 0.875rem;
        border-radius: 8px;
        min-width: auto;
        max-width: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    }
    
    #datePickerBtn:hover {
        transform: none;
        box-shadow: 0 2px 6px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.12);
    }
    
    .view-btn {
        padding: 0.75rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    /* Comandas Ultra Mobile */
    .comandas-card {
        border-radius: 10px;
    }
    
    .comandas-card .card-header {
        padding: 0.875rem 1rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .total-badge {
        padding: 0.1875rem 0.625rem;
        font-size: 0.65rem;
    }
    
    .comandas-container {
        padding: 0.875rem;
        max-height: 55vh;
    }
    
    .comanda-item {
        padding: 0.875rem;
        margin-bottom: 0.875rem;
        border-radius: 10px;
    }
    
    .comanda-numero {
        font-size: 1rem;
    }
    
    .comanda-cliente {
        font-size: 0.9375rem;
        line-height: 1.25;
    }
    
    .comanda-profissional {
        font-size: 0.75rem;
    }
    
    .comanda-status {
        padding: 0.25rem 0.625rem;
        font-size: 0.65rem;
        border-radius: 20px;
    }
    
    .servico-tag {
        padding: 0.1875rem 0.5rem;
        font-size: 0.7rem;
        border-radius: 12px;
    }
    
    .comanda-tempo {
        font-size: 0.75rem;
    }
    
    .comanda-valor {
        font-size: 1.125rem;
    }
    
    .comanda-actions .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        border-radius: 6px;
    }
    
    /* Widgets Ultra Mobile */
    .widget-card {
        border-radius: 10px;
    }
    
    .widget-card .card-header {
        padding: 0.875rem 1rem;
    }
    
    .widget-title {
        font-size: 0.9375rem;
    }
    
    .widget-card .card-body {
        padding: 0.875rem 1rem;
    }
    
    .resumo-item {
        padding: 0.75rem 0.875rem;
        border-radius: 8px;
    }
    
    .resumo-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9375rem;
        border-radius: 8px;
    }
    
    .resumo-numero {
        font-size: 1.25rem;
    }
    
    .resumo-label {
        font-size: 0.75rem;
    }
    
    .payment-item {
        padding: 0.75rem 0.875rem;
        border-radius: 8px;
    }
    
    .payment-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9375rem;
        border-radius: 6px;
    }
    
    .payment-label {
        font-size: 0.8125rem;
    }
    
    .payment-value {
        font-size: 0.875rem;
    }
    
    .payment-count {
        font-size: 0.6875rem;
    }
    
    .pacote-item {
        padding: 0.75rem 0.875rem;
        border-radius: 6px;
    }
    
    .pacote-cliente {
        font-size: 0.8125rem;
    }
    
    .pacote-tipo {
        font-size: 0.7rem;
    }
    
    .pacote-creditos {
        padding: 0.1875rem 0.4375rem;
        font-size: 0.65rem;
        border-radius: 10px;
    }
    
    /* Modais Ultra Mobile */
    .modal-dialog {
        margin: 0.25rem;
        max-width: calc(100% - 0.5rem);
    }
    
    .modal-content {
        border-radius: 10px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 0.875rem 1rem;
    }
    
    .modal-title {
        font-size: 1rem;
    }
    
    /* Botões compactos */
    .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
        border-radius: 6px;
    }
    
    .btn-text {
        display: none;
    }
    
    /* Date Picker Ultra Mobile */
    .date-picker-dropdown {
        padding: 0.75rem;
        border-radius: 8px;
        margin: 0 -0.25rem;
    }
    
    .calendar-day {
        width: 32px;
        height: 32px;
        font-size: 0.8125rem;
        border-radius: 6px;
    }
    
    /* Popup Ultra Mobile */
    .edit-comanda-simple {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .comanda-info-row {
        padding: 0.875rem;
        border-radius: 8px;
        margin-bottom: 0.875rem;
        gap: 0.75rem;
    }
    
    .comanda-basic-info strong {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
    
    .comanda-basic-info .small {
        font-size: 0.8125rem;
        line-height: 1.3;
    }
    
    .comanda-value {
        padding-top: 0.625rem;
        margin-top: 0.625rem;
    }
    
    .value-amount {
        font-size: 1.125rem;
    }
    
    .section-header {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
        gap: 0.5rem;
    }
    
    .section-header i {
        font-size: 0.875rem;
    }
    
    .section-header .btn {
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
        min-height: 28px;
        border-radius: 4px;
    }
    
    .services-list,
    .obs-content,
    .status-options {
        padding: 0.875rem;
    }
    
    .status-option {
        padding: 0.875rem 0.75rem;
        border-radius: 8px;
        min-height: 44px;
        font-size: 0.875rem;
    }
    
    .option-text {
        font-size: 0.875rem;
        gap: 0.375rem;
    }
    
    .option-text i {
        font-size: 0.875rem;
    }
    
    .service-tag {
        padding: 0.25rem 0.625rem;
        font-size: 0.8125rem;
        border-radius: 16px;
        min-height: 32px;
        margin: 0 0.25rem 0.375rem 0;
    }
    
    .service-tag .remove-service {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
    
    .obs-content textarea {
        min-height: 70px;
        padding: 0.625rem;
        font-size: 0.875rem;
        border-radius: 6px;
    }
    
    .obs-content .btn {
        margin-top: 0.625rem;
        padding: 0.625rem;
        font-size: 0.875rem;
        min-height: 40px;
        border-radius: 6px;
    }
    
    .no-services-simple {
        padding: 1.5rem 0.875rem;
        font-size: 0.875rem;
        border-radius: 6px;
    }
    
    /* Empty State Ultra Mobile */
    .empty-state {
        padding: 2rem 0.875rem;
        min-height: 200px;
    }
    
    .empty-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }
    
    .empty-state h6 {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }
    
    .empty-state p {
        font-size: 0.8125rem;
        max-width: 250px;
    }
    
    /* Ajustes finais para telas muito pequenas */
    .screen-notification {
        top: 5px;
        right: 5px;
        left: 5px;
    }
    
    .screen-notification-content {
        padding: 0.75rem 1rem;
        min-width: auto;
        border-radius: 8px;
    }
    
    .screen-notification span {
        font-size: 0.8125rem;
    }
}

/* ===== MELHORIAS AVANÇADAS MOBILE UX ===== */

/* Smooth Scrolling para mobile */
@media (max-width: 768px) {
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    .comandas-container {
        scroll-behavior: smooth;
        overscroll-behavior-y: contain;
    }
    
    /* Indicadores de scroll para listas */
    .comandas-container::after {
        content: '';
        position: absolute;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 30%;
        background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.3);
        border-radius: 2px;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    
    .comandas-container:hover::after {
        opacity: 1;
    }
    
    
    /* Pull-to-refresh visual */
    .pull-to-refresh {
        position: absolute;
        top: -60px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--primary-color);
        font-size: 0.875rem;
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .pull-to-refresh.visible {
        opacity: 1;
        top: -40px;
    }
    
    .pull-to-refresh i {
        animation: spin 1s linear infinite;
    }
    
    /* Feedback tátil visual */
    .haptic-feedback {
        position: relative;
        overflow: hidden;
    }
    
    .haptic-feedback::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.2);
        transform: translate(-50%, -50%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
        z-index: 1;
    }
    
    .haptic-feedback:active::before {
        width: 100%;
        height: 100%;
    }
    
    /* Swipe gestures indicators */
    .swipe-indicator {
        position: relative;
        overflow: hidden;
    }
    
    .swipe-indicator::after {
        content: '';
        position: absolute;
        right: -100%;
        top: 0;
        height: 100%;
        width: 3px;
        background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
        transition: right 0.3s ease;
    }
    
    .swipe-indicator.swipe-active::after {
        right: 0;
    }
    
    /* Cards com efeito de profundidade */
    .comanda-item,
    .status-card,
    .widget-card {
        transform: translateZ(0);
        will-change: transform, box-shadow;
        backface-visibility: hidden;
    }
    
    /* Otimização de toque */
    .comanda-item,
    .status-card,
    .btn,
    .view-btn {
        touch-action: manipulation;
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Estados de loading mobile */
    .mobile-loading {
        position: relative;
    }
    
    .mobile-loading::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.1),
            transparent
        );
        animation: shimmer 1.5s infinite;
        pointer-events: none;
    }
    
    @keyframes shimmer {
        0% { left: -100%; }
        100% { left: 100%; }
    }
    
    /* Micro-interações */
    .comanda-item:active {
        transform: translateY(2px) scale(0.98);
        transition: all 0.1s ease;
    }
    
    .status-card:active {
        transform: translateY(2px) scale(0.98);
    }
    
    /* Scrollbar customizada para mobile */
    .comandas-container::-webkit-scrollbar {
        width: 2px;
    }
    
    .comandas-container::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .comandas-container::-webkit-scrollbar-thumb {
        background: rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.5);
        border-radius: 10px;
    }
    
    /* Sticky headers com blur */
    .comandas-card .card-header {
        position: sticky;
        top: 0;
        z-index: 10 !important; /* Baixo o suficiente para não interferir */
        backdrop-filter: blur(20px);
        background: rgba(var(--theme-bg-primary-rgb), 0.95);
    }
    
    /* Melhor feedback visual para forms */
    .form-control:focus,
    .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.1);
        transition: all 0.3s ease;
    }
    
    /* Loading states para botões */
    .btn.loading {
        position: relative;
        pointer-events: none;
    }
    
    .btn.loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 16px;
        height: 16px;
        margin: -8px 0 0 -8px;
        border: 2px solid transparent;
        border-top-color: currentColor;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    .btn.loading span {
        opacity: 0;
    }
}

/* Gestos especiais para telas muito pequenas */
@media (max-width: 576px) {
    
    /* Otimização de espaço */
    .comandas-container {
        max-height: 50vh;
    }
    
    /* Melhor área de toque */
    .comanda-actions .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .view-btn {
        min-height: 44px;
    }
    
    /* Navegação por gestos */
    .gesture-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 34px;
        background: linear-gradient(to top, rgba(0,0,0,0.1), transparent);
        pointer-events: none;
        z-index: 1000;
    }
    
    .gesture-indicator {
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 134px;
        height: 5px;
        background: rgba(0,0,0,0.3);
        border-radius: 3px;
    }
}

/* ===== TEMA ESCURO COM MELHORIAS ===== */
.theme-dark .comanda-item:hover {
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.1);
}

.theme-dark .status-card:hover {
    box-shadow: 0 12px 35px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.2);
}

.theme-dark .resumo-item:hover {
    transform: translateX(2px);
}

.theme-dark .comandas-card .card-header {
    background: rgba(var(--theme-bg-primary-rgb), 0.95);
    backdrop-filter: blur(20px);
}

.theme-dark .floating-btn.secondary {
    background: rgba(30, 30, 30, 0.95);
    color: var(--primary-color);
}

/* ===== PERFORMANCE E ACESSIBILIDADE ===== */

/* Redução de movimento para usuários sensíveis */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .floating-btn:hover,
    .comanda-item:hover,
    .status-card:hover {
        transform: none;
    }
}

/* Alto contraste para acessibilidade */
@media (prefers-contrast: high) {
    .comanda-item,
    .status-card,
    .widget-card {
        border-width: 2px;
        border-color: #000;
    }
    
    .status-icon,
    .floating-btn {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid currentColor;
        font-weight: 700;
    }
}

/* Otimização de GPU para animações */
.comanda-item,
.status-card,
.modal {
    transform: translateZ(0);
    will-change: auto;
    backface-visibility: hidden;
}

/* Foco visível melhorado */
.btn:focus,
.comanda-item:focus,
.view-btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(var(--primary-r), var(--primary-g), var(--primary-b), 0.3);
}

/* Skip links para acessibilidade */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 999999999;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
    color: white;
}

/* Indicadores de carregamento acessíveis */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Estados para leitores de tela */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Live regions para atualizações dinâmicas */
.live-region {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Tooltip acessível */
.tooltip-accessible {
    position: relative;
    display: inline-block;
}

.tooltip-accessible::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.tooltip-accessible:hover::after,
.tooltip-accessible:focus::after {
    opacity: 1;
    visibility: visible;
}

/* ===== ANIMAÇÕES OTIMIZADAS ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.comanda-item {
    animation: slideInUp 0.3s ease-out;
}

.status-card {
    animation: slideInUp 0.3s ease-out;
}

/* Lazy loading para imagens */
img[data-lazy] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[data-lazy].loaded {
    opacity: 1;
}

/* Intersection Observer otimization */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.profissional-status-dot {
    animation: pulse 2s infinite;
}

/* ===== UTILIDADES ===== */
.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

/* ===================================================================
   MODAL DE VISUALIZAÇÃO DE COMANDA - ESTILO PREMIUM
   =================================================================== */

#visualizarComandaModal .modal-dialog {
    max-width: 900px;
}

#visualizarComandaModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

#visualizarComandaModal .modal-header {
    background: linear-gradient(135deg, var(--primary-color, #f97316) 0%, var(--primary-dark, #ea580c) 100%);
    color: white;
    padding: 24px 32px;
    border: none;
    position: relative;
    overflow: hidden;
}

#visualizarComandaModal .modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

#visualizarComandaModal .modal-title {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

#visualizarComandaModal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
    position: relative;
    z-index: 1;
}

#visualizarComandaModal .modal-body {
    padding: 32px;
    background: var(--theme-card-bg, #fff);
}

#visualizarComandaModal .modal-footer {
    padding: 20px 32px;
    border-top: 2px solid var(--theme-border-color, #e5e7eb);
    background: var(--theme-bg-secondary, #f9fafb);
}

/* Seção de Informações da Comanda */
.comanda-info-section {
    background: linear-gradient(135deg,
        rgba(var(--primary-r, 59), var(--primary-g, 130), var(--primary-b, 246), 0.08) 0%,
        rgba(var(--primary-r, 59), var(--primary-g, 130), var(--primary-b, 246), 0.15) 100%
    );
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    border: 2px solid var(--primary-color, #3b82f6);
    border-left-width: 6px;
    box-shadow: 0 2px 8px rgba(var(--primary-r, 59), var(--primary-g, 130), var(--primary-b, 246), 0.1);
}

.comanda-info-section h6 {
    font-weight: 700;
    color: var(--theme-text-color, #1f2937);
    margin-bottom: 16px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comanda-info-section h6 i {
    color: var(--primary-color, #3b82f6);
    font-size: 1.2rem;
}

.comanda-info-table {
    width: 100%;
    margin-bottom: 0;
}

.comanda-info-table td {
    padding: 10px 0;
    border: none;
    color: var(--theme-text-muted, #6b7280);
}

.comanda-info-table td:first-child {
    font-weight: 600;
    width: 140px;
}

.comanda-info-table td:last-child {
    color: var(--theme-text-color, #1f2937);
}

/* Cards de Conteúdo */
.comanda-content-card {
    background: var(--theme-card-bg, #fff);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    border: 2px solid var(--theme-border-color, #e5e7eb);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.comanda-content-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.comanda-content-card h6 {
    font-weight: 700;
    color: var(--theme-text-color, #1f2937);
    margin-bottom: 16px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comanda-content-card h6 i {
    color: var(--primary-color, #3b82f6);
    font-size: 1.15rem;
}

.comanda-content-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comanda-content-card ul li {
    padding: 12px 16px;
    background: var(--theme-bg-secondary, #f9fafb);
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--primary-color, #3b82f6);
    transition: all 0.2s ease;
}

.comanda-content-card ul li:hover {
    background: rgba(var(--primary-r, 59), var(--primary-g, 130), var(--primary-b, 246), 0.1);
    transform: translateX(4px);
    border-left-width: 6px;
}

.comanda-content-card ul li:last-child {
    margin-bottom: 0;
}

/* Resumo Financeiro */
.resumo-financeiro-card {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 16px;
    padding: 24px;
    border: 2px solid #6ee7b7;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.resumo-financeiro-card h6 {
    font-weight: 700;
    color: #065f46;
    margin-bottom: 16px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resumo-financeiro-card h6 i {
    color: #10b981;
    font-size: 1.2rem;
}

.resumo-financeiro-card table {
    width: 100%;
    margin-bottom: 0;
}

.resumo-financeiro-card table tr {
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.resumo-financeiro-card table tr:last-child {
    border-bottom: none;
}

.resumo-financeiro-card table td {
    padding: 12px 8px;
    color: #065f46;
}

.resumo-financeiro-card table td:last-child {
    text-align: right;
}

.resumo-financeiro-card .table-active {
    background: rgba(16, 185, 129, 0.1) !important;
}

.resumo-financeiro-card .table-active td {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    font-size: 1.1rem;
}

.resumo-financeiro-card .text-danger {
    color: #dc2626 !important;
}

.resumo-financeiro-card .text-success {
    color: #059669 !important;
}

/* Pagamentos Card */
.pagamentos-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 16px;
    padding: 24px;
    border: 2px solid #93c5fd;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.pagamentos-card h6 {
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 16px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagamentos-card h6 i {
    color: #3b82f6;
    font-size: 1.2rem;
}

.pagamentos-card ul li {
    background: rgba(255, 255, 255, 0.7);
    border-left-color: #3b82f6;
}

/* Produtos Adicionais Card */
.produtos-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.15) 100%);
    border-radius: 16px;
    padding: 24px;
    border: 2px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

.produtos-card h6 {
    font-weight: 700;
    color: var(--theme-text-color, #1f2937);
    margin-bottom: 16px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.produtos-card h6 i {
    color: #f59e0b;
    font-size: 1.2rem;
}

.produtos-card ul li {
    background: rgba(255, 255, 255, 0.7);
    border-left-color: #f59e0b;
}

/* Badge de Status */
.badge {
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

/* Observações */
.alert-info {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border: 2px solid #7dd3fc;
    border-radius: 12px;
    color: #075985;
    padding: 16px 20px;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comanda-info-section,
.comanda-content-card,
.resumo-financeiro-card,
.pagamentos-card,
.produtos-card {
    animation: fadeInUp 0.4s ease-out;
}

.comanda-info-section {
    animation-delay: 0.1s;
}

.comanda-content-card:nth-child(2) {
    animation-delay: 0.2s;
}

.comanda-content-card:nth-child(3) {
    animation-delay: 0.3s;
}

.comanda-package-summary-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(15, 23, 42, 0.05) 100%);
    border-radius: 18px;
    padding: 24px;
    border: 2px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
    color: var(--theme-text-primary, #1f2937);
    margin-bottom: 1.5rem;
}

.comanda-package-summary-card .summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.comanda-package-summary-card .summary-label {
    margin: 0;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.6);
}

.comanda-package-summary-card .summary-status {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.15);
    color: #1d4ed8;
}

.comanda-package-summary-card .summary-metrics {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.comanda-package-summary-card .summary-metrics div {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    text-align: center;
}

.comanda-package-summary-card .summary-metrics strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.comanda-package-summary-card .summary-metrics span {
    font-size: 0.75rem;
    color: rgba(15, 23, 42, 0.7);
    letter-spacing: 0.2em;
}

.comanda-package-summary-card .summary-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(15, 23, 42, 0.8);
    line-height: 1.5;
}

.comanda-package-summary-card .summary-base {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.85);
    font-size: 0.9rem;
}

.comanda-package-summary-card .summary-rights {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.4;
}

.comanda-package-summary-wrapper {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--theme-border-color, rgba(15, 23, 42, 0.12));
    display: block;
}

.comanda-package-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 14px;
    padding: 12px 16px;
    margin: 0 24px 12px;
    gap: 1rem;
}

.comanda-package-inline strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.comanda-package-inline p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(15, 23, 42, 0.7);
}

.comanda-package-inline .inline-status {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.15);
    color: #1c3faa;
}
