/* Estilos personalizados */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.alert {
    border-radius: 10px;
}

.table th {
    font-weight: 600;
    color: #495057;
}

.badge {
    font-size: 0.8em;
    font-weight: 500;
}

.carousel-item img {
    border-radius: 10px;
}

.estrela {
    cursor: pointer;
    transition: color 0.2s;
}

.estrela:hover {
    color: #ffc107 !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }

    .btn-lg {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.logo-footer {
    height: 98px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.banner-img {
    width: 100%;
    height: 300px;
    object-fit: fill;   /* estica */
}

@media (max-width: 768px) {
    .banner-img {
        height: 180px;
    }
}

/* Bolinha base */
.status-dot {
    font-size: 10px;
    margin-right: 6px;
}

/* Aberto */
.status-aberto {
    color: #22c55e; /* verde moderno */
    animation: blink 1.4s infinite;
}

/* Fechado */
.status-fechado {
    color: #ef4444; /* vermelho moderno */
    animation: blink 1.4s infinite;
}

/* Texto */
.text-aberto {
    color: #22c55e;
    font-weight: 600;
}

.text-fechado {
    color: #ef4444;
    font-weight: 600;
}

/* Animação de piscar */
@keyframes blink {
    0%   { opacity: 1; }
    50%  { opacity: 0.25; }
    100% { opacity: 1; }
}

.input-fechado {
    background-color: #f1f1f1 !important;
    color: #6c757d !important;
    cursor: not-allowed;
}

.status.processando {
    background-color: #0d6efd;
}

.status.confirmado {
    background-color: #198754;
}

.status.saiu-para-entrega {
    background-color: #ffc107;
    color: #000;
}

.status.entregue {
    background-color: #0d6efd !important;
    color: #fff;
}

.status.cancelado {
    background-color: #dc3545;
}

.disabled-field {
    background-color: #e9ecef !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

.disabled-field:hover {
    background-color: #e9ecef !important;
}

/* Adicione uma mensagem explicativa para Pizza */
.pizza-info-note {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
    font-style: italic;
}

/* TÍTULO */
texto-preto {
    color: #000;
}

.texto-vermelho {
    color: #ff4df0;
}

/* CARD */
.plano-card {
    border: none;
    border-radius: 20px;
    transition: 0.4s;
    background: white;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.plano-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* CARD POPULAR */
.plano-popular {
    background: linear-gradient(180deg, #5f2cff, #7b4dff);
    color: white;
    transform: scale(1.05);
    z-index: 2;
}

.plano-popular .plano-preco {
    color: white;
}

.plano-popular .plano-features i {
    color: #00ffcc;
}

.plano-popular .btn-assinar {
    background: white;
    color: #5f2cff;
    font-weight: bold;
}

/* PREÇO */
.plano-preco {
    font-size: 3rem;
    font-weight: 800;
    margin: 25px 0;
}

.plano-preco small {
    font-size: 1rem;
    font-weight: normal;
}

/* FEATURES */
.plano-features {
    padding: 0 30px 30px 30px;
    min-height: 220px;
}

.plano-features li {
    margin-bottom: 12px;
}

/* BOTÃO */
.btn-assinar {
    border-radius: 50px;
    padding: 12px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-assinar:hover {
    opacity: 0.9;
}

/* BADGE POPULAR */
.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: gold;
    color: black;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* ASSINATURA ATUAL */
.card-assinatura-atual {
    border-left: 5px solid #00ffcc;
    background: white;
    border-radius: 15px;
}

/* COR DO BOTÃO DE ASSINATURA */
.btn-roxo {
    background: linear-gradient(135deg, #7b2ff7, #9f44ff);
    color: white !important;
    border: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-roxo:hover {
    background: linear-gradient(135deg, #6925d8, #8a35e6);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(123, 47, 247, 0.4);
}

.mp-connect-card {
    border: 2px dashed #dee2e6;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transition: transform 0.3s;
}
.mp-connect-card:hover {
    transform: translateY(-5px);
}
.mp-status-card {
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
}
.mp-logo {
    font-size: 4rem;
    color: #00b1ea;
}
.btn-mp {
    background: #00b1ea;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: background 0.3s;
}
.btn-mp:hover {
    background: #0099d4;
    color: white;
}
.btn-mp:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.fee-badge {
    background: #28a745;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}
.copy-button {
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    background: #e9ecef;
    transition: background 0.3s;
}
.copy-button:hover {
    background: #dee2e6;
}
.toast-container {
    z-index: 1050;
}
.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mp-status-card {
    background: linear-gradient(135deg, #009EE3 0%, #00A5E0 100%);
    color: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.mp-logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.mp-logo i {
    font-size: 2rem;
    color: #009EE3;
}

.btn-mp {
    background: #00A5E0;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-mp:hover {
    background: #0089C0;
    color: white;
    transform: translateY(-2px);
}

.btn-mp-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-mp-outline:hover {
    background: white;
    color: #009EE3;
}

.step-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #009EE3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.check-icon {
    color: #28a745;
    font-size: 3rem;
}

.btn-mp {
    background-color: #007bff; /* azul */
    color: white;
    border: none;
}

.btn-mp:hover {
    background-color: #0056b3; /* azul mais escuro no hover */
    color: white;
}

.pix-container {
    max-width: 500px;
    margin: 50px auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
}

.qr-code {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    display: inline-block;
    border: 2px solid #e0e0e0;
}

.qr-code img {
    width: 250px;
    height: 250px;
    display: block;
}

.pix-copy {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    word-break: break-all;
}

.status-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    margin: 15px 0;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.timer {
    font-size: 24px;
    font-weight: bold;
    color: #dc3545;
    margin: 20px 0;
}

.btn-voltar {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.btn-voltar:hover {
    background: #5a6268;
    color: white;
}

.plano-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    position: relative;
}

.plano-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.plano-popular {
    border: 2px solid #ff6b6b;
    box-shadow: 0 10px 30px rgba(255,107,107,0.2);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #ff6b6b;
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: bold;
}

.plano-preco {
    font-size: 48px;
    font-weight: bold;
    margin: 20px 0;
}

.plano-preco small {
    font-size: 16px;
    font-weight: normal;
    color: #6c757d;
}

.plano-features li {
    margin-bottom: 12px;
    font-size: 14px;
}

.plano-features i {
    margin-right: 10px;
}

.btn-assinar {
    padding: 12px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-assinar:hover {
    transform: scale(1.05);
}

.card-assinatura-atual {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    border: none;
}

.card-assinatura-atual h5 {
    color: #fff;
    font-size: 1.5rem;
}

.card-assinatura-atual p {
    font-size: 1.1rem;
}

.btn-mudar-plano {
    background: rgba(255,255,255,0.2);
    border: 2px solid white;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-mudar-plano:hover {
    background: white;
    color: #764ba2;
    transform: scale(1.05);
}

.planos-container {
    transition: all 0.5s ease;
}

.planos-container.hidden {
    display: none;
}

/* Estilos para histórico de assinaturas */
.historico-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.historico-item:hover {
    background: #e9ecef;
    transform: translateX(4px);
}

.historico-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.historico-item-titulo {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.historico-item-status {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-pago {
    color: #28a745;
}

.status-pendente {
    color: #ffc107;
}

.status-vencimento {
    color: #fd7e14;
}

.historico-item-acoes {
    display: flex;
    gap: 8px;
}

.btn-comprovante, .btn-pagar, .btn-renovar {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-comprovante {
    background: #6c757d;
    color: white;
}

.btn-comprovante:hover {
    background: #5a6268;
}

.btn-pagar {
    background: #28a745;
    color: white;
}

.btn-pagar:hover {
    background: #218838;
}

.btn-renovar {
    background: #ffc107;
    color: #333;
}

.btn-renovar:hover {
    background: #e0a800;
}

.historico-item.pendente {
    border-left: 4px solid #ffc107;
}

.historico-item.vencimento {
    border-left: 4px solid #fd7e14;
}

.historico-item.vencimento.urgente {
    border-left: 4px solid #dc3545;
    background: #fff5f5;
}

.historico-item.paga {
    border-left: 4px solid #28a745;
}

.produto-detalhes {
    border-top: 1px solid #eee;
    padding-top: 10px;
    font-size: 0.9em;
}
.produto-detalhes p {
    margin-bottom: 5px;
}
.badge {
    font-size: 0.8em;
}

.itens-combo ul {
    padding-left: 1.2rem;
}
.itens-combo li {
    margin-bottom: 4px;
}
.item-combo .col-md-1 {
    display: flex;
    align-items: center;
}

.produto-card {
    border-radius: 12px;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.produto-card .produto-img {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    padding: 5px;
}

.produto-card .produto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.produto-card:hover {
    transform: scale(1.01);
    transition: 0.2s;
}

/* Estilo para o campo de preço formatado */
.preco-formatado-container {
    position: relative;
}

.preco-formatado {
    font-family: monospace;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Ocultar o input original se você quiser usar apenas o formatado */
#preco_real {
    display: none;
}

/* Estilo para os toasts */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1100;
}

.toast {
    min-width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-header {
    border-radius: 8px 8px 0 0;
}

.toast-success .toast-header {
    background-color: #28a745;
    color: white;
}

.toast-danger .toast-header {
    background-color: #dc3545;
    color: white;
}

.toast-warning .toast-header {
    background-color: #ffc107;
    color: #000;
}

.toast-info .toast-header {
    background-color: #17a2b8;
    color: white;
}

/* Estilos para a barra de pesquisa */
#searchInput:focus {
    box-shadow: none;
    outline: none;
}

.input-group-text.bg-white {
    background-color: white !important;
}

#clearSearch {
    z-index: 10;
}

#clearSearch:hover {
    background-color: transparent;
}

.btn-group .btn.active {
    background-color: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
}

.btn-group .btn {
    transition: all 0.2s;
}

#searchResultCount {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Animações suaves */
.col-12.mb-3 {
    transition: all 0.3s ease;
}

.descricao-curta { display: block; }
.descricao-completa { display: none; }
.btn-ler-mais {
    background: none;
    border: none;
    color: #0d6efd;
    padding: 0;
    font-size: 0.85em;
    cursor: pointer;
    text-decoration: underline;
}

/* Conter texto dentro do card */
.produto-card .flex-grow-1 {
    min-width: 0; /* essencial para flex não explodir */
    overflow: hidden;
}

.produto-card h6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.produto-card .text-muted.small,
.produto-card p.small {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Limitar ingredientes e acompanhamento a 2 linhas */
.produto-card .texto-limitado {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Quebra de linha para nomes de produtos */
.produto-card h6,
.card .produto-card h6,
.produto-card .flex-grow-1 h6 {
    white-space: normal !important;  /* Permite quebra de linha */
    word-wrap: break-word !important; /* Quebra palavras longas */
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.3; /* Melhor espaçamento */
    margin-bottom: 0.5rem;
}

/* Para nomes de combos */
.card .card-body h6,
.combo-card h6 {
    white-space: normal !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
}

/* Para títulos em geral que podem ser longos */
h6.mb-1,
h6.mb-0 {
    white-space: normal !important;
    word-wrap: break-word !important;
}

/* Limitar altura máxima e adicionar scroll se necessário (opcional) */
.produto-card h6 {
    max-height: 3.9em; /* Aproximadamente 3 linhas */
    overflow-y: auto;
}

/* Para telas pequenas, fontes menores */
@media (max-width: 768px) {
    .produto-card h6 {
        font-size: 0.9rem;
        line-height: 1.2;
    }
}

/* NAVEÇÃO DO PROPRIETARIO*/
.nav-more-container {
    position: relative;
    display: inline-block;
}

.more-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    min-width: 280px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 12px;
    z-index: 1000;
    padding: 8px 0;
    margin-top: 5px;
    border: 1px solid rgba(0,0,0,0.1);
}

.more-menu.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

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

.more-menu .dropdown-item {
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
}

.more-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #dc3545;
    transform: translateX(5px);
}

.more-menu .dropdown-item i {
    width: 24px;
    text-align: center;
    font-size: 16px;
}

.more-menu .dropdown-divider {
    margin: 4px 0;
    border-top: 1px solid #e9ecef;
}

.more-menu .dropdown-item .badge {
    margin-left: auto;
    font-size: 10px;
    padding: 3px 8px;
}

.more-btn {
    background: none;
    border: none;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.more-btn:hover {
    transform: scale(1.1);
}

.more-btn.rotated {
    transform: rotate(180deg);
}

/* Overlay para fechar o menu */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* Modal personalizado */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.custom-modal.active {
    display: flex;
}

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

.custom-modal-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
    position: relative;
}

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

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

.custom-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    transition: transform 0.2s;
}

.custom-modal-close:hover {
    transform: rotate(90deg);
}

/* Estilos para os cards dentro do modal */
.info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid #dc3545;
}

.info-card i {
    font-size: 20px;
    margin-right: 10px;
}

.btn-copy {
    background: #28a745;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.btn-copy:hover {
    background: #218838;
}

.share-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
    margin: 3px;
}

.share-btn:hover {
    transform: scale(1.05);
}

.share-btn.whatsapp { background: #25D366; color: white; }
.share-btn.facebook { background: #1877F2; color: white; }
.share-btn.twitter { background: #1DA1F2; color: white; }
.share-btn.copy { background: #6c757d; color: white; }

.plan-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s;
    cursor: pointer;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.plan-card.popular {
    border-color: #ffc107;
    background: #fff8e1;
}

.plan-card .price {
    font-size: 24px;
    font-weight: bold;
    color: #dc3545;
}

.plan-card .plan-name {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-badge.open { background: #d4edda; color: #155724; }
.status-badge.closed { background: #f8d7da; color: #721c24; }

/* Estilo para o botão "Mais" ficar igual aos outros */
.nav-more-container {
    position: relative;
}

.more-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,.55);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s ease-in-out;
    font-size: 1rem;
    text-decoration: none;
}

.more-btn:hover {
    color: rgba(255,255,255,.75);
}

.more-btn i {
    font-size: 1rem;
}

.more-btn .d-sm-inline {
    display: inline;
}

@media (max-width: 576px) {
    .more-btn .d-sm-inline {
        display: none !important;
    }
}

/* Menu dropdown estilizado igual ao Bootstrap */
.more-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background-color: #fff;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    margin-top: 0.125rem;
    z-index: 1000;
}

.more-menu.show {
    display: block;
    animation: fadeIn 0.15s ease;
}

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

.more-menu .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    color: #212529;
    text-decoration: none;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
    gap: 8px;
}

.more-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #1e2125;
}

.more-menu .dropdown-item i {
    width: 20px;
    text-align: center;
}

.more-menu .badge {
    margin-left: auto;
    font-size: 0.65rem;
}

/* Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* Modal */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
    align-items: center;
    justify-content: center;
}

.custom-modal.active {
    display: flex;
}

.custom-modal-content {
    background: #fff;
    border-radius: 0.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
    animation: slideDown 0.3s ease;
}

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

.custom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.custom-modal-header h5 {
    margin: 0;
}

.custom-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
}

.custom-modal-close:hover {
    color: #000;
}

.share-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 0.25rem;
    color: #fff;
    font-weight: 500;
    margin: 0 5px;
    transition: opacity 0.2s;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #000; }

/* Cards de planos */
.plan-card {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    text-align: center;
    height: 100%;
}

.plan-card.popular {
    border-color: #ffc107;
    background: #fff8e1;
    position: relative;
}

.plan-card .plan-name {
    font-weight: 600;
    font-size: 1rem;
}

.plan-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #dc3545;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.open {
    background: #d4edda;
    color: #155724;
}

.status-badge.open i {
    color: #28a745;
}

/* Toast */
.toast-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 9999;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}