:root {
    --text-dark: #111;
    --primary-dark: #003c3c;
    --primary-green: #12b27b;
    --accent-green: #218838;
    --inactive-color: #ccc;
    --text-inactive: #94a3b8;
}

.logo-wrapper {
    margin: 40px 0;
}

.navbar.header,
.customer-top-submenu {
    display: none;
}

.checkout-wrapper {
    margin: 0 auto;
}

.checkout-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

/* LAYOUT 2 COLUNAS */
.form-wrapper-two-columns {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

.form-section-right {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.summary-box {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
}

.summary-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.summary-item {
    margin-bottom: 0.9rem;
}

.summary-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

.summary-amount {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 3px;
}

.summary-detail {
    font-size: 14px;
    color: #111;
    font-weight: 600;
}

.contract-subtitle {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.contract-pdf-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
    background: #f8f9fa;
}

.contract-pdf-box iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.contract-terms {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
}

.contract-terms label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    margin: 0;
}

.contract-terms input[type="checkbox"] {
    margin-top: 5px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-green);
}

.contract-terms span {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.contract-button {
    width: 100%;
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 22px 15px;
    font-size: 20px;
    font-weight: 500;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.contract-button:hover:not(:disabled) {
    background: #218838;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    color: #fff;
}

.contract-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.contract-button.btn-secondary {
    background: #999;
    border: none;
}

.contract-button.btn-secondary:hover {
    background: #777;
}

.button-wrapper {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.button-wrapper a,
.button-wrapper button {
    flex: 0;
}

/* INDICADOR DE FLUXO */
.mtop15.preview-top-wrapper .row {
    align-items: flex-start;
}

.mtop15.preview-top-wrapper .col-md-3 {
    margin-bottom: 0;
}

.invoice-html-logo {
    max-width: 150px;
}

.stepper-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
    position: relative;
    padding-top: 5px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    padding-right: 50px;
    z-index: 2;
}

.stepper-item:last-child {
    padding-right: 0;
}

/* A Linha Conectora */
.stepper-item:not(:last-child)::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid var(--inactive-color);
    width: 30px;
    top: 16px;
    right: 12px;
    z-index: 1;
}

/* O Círculo (Step Counter) */
.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--inactive-color);
    color: white;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* O Texto ao Lado */
.stepper-item .step-name {
    color: var(--text-inactive);
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
}

/* Estado Ativo / Concluído */
.stepper-item.active .step-counter {
    background-color: var(--primary-dark);
}

.stepper-item.active .step-name {
    color: var(--primary-dark);
    font-weight: bold;
}

/* Linha colorida quando o passo está ativo */
.stepper-item.active:not(:last-child)::after {
    border-bottom-color: var(--primary-dark);
}

@media (max-width: 768px) {
    .contract-pdf-box iframe {
        height: 400px;
    }

    .button-wrapper {
        flex-direction: column;
    }

    .form-wrapper-two-columns {
        grid-template-columns: 1fr;
    }

    .form-section-right {
        position: static;
        margin-top: 2rem;
    }
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-label .required {
    color: #e74c3c;
}

.form-select,
.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.form-group input,
.form-group select {
    padding: 10px 12px;
    height: 45px;
}

.bootstrap-select .btn-default {
    height: 45px;
}

.bootstrap-select .filter-option-inner {
    position: relative;
    top: 6px;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(0, 60, 60, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--primary-green);
    color: white;
    border: none;
    font-weight: 500;
    padding: 22px 15px;
    font-size: 20px;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-submit:hover:not(:disabled) {
    background: #218838;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.back-button {
    width: 100%;
    background: #e9e9e9;
    color: #111;
    border: none;
    font-weight: 500;
    padding: 16px 40px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.back-button:hover:not(:disabled) {
    background: #5e5e5e;
    color: #fff;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-submit-summary {
    width: 100%;
    background: var(--primary-green);
    color: white;
    border: none;
    font-weight: 500;
    padding: 16px 40px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit-summary:hover:not(:disabled) {
    background: #218838;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-submit-summary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.disclaimer-box {
    border: 1px solid #f1ecb4;
    border-left: 4px solid #a16207;
    padding: 15px;
    border-radius: 5px;
    margin-top: 40px;
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.disclaimer-box i {
    color: #a16207;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.course-sections {
    margin-top: 60px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin: 30px 0 15px 0;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--primary-dark);
    padding-bottom: 10px;
}

.section-content {
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}

.modality-badge {
    display: inline-block;
    background: var(--primary-dark);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}