/* Contêiner */
.container-resumo_pedido {
    max-width: 800px;
    margin: 0 auto;
    background: #fafafa;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border-radius: 10px;
    padding: 20px;
    font-family: 'Arial', sans-serif; 
}

/* Cabeçalho */
.header-resumo_pedido {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.header-resumo_pedido h1 {
    color: #004E4C;
    font-size: 28px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.header-resumo_pedido h2 {
    font-size: 22px;
}

/* Sub-titulo */
.item-description-resumo_pedido {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

/* Estilo para o card do cardápio */
.cardapio-title-resumo_pedido {
    background-color: #f8f8f8;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #004E4C;
    position: relative;
}

.cardapio-content-resumo_pedido {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: nowrap;
}

/* imagem do cardápio */
.cardapio-image-resumo_pedido {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.cardapio-image-resumo_pedido img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* Adicionar observação */
#observacao-container-resumo_pedido {
    display: none;
    margin-top: 10px;
    width: 100%;

}

.form-label-resumo_pedido {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #333;
}

.form-control-resumo_pedido {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

.label-custom-resumo_pedido {
    font-weight: bold;
    color: #333;
}

/* Botão de observação */
.edit-btn-resumo_pedido {
    background: #004E4C;
    background: linear-gradient(215deg, rgba(0, 78, 76, 1) 60%, rgba(0, 153, 93, 1) 100%);
    color: white;
    border: none;
    padding: 08px 16px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    text-transform: uppercase;
}

.edit-btn-resumo_pedido i {
    font-size: 18px;
}

.edit-btn-resumo_pedido:hover {
    background: linear-gradient(70deg,rgba(0, 153, 93, 1) 60%, rgba(0, 78, 76, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 153, 93, 0.35), 0 3px 6px rgba(0, 78, 76, 0.45);
}

.edit-btn-resumo_pedido:active {
    transform: scale(0.97);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cardapio-info-resumo_pedido {
    text-align: left;
    margin-top: 10px;
}

/* Nome do cardápio */
.cardapio-nome-resumo_pedido {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

/* Descrição do cardápio */
.cardapio-description-resumo_pedido {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Lista de itens */
.item-list-resumo_pedido {
    list-style-type: none;
    margin-left: 15%;
}

.item-list-resumo_pedido li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-info-resumo_pedido {
    flex-grow: 1;
    padding-right: 15px;
}

.item-name-resumo_pedido {
    font-size: 16px;
    color: #333;
}

/* Quantidade */
.quantity-value-resumo_pedido {
    min-width: 25px;
    text-align: center;
    color: #516283;
    font-size: 13px;
    background-color: #f0f0f0;
    padding: 1px 13px;
    border-radius: 25px;
    display: inline-block;
}

.quantity-control-resumo_pedido {
    display: flex;
    align-items: center;
    gap: 3px;
}

.quantity-control-resumo_pedido.small-resumo_pedido {
    margin-right: 5px;
}

/* Adicionar mais itens */
.add-more-resumo_pedido {
    text-align: center;
    margin: 25px 0;
}

.add-more-resumo_pedido a {
    color: #d9232d;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.2s;
}

.add-more-resumo_pedido a:hover {
    color: #b51d26;
    text-decoration: underline;
}

/* Rodapé */
.footer-resumo_pedido {
    text-align: right;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #eee;
}

/* Botão Finalizar Pedido */
.btn-finalizar-resumo_pedido {
    background: #004E4C;
    background: linear-gradient(215deg,rgba(0, 78, 76, 1) 60%, rgba(0, 153, 93, 1) 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-finalizar-resumo_pedido:hover {
    background: linear-gradient(70deg,rgba(0, 153, 93, 1) 60%, rgba(0, 78, 76, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 153, 93, 0.35), 0 3px 6px rgba(0, 78, 76, 0.45);
}

.btn-finalizar-resumo_pedido:active {
    transform: scale(0.97);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsividade (máximo de 992px de largura) */
@media (max-width: 992px) {
    .container-live,
    .card-body,
    .panel-body,
    .fb-field-container {
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow-y: visible !important;
    } 

    html, body {
        overflow-x: hidden;
    }

    .header-resumo_pedido h1 {
        font-size: 26px;
    }

    .header-resumo_pedido h2 {
        font-size: 18px;
    }

    .item-description-resumo_pedido {
        font-size: 18px;
    }

    .cardapio-content-resumo_pedido {
        margin-bottom: 10px;
    }

    .edit-btn-resumo_pedido {
        padding: 08px 16px;
        font-size: 16px;
    }

    .cardapio-nome-resumo_pedido {
        font-size: 17px;
        margin-bottom: 3px;
    }

    .cardapio-description-resumo_pedido {
        font-size: 13px;
    }

    .form-label-resumo_pedido {
        font-size: 12px;
        margin: 5px 0;
    }

    textarea.form-control-resumo_pedido {
        font-size: 12px;
    }

    /* Lista de itens */
    .item-list-resumo_pedido {
        margin-left: 0%;
    }

    .item-name-resumo_pedido {
        font-size: 14px;
    }

    /* Quantidade */
    .quantity-value-resumo_pedido {
        font-size: 12px;
        padding: 1px 12px;
    }

    /* Adicionar mais itens */
    .add-more-resumo_pedido {
        text-align: center;
        margin: 20px 0px 10px 0px;
    }

    .btn-finalizar-resumo_pedido {
        padding: 12px 25px;
        font-size: 16px;
    }
}

.tempo-cardapio-resumo-pedido {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 0px 0px 30px;
}

.tempo-cardapio-box-resumo-pedido {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    min-width: 120px;
    transition: transform 0.2s ease;
}

.tempo-cardapio-box-resumo-pedido:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.tempo-cardapio-label-resumo-pedido {
    color: #d9232d;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.2s;
}

.tempo-cardapio-value-resumo-pedido {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

@media (max-width: 576px) {
    .tempo-cardapio-resumo-pedido {
        flex-wrap: wrap;
        flex: 1;
        gap: 10px;
        margin: 20px;
    }

    .tempo-cardapio-box-resumo-pedido {
        display: flex;
        align-items: center;
        gap: 6px;
        background-color: #f8f8f8;
        padding: 6px 10px;
        border-radius: 6px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
        font-size: 0.95em;
    }

    .tempo-cardapio-label-resumo-pedido {
        font-weight: 500;
    }

    .tempo-cardapio-value-resumo-pedido {
        font-weight: 600;
    }
}