@charset "utf-8";

/* ── Loading Overlay ─────────────────────────────────────────────────────── */

#loading-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.35s ease;
}

#loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* ── Três pontos animados (wave) ── */
#loading-dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ldot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00aa99;
    animation: ldot-wave 1.3s ease-in-out infinite;
}

.ldot:nth-child(1) { animation-delay: 0s;    background: #00aa99; }
.ldot:nth-child(2) { animation-delay: 0.22s; background: #00cc99; }
.ldot:nth-child(3) { animation-delay: 0.44s; background: #00eebb; }

@keyframes ldot-wave {
    0%,  60%, 100% { transform: translateY(0);     opacity: 0.45; }
    30%             { transform: translateY(-14px); opacity: 1;    }
}

#loading-texto {
    font-family: "Arial", sans-serif;
    font-size: 13px;
    color: #00aa99;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media all {

    body {
        background: #eeeeee;
    }

    #banner {
        width: 100%;
        background-size: 100%;
        position: absolute;
    }

    #header {
        position: absolute;
        background: #ffffff;
    }

    #logo-div {
        background: transparent;        
        border-radius: 10px;
    }

    #logo {
        align-self: center;
        vertical-align: center;
    }

    #cart {
        position: fixed;
        float: right;
        z-index: 1000;
    }

    #cart-btn {
        width: 50px;
        height: 50px;
        background: #00aa99;
        border-radius: 30px;
        box-shadow: 1px 1px 5px #000000;
    }

    #cart-btn > img {
        width: 30px;
        height: 30px;
        margin-top: 10px;
    }

    #cart-btn:hover {
        cursor: pointer;
        background: #007766;
    }

    #cart-qtde {
        background: #00aa99;
        color: #ffffff;
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        border-radius: 5px;
        box-shadow: 1px 1px 5px #000000;
        margin-top: 5px;
        padding: 2px;
    }

    #nome {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
    }

    #funcionamento1 {
        font-family: "Arial";
        font-size: 14px;
        color: #666666;
    }

    #funcionamento2 {
        font-family: "Arial";
        font-size: 14px;
        color: #333333;
        margin-top: -10px;
        white-space: pre-line;
    }

    #tempo-entrega1 {
        font-family: "Arial";
        font-size: 14px;
        color: #666666;
    }

    #tempo-entrega2 {
        font-family: "Arial";
        font-size: 14px;
        color: #333333;
        margin-top: -10px;
    }
    #tempo-entrega3 {
        font-family: "Arial";
        font-size: 14px;
        color: #666666;
        margin-top: -12px;
    }

    #tempo-entrega4 {
        font-family: "Arial";
        font-size: 14px;
        color: #333333;
        margin-top: -10px;
    }

    #bolinha-verde {
        background: #44ff44;
        width: 14px;
        height: 14px;
        border-radius: 10px;
    }

    #bolinha-vermelha {
        background: #ff4444;
        width: 14px;
        height: 14px;
        border-radius: 10px;
    }

    .aberto-fechado {
        margin-left: 5px;
        font-family: "Arial";
        font-size: 14px;
        color: #666666;
    }

    #content {
        position: absolute;
        width: 100%;
    }

    #acompanhe-pedido-btn {
        background: #006677;
        width: 230px;
        height: 40px;
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #ffffff;
        border-radius: 7px;
        padding-top: 10px;
    }

    #acompanhe-pedido-btn:hover {
        background: #005566;
        cursor: pointer;
    }

    #verificar-pedidos-btn:hover {
        background: #007766;
        cursor: pointer;
    }

    .grupo-btn {
        background: #00aa99;
        width: 230px;
        height: 40px;
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #ffffff;
        border-radius: 7px;
        padding-top: 10px;
    }

    .grupo-btn:hover {
        background: #007766;
        cursor: pointer;
    }

    .nome-grupo {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
    }

    .produto-div {
        background: #ffffff;
    }

    .produto-nome-true {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #bb3333;
    }

    .produto-nome-false {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #555555;
    }

    .produto-promocao {
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #ff9900;
        margin: 0px 10px 0px 10px;
    }

    .produto-indisponivel {
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #777777;
        margin: 0px 10px 0px 10px;
    }

    .produto-descricao {
        font-family: "Arial";
        font-size: 14px;
        color: #666666;
    }

    .produto-img {
        width: 100px;
        height: 100px;
        border-radius: 5px;
        float: right;
    }

    .produto-preco {
        font-family: "Arial";
        font-size: 14px;
        color: #333333;
        font-weight: bold;
    }

    .produto-adicionar {
        width: 100px;
        height: 40px;
        border-radius: 7px;
        font-family: "Arial";
        font-size: 16px;
        color: #ffffff;
        font-weight: bold;
        padding: 11px 0px 0px 5px;
        float: right;
    }

    .produto-adicionar:hover {
        cursor: pointer;
    }

    .produto-adicionar-true {
        background: #00aa99;
    }

    .produto-adicionar-true:hover {
        background: #007766;
    }

    .produto-adicionar-false {
        background: #777777;
    }

    .produto-adicionar-false:hover {
        background: #555555;
    }

    #footer {
        margin-top: 70px;
        margin-bottom: 30px;
        color: #666666;
    }

    .produto-modal-nome {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #bb3333;
    }

    .produto-modal-descricao {
        font-family: "Arial";
        font-size: 14px;
        color: #666666;
    }

    .produto-modal-preco {
        font-family: "Arial";
        font-size: 14px;
        color: #333333;
        font-weight: bold;
    }

    .produto-modal-qtde-lbl {
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #666666;
        margin-right: 15px;
    }

    .qtde-btn {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #ffffff;
        background: #666666;
        width: 30px;
        height: 30px;
        border-radius: 30px;
        border: none;
        user-select: none;
        outline: none;
    }

    .qtde-btn:hover {
        background: #888888;
        cursor: pointer;
    }

    .produto-modal-qtde {
        font-family: "Arial";
        font-size: 18px;
        color: #666666;
        font-weight: bold;
    }

    .produto-modal-adicionais-lbl {
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #666666;
        margin-right: 15px;
    }

    .produto-modal-subgrupo-preco {
        font-family: "Arial";
        font-size: 14px;
        color: #333333;
        font-weight: bold;
        margin-left: 15px;
    }

    .subgrupo-accordion-card {
        border: 1px solid #e8e8e8;
        border-radius: 6px;
        margin-bottom: 10px;
        overflow: hidden;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .subgrupo-destaque-obrigatorio {
        border: 1.5px solid #e67e22 !important;
        box-shadow: 0 0 10px rgba(230, 126, 34, 0.45) !important;
        animation: subgrupoShake 0.4s ease-in-out;
    }

    @keyframes subgrupoShake {
        0%, 100% { transform: translateX(0); }
        20%, 60% { transform: translateX(-4px); }
        40%, 80% { transform: translateX(4px); }
    }

    .subgrupo-chevron {
        color: #e67e22;
        font-size: 14px;
        transition: transform 0.25s ease;
        flex-shrink: 0;
        margin-left: 8px;
        display: inline-block;
    }

    .produto-modal-adicionar {
        background: #00aa99;
        color: #ffffff;
    }

    .produto-modal-observacao {
        width: 100%;
        height: 60px;
        border-radius: 5px;
        resize: none;
    }

    #notificacao {
        z-index: 100000;
        position: fixed;
        background: #aaddcc;
        padding: 10px;
        width: 90%;
        margin-top: 15px;
        left: 5%;
        border-radius: 5px;
        box-shadow: 1px 1px 5px black;
    }

    #notificacao > p {
        font-family: "Arial";
        font-size: 16px;
    }

    #notificacao-erro {
        z-index: 100000;
        position: fixed;
        background: #ffaacc;
        padding: 10px;
        width: 90%;
        margin-top: 15px;
        left: 5%;
        border-radius: 5px;
        box-shadow: 1px 1px 5px black;
    }

    #notificacao-erro > p {
        font-family: "Arial";
        font-size: 16px;
    }

    #notificacao-alerta {
        z-index: 100000;
        position: fixed;
        background: #ffee99;
        padding: 10px;
        width: 90%;
        margin-top: 15px;
        left: 5%;
        border-radius: 5px;
        box-shadow: 1px 1px 5px black;
    }

    #notificacao-alerta > p {
        font-family: "Arial";
        font-size: 16px;
    }

    #notificacao-meia {
        z-index: 90000;
        position: fixed;
        background: #ffee99;
        padding: 10px;
        width: 90%;
        margin-top: 15px;
        left: 5%;
        border-radius: 5px;
        box-shadow: 1px 1px 5px black;
    }

    #notificacao-meia > span {
        font-family: "Arial";
        font-size: 12px;
    }

    .carrinho-seu-pedido {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #bb3333;
    }
    
    .cart-modal-continuar {
        background: #00aa99;
        color: #ffffff;
    }

    .remover-produto-btn {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #ffffff;
        background: #cc0000;
        width: 30px;
        height: 30px;
        border-radius: 30px;
        border: 1px solid #770000;
        user-select: none;
        outline: none;
    }

    .remover-produto-btn:hover {
        background: #ff3333;
        cursor: pointer;
    }

    .remover-produto-btn-meia {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #cc0000;
        background: #ffee99;
        width: 30px;
        height: 30px;
        border-radius: 30px;
        border: 2px solid #cc0000;
        user-select: none;
        outline: none;
        float: right;
        margin-top: -51px;
        padding-top: 2px;
    }

    .remover-produto-btn-meia:hover {
        border: 2px solid #ee0000;
        color: #ee0000;
        cursor: pointer;
    }

    .taxa-entrega1 {
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #ee7700;
    }
    
    .cart-modal-enviar {
        background: #00aa99;
        color: #ffffff;
    }

    .vou-retirar-btn-true {
        background: #ee7700;
        width: 100px;
        height: 40px;
        border-radius: 7px;
        font-family: "Arial";
        font-size: 16px;
        color: #ffffff;
        font-weight: bold;
        padding: 11px 0px 0px 8px;
    }

    .vou-retirar-btn-false {
        background: #bab8b6;
        width: 100px;
        height: 40px;
        border-radius: 7px;
        font-family: "Arial";
        font-size: 16px;
        color: #ffffff;
        font-weight: bold;
        padding: 11px 0px 0px 8px;
    }

    .vou-retirar-btn-true:hover {
        background: #dd6600;
        cursor: pointer;
    }

    .delivery-btn-true {
        background: #ee7700;
        width: 100px;
        height: 40px;
        border-radius: 7px;
        font-family: "Arial";
        font-size: 16px;
        color: #ffffff;
        font-weight: bold;
        padding: 11px 0px 0px 20px;
    }

    .delivery-btn-false {
        background: #bab8b6;
        width: 100px;
        height: 40px;
        border-radius: 7px;
        font-family: "Arial";
        font-size: 16px;
        color: #ffffff;
        font-weight: bold;
        padding: 11px 0px 0px 20px;
    }

    .delivery-btn-true:hover {
        background: #dd6600;
        cursor: pointer;
    }

    .mesa-btn-true {
        background: #ee7700;
        width: 100px;
        height: 40px;
        border-radius: 7px;
        font-family: "Arial";
        font-size: 16px;
        color: #ffffff;
        font-weight: bold;
        padding: 11px 0px 0px 30px;
    }

    .mesa-btn-true:hover {
        background: #dd6600;
        cursor: pointer;
    }

    .cart-form > input, .cart-form > select, .cart-form > div > input {
        border-radius: 3px;
        width: 100%;
        border: 1px solid #666666;
        height: 40px;
        padding-left: 5px;
    }

    .acompanhe-informe-cpf, .acompanhe-seu-pedido-h1 {
        font-family: "Arial";
        font-size: 16px;
        font-weight: bold;
        color: #bb3333;
    }

    .acompanhe-modal-verificar-btn {
        background: #00aa99;
        color: #ffffff;
    }

    #acompanhe-modal-cpf-txt {
        border-radius: 3px;
        width: 100%;
        border: 1px solid #666666;
        height: 40px;
        padding-left: 5px;
    }

    .acompanhe-status-lbl, .acompanhe-data-lbl {
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #666666;
        margin-right: 15px;
    }
    
    .acompanhe-status-lbl1, .acompanhe-data-lbl1 {
        font-family: "Arial";
        font-size: 14px;
        font-weight: bold;
        color: #666666;
        margin-right: 15px;
    }
    
    #img-correto{
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 50%;
    }
    
    #pedidoFinalizadoModal
    {
      text-align: center; 
      margin-left: auto;
      margin-right: auto;
    }

    /* ── Barra superior sticky ── */
    #sticky-top-bar {
        position: sticky;
        top: 0;
        z-index: 200;
        box-shadow: 0 2px 6px rgba(0,0,0,0.07);
        background: #ffffff;
    }

    /* ── Barra de pesquisa ── */
    #barra-pesquisa {
        padding: 10px 12px 8px;
        background: #ffffff;
    }

    #pesquisa-wrapper {
        display: flex;
        align-items: center;
        background: #f2f2f2;
        border-radius: 22px;
        padding: 8px 14px;
    }

    #pesquisa-lupa {
        font-size: 16px;
        color: #999;
        margin-right: 8px;
    }

    #pesquisa-input {
        flex: 1;
        border: none;
        background: transparent;
        font-size: 14px;
        color: #333;
        outline: none;
    }

    #pesquisa-input::placeholder { color: #aaa; }

    #pesquisa-limpar {
        color: #aaa;
        cursor: pointer;
        font-size: 14px;
        margin-left: 6px;
    }

    #resultados-pesquisa { background: #ffffff; }

    /* ── Navegação horizontal por grupos ── */
    #nav-grupos-wrapper {
        background: #ffffff;
        padding: 8px 0;
        border-bottom: 1px solid #eeeeee;
        position: relative;
    }

    #nav-grupos-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 35px;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1));
        pointer-events: none;
    }

    #nav-grupos {
        display: flex;
        overflow-x: auto;
        padding: 0 12px;
        gap: 8px;
        scrollbar-width: none;
    }

    #nav-grupos::-webkit-scrollbar { display: none; }

    .nav-grupo-chip {
        display: inline-block;
        white-space: nowrap;
        padding: 7px 16px;
        border-radius: 20px;
        background: #f2f2f2;
        font-family: "Arial";
        font-size: 13px;
        font-weight: 600;
        color: #333;
        cursor: pointer;
        flex-shrink: 0;
        user-select: none;
    }

    .nav-grupo-chip:hover { background: #e0e0e0; }

    .nav-grupo-chip-ativo {
        background: #00aa99 !important;
        color: #ffffff !important;
    }

}

