/* ===== ESTILOS PARA AS NOVAS PÁGINAS ===== */

/* Página de Configurações */
.settings-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.settings-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.settings-section h2 {
    color: #ff6b35;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #ff6b35;
}

.form-input:readonly {
    background-color: #f8f9fa;
    color: #6c757d;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.settings-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

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

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

/* Página de Ajuda */
.help-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.search-section {
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-btn {
    padding: 15px 20px;
    background-color: #ff6b35;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #e55a2b;
}

.faq-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    color: #ff6b35;
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
}

.faq-item {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #ff6b35;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #ff6b35;
}

.faq-answer {
    display: none;
    padding: 0 0 20px 0;
    color: #666;
    line-height: 1.6;
}

.faq-answer ol, .faq-answer ul {
    margin: 10px 0;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 5px;
}

.contact-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
    color: #ff6b35;
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-card {
    text-align: center;
    padding: 25px;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #ff6b35;
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 15px;
}

.contact-card h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.contact-card p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #ff6b35;
}

.response-time {
    font-size: 0.9rem;
    color: #666;
}

/* Página de Termos */
.terms-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.terms-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.terms-section:last-child {
    border-bottom: none;
}

.terms-section h2 {
    color: #ff6b35;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.terms-section p {
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.terms-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.terms-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Header das páginas */
.page-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgb(255, 60, 0) 0%, #f7931e 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.page-header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.page-header p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.page-header i {
    margin-right: 10px;
}

/* Tema escuro para as novas páginas */
body.dark-theme .settings-section,
body.dark-theme .faq-section,
body.dark-theme .contact-section,
body.dark-theme .terms-container {
    background-color: #2d3748;
    color: #e2e8f0;
}

body.dark-theme .settings-section h2,
body.dark-theme .faq-section h2,
body.dark-theme .contact-section h2,
body.dark-theme .terms-section h2 {
    color: #ff6b35;
}

body.dark-theme .form-input {
    background-color: #4a5568;
    border-color: #4a5568;
    color: #e2e8f0;
}

body.dark-theme .form-input:focus {
    border-color: #ff6b35;
}

body.dark-theme .form-input:readonly {
    background-color: #2d3748;
    color: #a0aec0;
}

body.dark-theme .search-box {
    background-color: #4a5568;
}

body.dark-theme .search-input {
    background-color: #4a5568;
    color: #e2e8f0;
}

body.dark-theme .contact-card {
    background-color: #4a5568;
    border-color: #4a5568;
}

body.dark-theme .contact-card:hover {
    border-color: #ff6b35;
}

body.dark-theme .faq-answer {
    color: #a0aec0;
}

body.dark-theme .terms-section p {
    color: #e2e8f0;
}

/* Responsividade */
@media (max-width: 768px) {
    .settings-container,
    .help-container,
    .terms-container {
        padding: 10px;
    }
    
    .settings-section,
    .faq-section,
    .contact-section {
        padding: 20px;
    }
    
    .page-header {
        padding: 20px 15px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .settings-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 200px;
    }
}



/* ===== SEÇÃO DE PLANOS NO SIDEBAR ===== */

.plans-section {
    margin-top: auto;
    padding: 20px 15px;
    border-top: 1px solid #e0e0e0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.plans-header {
    margin-bottom: 15px;
}

.plans-header h3 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plans-header i {
    color: #ffd700;
    font-size: 16px;
}

.current-plan {
    margin-bottom: 15px;
}

