/* ========== MODAL DE PEDIDOS - ATUALIZADO ========== */
.smf-pedido-modal .modal-dialog {
    max-width: 650px;
    height: calc(100vh - 3rem);
    margin: 1.5rem auto;
}

.smf-pedido-modal .modal-content {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
}

.smf-pedido-modal .modal-header {
    background: linear-gradient(135deg, #ff9f60, #ff7b8d);
    border-bottom: none;
    padding: 1.25rem 1.75rem;
    color: white;
    flex-shrink: 0;
    position: relative;
}

.smf-pedido-modal .modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.smf-pedido-modal .btn-close {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background-size: 1.1rem;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
    padding: 0.5rem;
}

.smf-pedido-modal .btn-close:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.smf-pedido-modal .modal-body {
    padding: 1.75rem;
    overflow-y: auto;
    flex-grow: 1;
    background-color: #f9f9f9;
}

.smf-pedido-modal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.75rem;
    flex-shrink: 0;
    background-color: #fff;
}

/* ========== ESTILOS PARA INFORMAÇÕES DO PEDIDO ========== */
.smf-pedido-info-label {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.smf-pedido-info-value {
    font-size: 1rem;
    color: #212529;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.smf-pedido-produtos-label {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    margin: 1.5rem 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== ESTILOS PARA TABELA DE PRODUTOS ========== */
.smf-pedido-modal .table {
    margin-bottom: 0;
    border-radius: 8px;
    overflow: hidden;
}

.smf-pedido-modal .table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    font-size: 0.85rem;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 1rem;
    border-bottom-width: 1px;
}

.smf-pedido-modal .table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-color: #f0f0f0;
    font-size: 0.95rem;
}

.smf-pedido-modal .table tbody tr:last-child td {
    border-bottom: none;
}

/* ========== BOTÃO DE FECHAR ========== */
.smf-pedido-modal-btn-close {
    background: linear-gradient(135deg, #ff9f60, #ff7b8d);
    border: none;
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 159, 96, 0.3);
}

.smf-pedido-modal-btn-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 159, 96, 0.4);
    color: white;
}

.smf-pedido-modal-btn-close:active {
    transform: translateY(0);
}

/* ========== STATUS DO PEDIDO ========== */
#pedido-status {
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

/* ========== AJUSTES RESPONSIVOS ========== */
@media (max-width: 768px) {
    .smf-pedido-modal .modal-dialog {
        height: calc(100vh - 1rem);
        margin: 0.5rem auto;
    }
    
    .smf-pedido-modal .modal-header {
        padding: 1rem 1.25rem;
    }
    
    .smf-pedido-modal .modal-body {
        padding: 1.25rem;
    }
    
    .smf-pedido-modal .btn-close {
        right: 1rem;
    }
}

@media (max-width: 576px) {
    .smf-pedido-modal .modal-content {
        border-radius: 0;
    }
    
    .smf-pedido-modal .table thead {
        display: none;
    }
    
    .smf-pedido-modal .table tbody tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
        border: 1px solid #f0f0f0;
        border-radius: 8px;
        padding: 1rem;
    }
    
    .smf-pedido-modal .table tbody td {
        padding: 0.5rem 0;
        border: none;
        display: flex;
        justify-content: space-between;
    }
    
    .smf-pedido-modal .table tbody td::before {
        content: attr(data-label);
        font-weight: 500;
        color: #6c757d;
        margin-right: 1rem;
    }
}


