.plano {
    display: flex;
    justify-content: space-between;
    border: 2px solid;
    border-radius: 7px;
    margin-bottom: 2%;
    text-decoration: none;
    color: currentcolor;
}

.plano-infos {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 7;
    padding: 10px;
    border-right: 2px solid;
    box-sizing: border-box;
    gap: 10px;
}

.plano-time {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0px;
    text-transform: uppercase;
}

.plano-desc {
    font-size: 15px;
}

.plano-price {
    padding: 1%;
}

.plano .price {
    font-weight: bold;
    display: flex;
    align-items: center;
}

.plano .currency {
    font-size: 15px;
    margin-right: 3px;
}

.plano .amount {
    font-size: 38px;
    font-weight: bold;
    color: #000000;
}

.assinar-agora {
    width: 100%;
    font-size: 23px;
    font-weight: 800;
    fill: #FFFFFF;
    color: #FFFFFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    border-style: solid;
    border-width: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    padding: 15px 40px 15px 40px;
}

.m18-checkout form {
    display: flex;
    flex-direction: column;
}

.m18-checkout form button,
.m18-checkout form input {
    border-radius: 5px 5px 5px 5px;
}

.qr-code-pix img {
    padding: 12px;
    background: #f2f2f2 !important;
    display: block !important;
    width: 200px !important;
    height: 200px !important;
    border-radius: 8px !important;
}

.btnpix{
    font-weight: 600;
    fill: #FFFFFF;
    color: #FFFFFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.16);
    border-style: solid;
    border-radius: 5px 5px 5px 5px;
}

.m18-account{
    display: flex;
    gap: 2%;
}

.m18-border-card{
    border: 1px solid #ebeaea;
    border-radius: 5px;
    padding: 1%;
    width: 100%;
}

.m18-account-infos div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1%;
}

.m18-account-infos label{
    flex: 1;
    font-weight: bold;
}

.m18-account-infos input{
    flex: 2;
}

.m18-account-infos input:disabled {
    background: transparent;
    border: none; 
}

.m18-account-infos .ativo{
   color: green !important;
}

.m18-account-infos .inativo{
   color: red !important;
}

.m18-account-assinatura .m18-account-infos div{
    border-bottom: 1px solid #ebeaea;
}

.m18-att-account{
    width: 100%;
    margin: 2% 0;
}

.excluir-conta{
    border: 1px solid red;
    padding: 2%;
    background-color: #fff3f3;
}

.botoes-excluir{
    display: flex ; 
    gap: 1%;
}

.m18-aviso{
    border: 1px solid;
    margin: 3% 0;
    padding: 1%;
}

.m18-aviso p{
    margin: 0;
}

.m18-aviso.success{
    background-color: #d6ffd6;
    border-color: green;
}

.m18-aviso.error{
    background-color: #ffd7d7;
    border-color: red;
}

/* Status do Pagamento */
.status-pagamento {
    margin: 15px 0;
}

.status-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.status-container.aguardando {
    border-color: #ffc107;
    background-color: #fff8e1;
}

.status-container.confirmado {
    border-color: #28a745;
    background-color: #d4edda;
}

.status-container.erro {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.status-icon {
    font-size: 24px;
    min-width: 30px;
    text-align: center;
}

.status-text {
    flex: 1;
    font-size: 16px;
}

.status-text strong {
    color: #333;
}

#status-message {
    color: #666;
    font-weight: 500;
}

.status-container.aguardando #status-message {
    color: #856404;
}

.status-container.confirmado #status-message {
    color: #155724;
}

.status-container.erro #status-message {
    color: #721c24;
}

.status-timer {
    font-size: 12px;
    color: #888;
    text-align: right;
}

.status-timer small {
    display: block;
}

/* Animação de pulsação para o status aguardando */
.status-container.aguardando .status-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Botão secundário */
.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    font-size: 14px;
    padding: 8px 16px;
}

.btn-secondary:hover {
    background-color: #545b62;
    border-color: #4e555b;
}

/* Estilos otimizados para status de pagamento com cache */
.status-container.cached {
    background-color: #e7f3ff;
    border-color: #2196f3;
}

.status-container.cached .status-icon {
    color: #2196f3;
    animation: none; /* Remove animação para status cached */
}

.status-container.cached #status-message {
    color: #1565c0;
}

/* Indicador de performance para debug */
.performance-indicator {
    font-size: 10px;
    color: #888;
    margin-top: 5px;
    font-family: monospace;
}

/* Melhor indicação visual para diferentes tipos de verificação */
.status-container.aguardando .status-icon {
    animation: pulse 2s infinite;
}

.status-container.cached .status-icon {
    animation: fadeInOut 3s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Contador de tentativas */
.tentativas-counter {
    font-size: 11px;
    color: #666;
    margin-left: 10px;
    font-weight: normal;
}

/* Melhor responsividade para mobile */
@media (max-width: 768px) {
    .status-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .status-timer {
        text-align: center;
    }
    
    .performance-indicator {
        text-align: center;
    }
}

/* ===== POP-UP DE PAGAMENTO ===== */
.payment-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.popup-content {
    background: #111;
    width: 90%;
    max-width: 380px;
    padding: 25px;
    border-radius: 12px;
    color: white;
    text-align: center;
    position: relative;
    border: 1px solid #333;
}

.close-popup {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 24px;
    cursor: pointer;
}

.popup-header h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.plan-option {
    background: #1a1a1a;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid #333;
}

.plan-option h3 {
    margin: 0;
    font-size: 18px;
}

.plan-option p {
    margin: 8px 0;
}

.pay-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #ff006f;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: .2s;
}

.pay-btn:hover {
    background: #e60063;
}