.plan-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.plan-badge.free {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.plan-badge.pro {
    background: linear-gradient(135deg, rgb(255 255 255) 0%, rgb(255 255 255) 100%);
    color: white;
}

.plan-badge.premium {
    background: linear-gradient(135deg, #6f42c1 0%, #e83e8c 100%);
    color: white;
}

.plan-limits {
    background: white;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.limit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.limit-label {
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.limit-value {
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.upgrade-btn {
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.upgrade-btn i {
    font-size: 14px;
}

/* Modal de Planos */
.plans-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.plans-modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 900px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px;
}

.modal-close:hover {
    color: #333;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.modal-header p {
    color: #666;
    font-size: 1.1rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.plan-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

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

.plan-card.popular {
    border-color: #ff6b35;
    transform: scale(1.05);
}

.plan-card.popular::before {
    content: "Mais Popular";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b35;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgb(255, 60, 0);
    margin-bottom: 5px;
}

.plan-period {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.plan-features li {
    padding: 8px 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    color: #28a745;
    font-size: 14px;
}

.plan-btn {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #ff6b35;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-btn.primary {
    background: #ff6b35;
    color: white;
}

.plan-btn.secondary {
    background: white;
    color: #ff6b35;
}

.plan-btn:hover {
    transform: translateY(-2px);
}

.plan-btn.primary:hover {
    background: #e55a2b;
}

.plan-btn.secondary:hover {
    background: #ff6b35;
    color: white;
}

/* Tema escuro para seção de planos */
body.dark-theme .plans-section {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    border-top-color: #4a5568;
}

body.dark-theme .plans-header h3 {
    color: #e2e8f0;
}

body.dark-theme .plan-limits {
    background: #4a5568;
    border-color: #4a5568;
    color: #e2e8f0;
}

body.dark-theme .limit-value {
    color: #e2e8f0;
}

body.dark-theme .modal-content {
    background: #2d3748;
    color: #e2e8f0;
}

body.dark-theme .modal-header h2 {
    color: #e2e8f0;
}

body.dark-theme .plan-card {
    background: #4a5568;
    border-color: #4a5568;
    color: #e2e8f0;
}

body.dark-theme .plan-name {
    color: #e2e8f0;
}

body.dark-theme .plan-features li {
    color: #e2e8f0;
}

/* Responsividade */
@media (max-width: 768px) {
    .plans-section {
        padding: 15px 10px;
    }
    
    .modal-content {
        padding: 20px;
        margin: 20px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card.popular {
        transform: none;
    }
}


/* ===== PÁGINA DE PLANOS ===== */

.plans-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.plans-grid-page {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.plan-card-page {
    background: white;
    border: 2px solid rgb(255 255 255);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.plan-card-page:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.plan-card-page.popular {
    border-color: rgb(255, 60, 0);
    transform: scale(1.05);
}

.plan-card-page.best-value {
    border-color: #28a745;
}

.plan-badge-popular,
.plan-badge-best {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.plan-badge-popular {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
}

.plan-badge-best {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.plan-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: rgb(255, 60, 0);
    margin-bottom: 5px;
}

.plan-period {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.plan-savings {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.plan-features {
    text-align: left;
    margin-bottom: 25px;
}

.plan-features h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 10px 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.plan-features li i {
    font-size: 14px;
    width: 16px;
}

.plan-features li i.fa-check {
    color: #28a745;
}

.plan-features li i.fa-times {
    color: #dc3545;
}

.plan-features li i.fa-star {
    color: #ffd700;
}

.plan-btn-page {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #ff6b35;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-btn-page.primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.plan-btn-page.current {
    background: #e9ecef;
    color: #6c757d;
    border-color: #e9ecef;
    cursor: not-allowed;
}

.plan-btn-page:hover:not(:disabled):not(.current) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.plan-btn-page.primary:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e8851a 100%);
}

/* Seção de Benefícios */
.plans-benefits {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.plans-benefits h2 {
    text-align: center;
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-item i {
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* FAQ dos Planos */
.faq-plans {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-plans h2 {
    text-align: center;
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
}

.faq-item-plans {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

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

.faq-question-plans {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question-plans:hover {
    color: #ff6b35;
}

.faq-question-plans h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question-plans i {
    transition: transform 0.3s ease;
    color: #ff6b35;
}

.faq-answer-plans {
    display: none;
    padding: 0 0 20px 0;
    color: #666;
    line-height: 1.6;
}

/* Tema escuro para página de planos */
body.dark-theme .plan-card-page,
body.dark-theme .plans-benefits,
body.dark-theme .faq-plans {
    background-color: #3a3a3a;
    color: #e2e8f0;
}

body.dark-theme .plan-name,
body.dark-theme .plans-benefits h2,
body.dark-theme .faq-plans h2,
body.dark-theme .benefit-item h3,
body.dark-theme .faq-question-plans h3 {
    color: #e2e8f0;
}

body.dark-theme .plan-features h4 {
    color: #e2e8f0;
}

body.dark-theme .plan-features li {
    color: #e2e8f0;
}

body.dark-theme .benefit-item p,
body.dark-theme .faq-answer-plans {
    color: #a0aec0;
}

body.dark-theme .plan-header {
    border-bottom-color: #4a5568;
}

body.dark-theme .faq-item-plans {
    border-bottom-color: #4a5568;
}

/* Responsividade */
@media (max-width: 768px) {
    .plans-page-container {
        padding: 15px;
    }
    
    .plans-grid-page {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .plan-card-page.popular,
    .plan-card-page.best-value {
        transform: none;
    }
    
    .plan-card-page {
        padding: 25px;
    }
    
    .plans-benefits,
    .faq-plans {
        padding: 25px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .plan-price {
        font-size: 2.5rem;
    }
    
    .plan-name {
        font-size: 1.5rem;
    }
}



/* ===== MODAL DE PAGAMENTO MERCADO PAGO ===== */

.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

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

.payment-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e9ecef;
}

.payment-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: #f8f9fa;
    color: #333;
}

.plan-summary {
    padding: 25px 30px;
    text-align: center;
    background: linear-gradient(135deg, rgb(255 255 255) 0%, rgb(255 255 255) 100%);
    color: white;
}

.plan-summary h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.plan-description {
    margin: 0;
    opacity: 0.9;
}

.payment-methods {
    padding: 30px;
}

.payment-method-tabs {
    display: flex;
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.payment-tab {
    flex: 1;
    padding: 15px 20px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-tab:hover {
    background: #e9ecef;
}

.payment-tab.active {
    background: #ff6b35;
    color: white;
}

.payment-form {
    display: none;
}

.payment-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b35;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pay-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.pay-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.pay-button:active {
    transform: translateY(0);
}

/* Estilos específicos para PIX */
.pix-result {
    text-align: center;
    padding: 20px 0;
}

.pix-qr-code {
    margin-bottom: 20px;
}

.pix-qr-code img {
    max-width: 200px;
    height: auto;
    border: 2px solid #e9ecef;
    border-radius: 8px;
}

.pix-code {
    margin-top: 20px;
}

.pix-code label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.pix-code textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    resize: none;
    font-family: monospace;
    font-size: 12px;
    background: #f8f9fa;
}

.copy-button {
    margin-top: 10px;
    padding: 10px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px auto 0;
}

.copy-button:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* Tema escuro para modal de pagamento */
body.dark-theme .payment-modal-content {
    background: #2d3748;
    color: #e2e8f0;
}

body.dark-theme .payment-header {
    border-bottom-color: #4a5568;
}

body.dark-theme .payment-header h2 {
    color: #e2e8f0;
}

body.dark-theme .close-modal {
    color: rgb(255 255 255);
}

body.dark-theme .close-modal:hover {
    background: #333;
    color: #e2e8f0;
}

body.dark-theme .payment-tab {
    background: #4a5568;
    color: #a0aec0;
}

body.dark-theme .payment-tab:hover {
    background: #718096;
}

body.dark-theme .payment-tab.active {
    background: #ff6b35;
    color: white;
}

body.dark-theme .form-group label {
    color: #e2e8f0;
}

body.dark-theme .form-group input,
body.dark-theme .form-group select {
    background: #4a5568;
    border-color: #4a5568;
    color: #e2e8f0;
}

body.dark-theme .form-group input:focus,
body.dark-theme .form-group select:focus {
    border-color: #ff6b35;
}

body.dark-theme .pix-code textarea {
    background: #4a5568;
    border-color: #4a5568;
    color: #e2e8f0;
}

body.dark-theme .pix-code label {
    color: #e2e8f0;
}

/* Responsividade do modal */
@media (max-width: 768px) {
    .payment-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .payment-header,
    .plan-summary,
    .payment-methods {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .payment-method-tabs {
        flex-direction: column;
    }
    
    .payment-tab {
        border-radius: 0;
    }
    
    .plan-price {
        font-size: 2rem;
    }
}

/* Loading states */
.pay-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.pay-button.loading {
    position: relative;
    color: transparent;
}

.pay-button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* ===== CORREÇÕES PARA O MODAL DE CONFIRMAÇÃO DE ASSINATURA NO TEMA ESCURO ===== */

/* Modal de confirmação de assinatura */
.subscription-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.subscription-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e9ecef;
}

.subscription-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.plan-features {
    padding: 20px 30px;
}

.plan-features h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.1rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #666;
}

.plan-features li i {
    color: #28a745;
    font-size: 14px;
}

.subscription-info {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #ff6b35;
    margin-top: 2px;
    font-size: 16px;
}

.info-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.subscription-actions {
    padding: 25px 30px;
    display: flex;
    gap: 15px;
}

.cancel-button {
    flex: 1;
    padding: 12px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-button:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.subscribe-button {
    flex: 2;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.subscribe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Tema escuro para modal de confirmação de assinatura */
body.dark-theme .subscription-modal-content {
    background: #3a3a3a !important;
    color: #e2e8f0 !important;
}

body.dark-theme .subscription-header {
    border-bottom-color: #4a5568 !important;
}

body.dark-theme .subscription-header h2 {
    color: #e2e8f0 !important;
}

body.dark-theme .close-modal {
    color: #a0aec0 !important;
}

body.dark-theme .close-modal:hover {
    background: #4a5568 !important;
    color: #e2e8f0 !important;
}

body.dark-theme .plan-summary {
    background: linear-gradient(135deg, #3a3a3a 0%, #3a3a3a 100%) !important;
    color: white !important;
}

body.dark-theme .plan-features {
    background: transparent !important;
}

body.dark-theme .plan-features h4 {
    color: #e2e8f0 !important;
}

body.dark-theme .plan-features li {
    color: #e2e8f0 !important;
}

body.dark-theme .plan-features li i {
    color: #28a745 !important;
}

body.dark-theme .subscription-info {
    background: #3a3a3a !important;
    border-top-color: #3a3a3a !important;
    border-bottom-color: #3a3a3a !important;
}

body.dark-theme .info-item i {
    color: rgb(255, 60, 0) !important;
}

body.dark-theme .info-item p {
    color: #e2e8f0 !important;
}

body.dark-theme .cancel-button {
    background: #4a5568 !important;
    color: #e2e8f0 !important;
}

body.dark-theme .cancel-button:hover {
    background: #5a6578 !important;
}

/* Modal de acompanhamento */
.follow-up-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.follow-up-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.follow-up-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e9ecef;
}

.follow-up-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.follow-up-content {
    padding: 30px;
    text-align: center;
}

.follow-up-icon {
    margin-bottom: 20px;
}

.follow-up-icon i {
    font-size: 48px;
    color: #ff6b35;
}

.follow-up-content h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.3rem;
}

.follow-up-content p {
    margin: 0 0 25px 0;
    color: #666;
    line-height: 1.6;
}

.follow-up-steps {
    text-align: left;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.follow-up-steps h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1rem;
}

.follow-up-steps ol {
    margin: 0;
    padding-left: 20px;
    color: #666;
}

.follow-up-steps li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.follow-up-actions {
    display: flex;
    gap: 15px;
}

.follow-up-button {
    flex: 1;
    padding: 12px 20px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.follow-up-button:hover {
    background: #e55a2b;
    transform: translateY(-1px);
}

/* Tema escuro para modal de acompanhamento */
body.dark-theme .follow-up-modal-content {
    background: #2d3748 !important;
    color: #e2e8f0 !important;
}

body.dark-theme .follow-up-header {
    border-bottom-color: #4a5568 !important;
}

body.dark-theme .follow-up-header h2 {
    color: #e2e8f0 !important;
}

body.dark-theme .follow-up-content h3 {
    color: #e2e8f0 !important;
}

body.dark-theme .follow-up-content p {
    color: #a0aec0 !important;
}

body.dark-theme .follow-up-steps {
    background: #4a5568 !important;
}

body.dark-theme .follow-up-steps h4 {
    color: #e2e8f0 !important;
}

body.dark-theme .follow-up-steps ol {
    color: #e2e8f0 !important;
}

body.dark-theme .follow-up-steps li {
    color: #e2e8f0 !important;
}

/* Responsividade dos modais */
@media (max-width: 768px) {
    .subscription-modal-content,
    .follow-up-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .subscription-header,
    .plan-features,
    .subscription-info,
    .subscription-actions,
    .follow-up-header,
    .follow-up-content {
        padding: 20px;
    }
    
    .subscription-actions,
    .follow-up-actions {
        flex-direction: column;
    }
    
    .cancel-button,
    .subscribe-button,
    .follow-up-button {
        width: 100%;
    }
}