@media (max-width: 650px) {

    #banner {
        height: 125px;
    }

    #header {
        width: 100%;
        margin-top: 125px;
    }

    #logo-div {
        width: 125px;
        height: 125px;
        margin-top: -55px;
        margin-left: 15px;
    }

    #logo {
        width: 125px;
        height: 125px;
    }

    #cart {
        right: 5%;
        top: 80%;
    }

    #nome {
        margin-top: 20px;
        margin-left: 15px;
    }

    #funcionamento-div {
        margin-top: 20px;
        margin-left: 15px;
    }

    #content {
    }

    #acompanhe-pedido-btn {
        margin-top: 30px;
    }

    .nome-grupo {
        margin-top: 40px;
        margin-left: 15px;
        margin-bottom: 15px;
    }

    .produto-div {
        width: 100%;
        min-height: 100px;
        border-top: 1px solid #cccccc;
        border-bottom: 1px solid #cccccc;
    }

    .produto-nome-true, .produto-nome-false {
        margin-left: 15px;
    }

    .produto-descricao {
        margin-left: 15px;
        max-height: 100px;
        min-width: 150px;
        overflow: hidden;
    }

    .produto-img {
        margin-right: 20px;
        margin-top: 0px;
        margin-left: 20px;
    }

    .produto-preco {
        margin-left: 15px;
    }

    .produto-adicionar {
        margin: 0px 20px 15px 0px;
    }

}

