/* Estilos base (comuns a todos os temas) */
body {
    font-family: 'Inter', sans-serif;
    padding-top: 70px;
}

.navbar {
	min-height: 70px;
}

.navbar-fixed-top {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.navbar-brand img {
    height: 55px;
    margin-right: 10px;
    display: inline-block;
}
.navbar-brand span {
    font-size: 20px;
    font-weight: 700;
    vertical-align: middle;
}
.navbar-nav > li > a {
    font-weight: 500;
}
.navbar-toggle .icon-bar {
    background-color: #ffffff;
}
.pricing-container {
    padding: 60px 15px;
}
.pricing-title, .plan-selection-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.pricing-title, .plan-selection-subtitle {
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.toggle-btn-group {
    border-radius: 30px;
    padding: 5px;
    display: inline-block;
}
.toggle-btn-group .btn {
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-weight: 600;
    background-color: transparent;
    transition: all 0.3s ease;
}
.toggle-btn-group .btn.active {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.toggle-btn-group .btn .discount {
    font-size: 0.85em;
    margin-left: 8px;
}
.pricing-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.pricing-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.pricing-card:hover {
    transform: translateY(-5px);
}
.pricing-card.highlighted {
    transform: scale(1.05);
}
.pricing-card .panel-heading {
    border-bottom: none;
    padding: 20px;
    text-align: center;
    position: relative;
}
.pricing-card .panel-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.pricing-card .panel-footer {
    border-top: none;
    padding: 20px;
    text-align: center;
}
.price {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
}
.price .monthly, .price .quarterly, .price .semiannual, .price .annual {
    display: none;
}
.price .monthly.active, .price .quarterly.active, .price .semiannual.active, .price .annual.active {
    display: inline;
}
.description {
    color: #4a5c72;
    margin-bottom: 20px;
    font-size: 1em;
}
.feature-list {
    list-style: none;
    padding: 0;
    color: #4a5c72;
    flex-grow: 1;
}
.feature-list li {
    margin-bottom: 12px;
}
.feature-list li:before {
    content: '✓';
    margin-right: 10px;
}
.btn-cta {
    border: none;
    font-weight: 600;
    padding: 12px 24px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-cta:hover {
    transform: translateY(-2px);
}
.btn-cta:disabled {
    cursor: not-allowed;
}
.form-section {
    display: none;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
}
.form-section.active {
    display: block;
}
.form-section h2 {
    font-size: 1.8em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.form-section h3 {
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.form-group .required:after {
    content: '*';
    color: #d9534f;
    margin-left: 5px;
}
.form-group label {
    font-weight: 500;
}
.error-message {
    color: #d9534f;
    font-size: 0.9em;
    display: none;
    margin-top: 5px;
}
.has-error .error-message {
    display: block;
}
.has-error .form-control {
    border-color: #d9534f;
}
.ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    width: 140px;
    border: 1px solid #ffffff;
    transform: rotate(45deg);
    text-align: center;
    padding: 5px 0;
}
.ribbon span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.modal-content {
    border-radius: 10px;
}
.loading-modal {
    text-align: center;
    padding: 30px;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid;
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite, pulse 1.5s ease-in-out infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}
.loading-text {
    font-weight: 600;
    animation: textPulse 1.5s ease-in-out infinite;
}
@keyframes textPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.success-modal {
    text-align: center;
    padding: 20px;
}
.success-modal a {
    text-decoration: underline;
    word-break: break-all;
}
@media (max-width: 767px) {
    .pricing-card {
        margin-bottom: 20px;
        max-width: 90%;
        width: 340px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-card.highlighted {
        transform: none;
    }
    .toggle-btn-group .btn {
        padding: 8px 12px;
        font-size: 0.9em;
    }
    .toggle-btn-group .btn .discount {
        display: block;
        margin-top: 5px;
    }
    .ribbon {
        width: 110px;
        right: -25px;
        top: 15px;
    }
    .ribbon span {
        font-size: 12px;
    }
}

/* Tema Cartão Black */
.theme-black {
    background: linear-gradient(to bottom, #0a0a0a, #1c2526);
    color: #f1f1f1;
}
.theme-black .navbar-fixed-top {
    background-color: #0a0a0a;
}
.theme-black .navbar-brand span,
.theme-black .navbar-nav > li > a {
    color: #f1f1f1;
}
.theme-black .navbar-nav > li > a:hover {
    color: #b89a4d;
}
.theme-black .navbar-toggle .icon-bar {
    background-color: #f1f1f1;
}
.theme-black .pricing-title,
.theme-black .plan-selection-title {
    color: #f1f1f1;
}
.theme-black .toggle-btn-group {
    background-color: #1c2526;
}
.theme-black .toggle-btn-group .btn {
    color: #f1f1f1;
}
.theme-black .toggle-btn-group .btn.active {
    background-color: #ffffff;
    color: #1c2526;
}
.theme-black .toggle-btn-group .btn .discount {
    color: #b89a4d;
}
.theme-black .pricing-card {
    border-radius: 10px;
    border: 1px solid #d9dfe6;
    background-color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.theme-black .pricing-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}
.theme-black .pricing-card.highlighted {
    border: 2px solid #3a3f4a;
}
.theme-black .pricing-card .panel-heading,
.theme-black .pricing-card .panel-footer {
    background-color: #ffffff;
}
.theme-black .price {
    color: #1c2526;
}
.theme-black .feature-list li:before {
    color: #3a3f4a;
}
.theme-black .btn-cta {
    background-color: #facc15;
    color: #1c2526;
}
.theme-black .btn-cta:hover {
    background: linear-gradient(to right, #facc15, #eab308);
}
.theme-black .btn-cta:disabled {
    background-color: #fde047;
}
.theme-black .form-section {
    background-color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.theme-black .form-section h2,
.theme-black .form-group label {
    color: #1c2526;
}
.theme-black .ribbon {
    background: linear-gradient(to right, #b89a4d, #d4b874);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.theme-black .loading-modal {
    background-color: #eceef1;
    color: #1c2526;
}
.theme-black .spinner {
    border-color: #3a3f4a;
    border-top-color: #b89a4d;
}
.theme-black .loading-text {
    color: #1c2526;
}
.theme-black .loading-text {
    animation: textPulse 1.5s ease-in-out infinite, colorPulseBlack 1.5s ease-in-out infinite;
}
@keyframes colorPulseBlack {
    0%, 100% { color: #1c2526; }
    50% { color: #b89a4d; }
}
.theme-black .success-modal {
    background-color: #e8f5e9;
    color: #2e7d32;
}
.theme-black .success-modal a {
    color: #3a3f4a;
}

/* Tema Jovial */
.theme-jovial {
    background: linear-gradient(to bottom, #fef9e7, #fff3cd);
    color: #2d3748;
}
.theme-jovial .navbar-fixed-top {
    background-color: #fef9e7;
}
.theme-jovial .navbar-brand span,
.theme-jovial .navbar-nav > li > a {
    color: #2d3748;
}
.theme-jovial .navbar-nav > li > a:hover {
    color: #38b2ac;
}
.theme-jovial .navbar-toggle .icon-bar {
    background-color: #2d3748;
}
.theme-jovial .pricing-title,
.theme-jovial .plan-selection-title {
    color: #2d3748;
}
.theme-jovial .toggle-btn-group {
    background-color: #edf2f7;
}
.theme-jovial .toggle-btn-group .btn {
    color: #2d3748;
}
.theme-jovial .toggle-btn-group .btn.active {
    background-color: #ffffff;
    color: #ed8936;
}
.theme-jovial .toggle-btn-group .btn .discount {
    color: #38b2ac;
}
.theme-jovial .pricing-card {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.theme-jovial .pricing-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.theme-jovial .pricing-card.highlighted {
    border: 2px solid #ed8936;
}
.theme-jovial .pricing-card .panel-heading,
.theme-jovial .pricing-card .panel-footer {
    background-color: #ffffff;
}
.theme-jovial .price {
    color: #2d3748;
}
.theme-jovial .feature-list li:before {
    color: #ed8936;
}
.theme-jovial .btn-cta {
    background-color: #ed8936;
    color: #ffffff;
}
.theme-jovial .btn-cta:hover {
    background: linear-gradient(to right, #ed8936, #f6ad55);
}
.theme-jovial .btn-cta:disabled {
    background-color: #f6ad55;
}
.theme-jovial .form-section {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.theme-jovial .form-section h2,
.theme-jovial .form-group label {
    color: #2d3748;
}
.theme-jovial .ribbon {
    background: linear-gradient(to right, #38b2ac, #4fd1c5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.theme-jovial .loading-modal {
    background-color: #f7fafc;
    color: #2d3748;
}
.theme-jovial .spinner {
    border-color: #ed8936;
    border-top-color: #38b2ac;
}
.theme-jovial .loading-text {
    color: #2d3748;
}
.theme-jovial .loading-text {
    animation: textPulse 1.5s ease-in-out infinite, colorPulseJovial 1.5s ease-in-out infinite;
}
@keyframes colorPulseJovial {
    0%, 100% { color: #2d3748; }
    50% { color: #38b2ac; }
}
.theme-jovial .success-modal {
    background-color: #e6fffa;
    color: #319795;
}
.theme-jovial .success-modal a {
    color: #ed8936;
}

/* Tema Descontraído */
.theme-descontraido {
    background: linear-gradient(to bottom, #f5f5f5, #e4e4e7);
    color: #4a5568;
}
.theme-descontraido .navbar-fixed-top {
    background-color: #f5f5f5;
}
.theme-descontraido .navbar-brand span,
.theme-descontraido .navbar-nav > li > a {
    color: #4a5568;
}
.theme-descontraido .navbar-nav > li > a:hover {
    color: #dd6b20;
}
.theme-descontraido .navbar-toggle .icon-bar {
    background-color: #4a5568;
}
.theme-descontraido .pricing-title,
.theme-descontraido .plan-selection-title {
    color: #4a5568;
}
.theme-descontraido .toggle-btn-group {
    background-color: #edf2f7;
}
.theme-descontraido .toggle-btn-group .btn {
    color: #4a5568;
}
.theme-descontraido .toggle-btn-group .btn.active {
    background-color: #ffffff;
    color: #68d391;
}
.theme-descontraido .toggle-btn-group .btn .discount {
    color: #dd6b20;
}
.theme-descontraido .pricing-card {
    border-radius: 14px;
    border: 1px solid #edf2f7;
    background-color: #f7fafc;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}
.theme-descontraido .pricing-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.theme-descontraido .pricing-card.highlighted {
    border: 2px solid #68d391;
}
.theme-descontraido .pricing-card .panel-heading,
.theme-descontraido .pricing-card .panel-footer {
    background-color: #f7fafc;
}
.theme-descontraido .price {
    color: #4a5568;
}
.theme-descontraido .feature-list li:before {
    color: #68d391;
}
.theme-descontraido .btn-cta {
    background-color: #68d391;
    color: #ffffff;
}
.theme-descontraido .btn-cta:hover {
    background: linear-gradient(to right, #68d391, #48bb78);
}
.theme-descontraido .btn-cta:disabled {
    background-color: #48bb78;
}
.theme-descontraido .form-section {
    background-color: #f7fafc;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}
.theme-descontraido .form-section h2,
.theme-descontraido .form-group label {
    color: #4a5568;
}
.theme-descontraido .ribbon {
    background: linear-gradient(to right, #dd6b20, #f6ad55);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.theme-descontraido .loading-modal {
    background-color: #f7fafc;
    color: #4a5568;
}
.theme-descontraido .spinner {
    border-color: #68d391;
    border-top-color: #dd6b20;
}
.theme-descontraido .loading-text {
    color: #4a5568;
}
.theme-descontraido .loading-text {
    animation: textPulse 1.5s ease-in-out infinite, colorPulseDescontraido 1.5s ease-in-out infinite;
}
@keyframes colorPulseDescontraido {
    0%, 100% { color: #4a5568; }
    50% { color: #dd6b20; }
}
.theme-descontraido .success-modal {
    background-color: #f0fff4;
    color: #276749;
}
.theme-descontraido .success-modal a {
    color: #68d391;
}

/* Tema Light */
.theme-light {
    background: linear-gradient(to bottom, #f8fafc, #e2e8f0);
    color: #1f2937;
}
.theme-light .navbar-fixed-top {
    background-color: #f8fafc;
}
.theme-light .navbar-brand span,
.theme-light .navbar-nav > li > a {
    color: #1f2937;
}
.theme-light .navbar-nav > li > a:hover {
    color: #60a5fa;
}
.theme-light .navbar-toggle .icon-bar {
    background-color: #1f2937;
}
.theme-light .pricing-title,
.theme-light .plan-selection-title {
    color: #1f2937;
}
.theme-light .toggle-btn-group {
    background-color: #e5e7eb;
}
.theme-light .toggle-btn-group .btn {
    color: #1f2937;
}
.theme-light .toggle-btn-group .btn.active {
    background-color: #ffffff;
    color: #60a5fa;
}
.theme-light .toggle-btn-group .btn .discount {
    color: #34d399;
}
.theme-light .pricing-card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.theme-light .pricing-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.theme-light .pricing-card.highlighted {
    border: 2px solid #60a5fa;
}
.theme-light .pricing-card .panel-heading,
.theme-light .pricing-card .panel-footer {
    background-color: #ffffff;
}
.theme-light .price {
    color: #1f2937;
}
.theme-light .feature-list li:before {
    color: #60a5fa;
}
.theme-light .btn-cta {
    background-color: #60a5fa;
    color: #ffffff;
}
.theme-light .btn-cta:hover {
    background: linear-gradient(to right, #60a5fa, #3b82f6);
}
.theme-light .btn-cta:disabled {
    background-color: #93c5fd;
}
.theme-light .form-section {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.theme-light .form-section h2,
.theme-light .form-group label {
    color: #1f2937;
}
.theme-light .ribbon {
    background: linear-gradient(to right, #34d399, #6ee7b7);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.theme-light .loading-modal {
    background-color: #f9fafb;
    color: #1f2937;
}
.theme-light .spinner {
    border-color: #60a5fa;
    border-top-color: #34d399;
}
.theme-light .loading-text {
    color: #1f2937;
}
.theme-light .loading-text {
    animation: textPulse 1.5s ease-in-out infinite, colorPulseLight 1.5s ease-in-out infinite;
}
@keyframes colorPulseLight {
    0%, 100% { color: #1f2937; }
    50% { color: #34d399; }
}
.theme-light .success-modal {
    background-color: #ecfdf5;
    color: #065f46;
}
.theme-light .success-modal a {
    color: #60a5fa;
}

/* Tema Dark */
.theme-dark {
    background: linear-gradient(to bottom, #0f172a, #1e293b);
    color: #e2e8f0;
}
.theme-dark .navbar-fixed-top {
    background-color: #0f172a;
}
.theme-dark .navbar-brand span,
.theme-dark .navbar-nav > li > a {
    color: #e2e8f0;
}
.theme-dark .navbar-nav > li > a:hover {
    color: #b91c1c;
}
.theme-dark .navbar-toggle .icon-bar {
    background-color: #e2e8f0;
}
.theme-dark .pricing-title,
.theme-dark .plan-selection-title {
    color: #e2e8f0;
}
.theme-dark .toggle-btn-group {
    background-color: #1e293b;
}
.theme-dark .toggle-btn-group .btn {
    color: #e2e8f0;
}
.theme-dark .toggle-btn-group .btn.active {
    background-color: #ffffff;
    color: #b91c1c;
}
.theme-dark .toggle-btn-group .btn .discount {
    color: #ca8a04;
}
.theme-dark .pricing-card {
    border-radius: 10px;
    border: 1px solid #334155;
    background-color: #1e293b;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.theme-dark .pricing-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}
.theme-dark .pricing-card.highlighted {
    border: 2px solid #b91c1c;
}
.theme-dark .pricing-card .panel-heading,
.theme-dark .pricing-card .panel-footer {
    background-color: #1e293b;
}
.theme-dark .price {
    color: #e2e8f0;
}
.theme-dark .feature-list li:before {
    color: #b91c1c;
}
.theme-dark .btn-cta {
    background-color: #b91c1c;
    color: #ffffff;
}
.theme-dark .btn-cta:hover {
    background: linear-gradient(to right, #b91c1c, #991b1b);
}
.theme-dark .btn-cta:disabled {
    background-color: #dc2626;
}
.theme-dark .form-section {
    background-color: #1e293b;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}
.theme-dark .form-section h2,
.theme-dark .form-group label {
    color: #e2e8f0;
}
.theme-dark .ribbon {
    background: linear-gradient(to right, #ca8a04, #a16207);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.theme-dark .loading-modal {
    background-color: #1e293b;
    color: #e2e8f0;
}
.theme-dark .spinner {
    border-color: #b91c1c;
    border-top-color: #ca8a04;
}
.theme-dark .loading-text {
    color: #e2e8f0;
}
.theme-dark .loading-text {
    animation: textPulse 1.5s ease-in-out infinite, colorPulseDark 1.5s ease-in-out infinite;
}
@keyframes colorPulseDark {
    0%, 100% { color: #e2e8f0; }
    50% { color: #ca8a04; }
}
.theme-dark .success-modal {
    background-color: #450a0a;
    color: #fecaca;
}
.theme-dark .success-modal a {
    color: #b91c1c;
}

/* Tema Modern */
.theme-modern {
    background: linear-gradient(to bottom, #ffffff, #f3f4f6);
    color: #111827;
}
.theme-modern .navbar-fixed-top {
    background-color: #ffffff;
}
.theme-modern .navbar-brand span,
.theme-modern .navbar-nav > li > a {
    color: #111827;
}
.theme-modern .navbar-nav > li > a:hover {
    color: #2563eb;
}
.theme-modern .navbar-toggle .icon-bar {
    background-color: #111827;
}
.theme-modern .pricing-title,
.theme-modern .plan-selection-title {
    color: #111827;
}
.theme-modern .toggle-btn-group {
    background-color: #e5e7eb;
}
.theme-modern .toggle-btn-group .btn {
    color: #111827;
}
.theme-modern .toggle-btn-group .btn.active {
    background-color: #ffffff;
    color: #2563eb;
}
.theme-modern .toggle-btn-group .btn .discount {
    color: #10b981;
}
.theme-modern .pricing-card {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.15);
}
.theme-modern .pricing-card:hover {
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}
.theme-modern .pricing-card.highlighted {
    border: 2px solid #2563eb;
}
.theme-modern .pricing-card .panel-heading,
.theme-modern .pricing-card .panel-footer {
    background-color: #ffffff;
}
.theme-modern .price {
    color: #111827;
}
.theme-modern .feature-list li:before {
    color: #2563eb;
}
.theme-modern .btn-cta {
    background-color: #2563eb;
    color: #ffffff;
}
.theme-modern .btn-cta:hover {
    background: linear-gradient(to right, #2563eb, #1d4ed8);
}
.theme-modern .btn-cta:disabled {
    background-color: #60a5fa;
}
.theme-modern .form-section {
    background-color: #ffffff;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.15);
}
.theme-modern .form-section h2,
.theme-modern .form-group label {
    color: #111827;
}
.theme-modern .ribbon {
    background: linear-gradient(to right, #10b981, #059669);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.theme-modern .loading-modal {
    background-color: #f9fafb;
    color: #111827;
}
.theme-modern .spinner {
    border-color: #2563eb;
    border-top-color: #10b981;
}
.theme-modern .loading-text {
    color: #111827;
}
.theme-modern .loading-text {
    animation: textPulse 1.5s ease-in-out infinite, colorPulseModern 1.5s ease-in-out infinite;
}
@keyframes colorPulseModern {
    0%, 100% { color: #111827; }
    50% { color: #10b981; }
}
.theme-modern .success-modal {
    background-color: #d1fae5;
    color: #065f46;
}
.theme-modern .success-modal a {
    color: #2563eb;
}


.input-group-btn .btn {
  border-left: none;
}
.input-group-btn .btn:hover {
  background-color: #f5f5f5;
}