body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: transparent;
}

.ml-auto, .mx-auto {
    margin-left: auto !important;
}

.mr-auto, .mx-auto {
    margin-right: auto !important;
}

.w-50 {
    width: 100%!important;
    box-shadow: 0 0 25px 25px rgba(0, 0, 0, 0.2);
    margin-bottom: 63px;
}

.p-3 {
    padding: 1rem !important;
}

.card {
    z-index: 0;
    border: none;
    border-radius: 0.5rem;
    position: relative;
    width: 90%;
}

.card-header {
    background: #1a2948;
    color: #fff;
    font-weight: 700;
    font-size: xx-large;
    margin-bottom: 20px;
    text-align: center;
}

input {
    -webkit-box-shadow: 0 15px 35px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 15px 35px 0 rgba(0, 0, 0, .1);
    transition: background .25s ease;
    background: #faf8f4;
    border: 0;
    border-radius: 4px;
    color: #282828;
    text-align: left !important;
    font-size: 18px;
    height: 20px;
    margin-bottom: 4px;
    outline: 0;
    padding: 10px 20px !important;
}

label, p {
    color: #1a2948;
    font-family: "system-ui";
    font-weight: 500;
    letter-spacing: 0px;
    margin-bottom: 0;
    font-size: 18px;
}

.required:after {
    content: " *";
    color: red;
}

.phrase {
    color: #fff;
    font-size: 20px;
}

.button-next {
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    background: #f17021;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    color: #fff;
}

.button-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
    background: #1a2948;
    color: #fff;
}

.button-next:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(33, 150, 243, 0.3);
}

.button-next i {
    transition: transform 0.3s ease;
}

.button-next:hover i {
    transform: translateX(5px);
}

.button-back {
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f17021;
    border: none;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    color: #fff;
}

.button-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    background: #1a2948;
    color: #fff;
}

.button-back:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.button-back i {
    transition: transform 0.3s ease;
}

.button-back:hover i {
    transform: translateX(-5px);
}

/* Loading Styles */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #1a2948;
    border-radius: 50%;
    animation: spin 1s linear infinite, pulse 1s ease-in-out infinite;
}

.loading-text {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

@keyframes fadeInOut {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Modal Loading Styles */
#showLoading .modal-dialog {
    pointer-events: none;
}

#showLoading .modal-content {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 30px;
}

/* Radio Button Styles */
.payment-options {
    display: flex;
    gap: 20px;
}

.payment-option {
    position: relative;
    flex: 1;
}

.payment-input {
    display: none;
}

.payment-label {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
}

.payment-label:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.payment-input:checked + .payment-label {
    background: #e7f1ff;
    border-color: #f17021;
    color: #f17021;
}

.payment-input:checked + .payment-label i {
    color: #f17021;
}

.payment-label i {
    font-size: 1.2em;
    color: #6c757d;
    transition: all 0.3s ease;
}

.spanDiscount {
    font-size: 15px;
    color: green;
}

/* Melhorias de usabilidade para touch */
@media (hover: none) {
    .payment-label,
    .button-next,
    .button-back,
    input[type="radio"] + label {
        min-height: 44px !important;
    }

    input.form-control {
        min-height: 44px !important;
    }
}

.col-md-1 {
    width: 8.333333% !important;
}

.col-md-2 {
    width: 16.666667% !important;
}

.col-md-3 {
    width: 25% !important;
}

.col-md-4 {
    width: 33.333333% !important;
}

.col-md-5 {
    width: 41.666667% !important;
}

.col-md-6 {
    width: 50% !important;
}

.col-md-7 {
    width: 58.333333% !important;
}

.col-md-8 {
    width: 66.666667% !important;
}

.col-md-9 {
    width: 75% !important;
}

.col-md-10 {
    width: 83.333333% !important;
}

.col-md-11 {
    width: 91.666667% !important;
}

.col-md-12 {
    width: 100% !important;
}

/* Upsell */
.upgrade-plan {
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.upgrade-plan:hover {
    transform: translateY(-5px);
}

.upgrade-plan--featured {
    border: 2px solid #ffa500;
    background: linear-gradient(to bottom, #fff 0%, #fff9f5 100%);
}

.upgrade-plan__header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.upgrade-plan__badge {
    position: absolute;
    top: -30px;
    right: -10px;
    background: linear-gradient(45deg, #ffa500, #ffa500, #ffa500);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(242,101,34,0.3);
}

.upgrade-plan__title {
    color: #1a2948;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px;
}

.upgrade-plan__subtitle {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.upgrade-plan__subtitle--highlight {
    color: #f26522;
    font-weight: 500;
}

.upgrade-plan__price {
    margin: 15px 0;
}

.upgrade-plan__currency {
    color: #1a2948;
    font-size: 20px;
    font-weight: bold;
    vertical-align: top;
}

.upgrade-plan__amount {
    color: #1a2948;
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
}

.upgrade-plan__period {
    color: #666;
    font-size: 14px;
}

.upgrade-plan__benefits {
    margin: 25px 0;
}

.upgrade-plan__benefit {
    margin-bottom: 12px;
    color: #1a2948;
    font-size: 14px;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.upgrade-plan__benefit--inactive {
    color: #999;
    text-decoration: line-through;
}

.upgrade-plan__check {
    color: #28a745;
    margin-right: 10px;
    font-weight: bold;
}

.upgrade-plan__cross {
    color: #dc3545;
    margin-right: 10px;
    font-weight: bold;
}

.upgrade-plan__button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upgrade-plan__button--orange {
    background-color: #f26522;
    color: white;
}

.upgrade-plan__button--gold {
    background: linear-gradient(45deg, #ffa500, #ffa500, #ffa500);
    color: white;
    position: relative;
    overflow: hidden;
}

.upgrade-plan__button--gold:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shine 2s infinite;
}

@keyframes shine {
    100% {
        left: 100%;
    }
}

.upgrade-plan__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242,101,34,0.3);
}

.iti {
    width: 100%;
}

.iti__flag-container {
    z-index: 1;
}
input[type="tel"] {
    padding-left: 50px !important;
}

.novo-success-balloon {
    margin-top: 25%;
    margin: 4%;
    /*max-width: 400px;*/
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 2px solid #28a745;
    position: relative;
}

.novo-success-balloon::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #28a745;
}

.novo-trophy-icon {
    text-align: center;
    margin-bottom: 20px;
}

.novo-trophy-icon i {
    font-size: 48px;
    color: #28a745;
}

.novo-confetti-icon {
    color: #ff6b35;
    font-size: 20px;
    margin-right: 8px;
}

.novo-main-title {
    color: #28a745;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.novo-success-message {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: left;
}

.novo-additional-info {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

.novo-filiacao-link {
    color: #28a745;
    text-decoration: none;
    font-weight: bold;
}

.novo-filiacao-link:hover {
    text-decoration: underline;
}

.novo-whatsapp-link {
    color: #25d366;
    text-decoration: none;
    font-weight: bold;
}

.novo-whatsapp-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .novo-success-balloon {
        max-width: 100%;
    }
    
    .novo-success-balloon::before {
        display: none;
    }
}

.aviso-contribuicao {
    background: #fff8e1;
    border-left: 4px solid #f5921e;
    border-radius: 4px;
    padding: 12px 16px;
    margin-top: 10px;
    font-size: 14px;
    color: #5d4037;
    display: flex;
    align-items: center;
    gap: 8px;
}
.aviso-contribuicao-icon {
    font-size: 15px;
    font-weight: bold;
    color: #ff6f00;
}

.aviso-contribuicao strong {
    font-weight: 600;
}