@media (min-width: 651px) and (max-width: 768px) {

    #banner {
        height: 300px;
    }

    #header {
        width: 80%;
        left: 10%;
        height: 180px;
        margin-top: 180px;
        border-radius: 10px;
    }

    #logo-div {
        width: 150px;
        height: 150px;
        margin-top: 15px;
        margin-left: 15px;
    }

    #logo {
        width: 150px;
        height: 150px;
    }

    #cart {
        right: 5%;
        top: 80%;
    }

    #nome {
        margin-top: -145px;
        margin-left: 205px;
    }

    #funcionamento-div {
        margin-left: 205px;
    }

    #content {
    }

    .nome-grupo {
        margin-top: 40px;
        margin-left: 15px;
        margin-bottom: 15px;
    }

    .produto-div {
        width: 100%;
        min-height: 100px;
        border-top: 1px solid #cccccc;
        border-bottom: 1px solid #cccccc;
    }

    .produto-nome-true, .produto-nome-false {
        margin-left: 15px;
    }

    .produto-descricao {
        margin-left: 15px;
        max-height: 100px;
        min-width: 150px;
        overflow: hidden;
    }

    .produto-img {
        margin-right: 20px;
        margin-top: 0px;
        margin-left: 20px;
    }

    .produto-preco {
        margin-left: 15px;
    }

    .produto-adicionar {
        margin: 0px 20px 15px 0px;
    }

}

