/* Obrigado Page - Estilos Modernos */
.obrigado-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    animation: fadeInUp 0.6s ease-out;
}

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

.obrigado-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 40px;
}

/* Ícone de Sucesso */
.obrigado-icon {
    text-align: center;
    margin-bottom: 30px;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
}

.checkmark {
    width: 100%;
    height: 100%;
    animation: checkmark 0.5s ease-in-out 0.2s both;
}

.checkmark circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 4;
    stroke-miterlimit: 10;
    stroke: #4CAF50;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark path {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Títulos */
.obrigado-card h1 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.obrigado-mensagem {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Informações do Pedido */
.pedido-info {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.pedido-numero,
.pedido-data,
.pedido-status {
    flex: 1;
    text-align: center;
}

.pedido-info .label {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pedido-info .value {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
}

.status-pendente {
    color: #f39c12;
}

/* Seções */
.resumo-pedido,
.dados-cliente,
.endereco-entrega,
.forma-pagamento,
.proximos-passos {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.resumo-pedido h2,
.dados-cliente h2,
.endereco-entrega h2,
.forma-pagamento h2,
.proximos-passos h2 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Itens do Resumo */
.resumo-itens {
    margin-bottom: 15px;
}

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

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

.item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-nome {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c3e50;
}

.item-quantidade {
    font-size: 0.7rem;
    color: #999;
}

.item-preco {
    font-size: 0.9rem;
    font-weight: bold;
    color: #e74c3c;
}

/* Totais */
.resumo-total {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.total-linha {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
}

.grand-total {
    font-size: 1.1rem;
    font-weight: bold;
    border-top: 1px solid #ddd;
    margin-top: 8px;
    padding-top: 12px;
    color: #e74c3c;
}

/* Informações do Cliente */
.cliente-info,
.endereco-info,
.pagamento-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
}

.info-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    width: 120px;
    font-weight: 600;
    color: #666;
    font-size: 0.85rem;
}

.info-value {
    flex: 1;
    color: #2c3e50;
    font-size: 0.85rem;
}

/* Próximos Passos */
.proximos-passos ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.proximos-passos li {
    padding: 10px 0;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.proximos-passos li:last-child {
    border-bottom: none;
}

/* Botões Primeira Linha */
.botoes-acao {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.btn-continuar-comprando,
.btn-voltar-home {
    flex: 1;
    text-align: center;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-continuar-comprando {
    background: #ff6b35;
    color: white;
}

.btn-continuar-comprando:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-voltar-home {
    background: #f5f5f5;
    color: #333;
}

.btn-voltar-home:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* Botões Segunda Linha (Lado a Lado) */
.botoes-acao-duplo {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.btn-comprovante {
    flex: 1;
    display: inline-block;
    padding: 14px 20px;
    background: #ae2727;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-comprovante:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.btn-whatsapp-resumo {
    flex: 1;
    display: inline-block;
    padding: 14px 20px;
    background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-whatsapp-resumo:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-resumo:active,
.btn-comprovante:active {
    transform: translateY(0);
}

/* Contato */
.contato-ajuda {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.contato-ajuda p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.contato-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contato-whatsapp,
.contato-email {
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contato-whatsapp {
    background: #25d366;
    color: white;
}

.contato-whatsapp:hover {
    background: #1da851;
    transform: scale(1.05);
}

.contato-email {
    background: #f0f0f0;
    color: #333;
}

.contato-email:hover {
    background: #e0e0e0;
    transform: scale(1.05);
}

/* Responsivo */
@media (max-width: 768px) {
    .obrigado-card {
        padding: 25px;
    }
    
    .pedido-info {
        flex-direction: column;
        text-align: center;
    }
    
    .info-row {
        flex-direction: column;
    }
    
    .info-label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .botoes-acao {
        flex-direction: column;
    }
    
    .botoes-acao-duplo {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-continuar-comprando,
    .btn-voltar-home,
    .btn-comprovante,
    .btn-whatsapp-resumo {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .obrigado-card {
        padding: 20px;
    }
    
    .obrigado-card h1 {
        font-size: 1.5rem;
    }
    
    .checkmark-circle {
        width: 60px;
        height: 60px;
    }
}