@media (min-width: 769px) {

    #banner {
        height: 300px;
    }

    #header {
        width: 80%;
        left: 10%;
        height: 180px;
        margin-top: 180px;
        border-radius: 10px;
    }

    #logo-div {
        width: 150px;
        height: 150px;
        margin-top: 15px;
        margin-left: 15px;
    }

    #logo {
        width: 150px;
        height: 150px;
    }

    #cart {
        right: 5%;
        top: 80%;
    }

    #nome {
        margin-top: -145px;
        margin-left: 205px;
    }

    #funcionamento-div {
        margin-left: 205px;
    }

    #content {
        width: 70%;
        left: 15%;
    }

    .nome-grupo {
        margin-top: 40px;
        margin-bottom: 15px;
    }

    .produto-div {
        width: 100%;
        min-height: 100px;
        border-radius: 10px;
        padding-top: 1px;
        margin-right: 20px;
        margin-bottom: 20px;
    }

    .produto-nome-true, .produto-nome-false {
        margin-left: 15px;
    }

    .produto-descricao {
        margin-left: 15px;
        max-height: 100px;
        min-width: 150px;
        overflow: hidden;
    }

    .produto-img {
        margin-right: 20px;
        margin-top: 0px;
        margin-left: 20px;
    }

    .produto-preco {
        margin-left: 15px;
    }

    .produto-adicionar {
        margin: 0px 20px 15px 0px;
    }
    
    /* Modal customizado */
    #pixModal .modal-dialog {
        max-width: 500px;  /* largura máxima do modal */
        width: 90%;        /* largura relativa à tela */
        height: auto;      /* altura automática */
        margin: 30px auto; /* centraliza e dá espaço no topo */
    }

    #pixModal .modal-content {
        padding: 20px;     /* espaço interno do conteúdo */
    }

}

.btn-whatsapp {
    background: #25d366;   /* verde WhatsApp */
    color: #ffffff;
    font-family: "Arial";
    font-size: 18px;
    font-weight: bold;
    border-radius: 7px;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%; /* ocupa toda a largura do modal-footer */
    box-sizing: border-box;
}

.btn-whatsapp i {
    margin-right: 8px; /* espaço entre ícone e texto */
}

.btn-whatsapp:hover {
    background: #1ebe5a;
    cursor: pointer;
}

/* ==========================================================================
   Estilos da Linha do Tempo do Pedido (Timeline / Stepper) - Compacto & Mobile
   ========================================================================== */

#pedidoFinalizadoModal .modal-dialog {
    max-width: 420px;
    width: 94%;
    margin: 8px auto;
}

.timeline-modal-content {
    border-radius: 14px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    background: #ffffff;
}

.timeline-modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 14px 8px;
    position: relative;
}

.timeline-header-info {
    text-align: center;
}

.badge-pedido-num {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    border: 1px solid #bfdbfe;
    margin-bottom: 3px;
    letter-spacing: 0.3px;
}

.timeline-modal-header .modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.timeline-modal-body {
    padding: 10px 16px 8px;
}

/* Card de Status Principal */
.timeline-status-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 8px 10px;
    text-align: center;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.timeline-status-card.status-cancelado {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fecaca;
}

.status-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #15803d;
    background: rgba(255, 255, 255, 0.85);
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 4px;
}

.live-dot {
    width: 7px;
    height: 7px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: live-pulse 1.8s infinite;
}

@keyframes live-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.status-titulo-principal {
    font-size: 15px;
    font-weight: 800;
    color: #166534;
    margin: 2px 0 3px;
}

.timeline-status-card.status-cancelado .status-titulo-principal {
    color: #b91c1c;
}

.status-subtitulo-principal {
    font-size: 11.5px;
    color: #374151;
    margin: 0;
    line-height: 1.3;
}

/* Stepper Vertical */
.pedido-timeline-container {
    position: relative;
    padding-left: 4px;
    margin-bottom: 8px;
}

.timeline-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-bottom: 11px;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

/* Linha conectora */
.timeline-step::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 14px;
    bottom: -3px;
    width: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.timeline-step:last-child::before {
    display: none;
}

.timeline-step.step-completed::before {
    background: #22c55e;
}

/* Ícones dos passos */
.timeline-step-icon {
    position: relative;
    z-index: 2;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.timeline-step.step-pending .timeline-step-icon {
    background: #f1f5f9;
    color: #94a3b8;
    border: 2px solid #cbd5e1;
}

.timeline-step.step-completed .timeline-step-icon {
    background: #22c55e;
    color: #ffffff;
    border: 2px solid #22c55e;
    box-shadow: 0 1px 6px rgba(34, 197, 94, 0.25);
}

.timeline-step.step-active .timeline-step-icon {
    background: #3b82f6;
    color: #ffffff;
    border: 2px solid #2563eb;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
    animation: step-pulse 2s infinite;
}

@keyframes step-pulse {
    0%, 100% {
        box-shadow: 0 0 0 2.5px rgba(59, 130, 246, 0.28);
    }
    50% {
        box-shadow: 0 0 0 5.5px rgba(59, 130, 246, 0.12);
    }
}

.timeline-step-content {
    flex: 1;
    padding-top: 2px;
}

.timeline-step-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1px;
}

.timeline-step.step-pending .timeline-step-title {
    color: #94a3b8;
    font-weight: 600;
}

.timeline-step.step-active .timeline-step-title {
    color: #2563eb;
}

.timeline-step.step-completed .timeline-step-title {
    color: #15803d;
}

.timeline-step-desc {
    font-size: 11px;
    color: #64748b;
    line-height: 1.25;
}

.timeline-step.step-pending .timeline-step-desc {
    color: #cbd5e1;
}

/* Card Cancelamento */
.alerta-cancelamento-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    margin-bottom: 12px;
}

.alerta-cancelamento-box .cancel-icon {
    font-size: 32px;
    color: #ef4444;
    margin-bottom: 6px;
}

.alerta-cancelamento-box h4 {
    font-size: 15px;
    font-weight: 700;
    color: #991b1b;
    margin: 0 0 4px;
}

.alerta-cancelamento-box p {
    font-size: 11.5px;
    color: #7f1d1d;
    margin: 0;
}

.alerta-cancelamento-box .motivo-texto {
    margin-top: 6px;
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Card Timeout */
.alerta-timeout-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.alerta-timeout-box i {
    font-size: 14px;
    color: #3b82f6;
    flex-shrink: 0;
}

/* Footer */
.timeline-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 8px 14px 10px;
}

.timeline-modal-footer .btn-whatsapp {
    font-size: 14.5px;
    padding: 8px 12px;
    border-radius: 6px;
}

.btn-fechar-timeline {
    width: 100%;
    padding: 6px 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-fechar-timeline:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
}


