/* =============================================================
   CHECKOUT TIEXAMES - CSS v5
   Mudanças:
   - Sem borda azul no formulário
   - Header não fixo no mobile
   - Resumo no fundo no mobile (estilo PUC)
   - Nome do curso em cima do formulário
   - Botões azuis
   ============================================================= */

:root {
    /* Cores vibrantes da home TIexames */
    --primary: #5371F5;
    --primary-hover: #4058d6;
    --primary-dark: #3448b8;
    --primary-light: rgba(83, 113, 245, 0.1);
    
    /* Azul escuro para textos */
    --navy: #061E49;
    --secondary: #29528C;
    
    /* Verde para sucesso */
    --accent: #10b981;
    --accent-dark: #059669;
    
    /* Backgrounds */
    --bg: #F5F7FA;
    --white: #FFFFFF;
    
    /* Grays */
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Status */
    --success: #10B981;
    --success-light: #D1FAE5;
    --error: #EF4444;
    --error-light: #FEE2E2;
    --warning: #F59E0B;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    /* Typography */
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Border radius */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
}

/* =============================================================
   HEADER - Branco com logo azul (estilo MercadoPago)
   ============================================================= */
.header {
    background: var(--white);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
    .header {
        position: relative; /* Não fixo no mobile */
    }
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 36px;
    width: auto;
}

.header-secure {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
}

.header-secure svg {
    width: 18px;
    height: 18px;
    color: var(--success);
}

/* =============================================================
   MAIN LAYOUT
   ============================================================= */
.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 48px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .main {
        grid-template-columns: 1fr;
        padding: 16px 16px 24px;
        gap: 16px;
    }
}

/* Área do checkout (course header + steps) */
.checkout-area {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Course header inline - solto, sem box */
.course-header-inline {
    padding: 0 0 12px 0;
}

.course-header-inline .course-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}

.course-header-inline .course-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-600);
}

.course-header-inline .course-badge {
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-header-inline .course-badge svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

@media (max-width: 900px) {
    .course-header-inline .course-title {
        font-size: 18px;
    }
    .course-header-inline .course-badges {
        gap: 10px;
        font-size: 12px;
    }
}

/* =============================================================
   CHECKOUT STEPS - Sem borda azul, sem espaçamento
   ============================================================= */
.checkout-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.step {
    background: var(--white);
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.2s;
}

.step:last-child {
    border-bottom: none;
}

.step.active {
    box-shadow: none;
}

/* Removido: borda azul quando ativo */

.step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    cursor: pointer;
    user-select: none;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-500);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.step.active .step-number {
    background: var(--primary);
    color: white;
}

.step.completed .step-number {
    background: var(--success);
    color: white;
}

/* Step bloqueado (não pode mais editar) */
.step.locked .step-header {
    cursor: not-allowed;
    position: relative;
}

.step.locked .step-header::after {
    content: 'Dados já confirmados. Não é possível editar.';
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-800);
    color: white;
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.step.locked .step-header::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--gray-800);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 100;
}

.step.locked .step-header:hover::after,
.step.locked .step-header:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Ícone de cadeado nos steps bloqueados */
.step.locked .step-toggle svg {
    display: none;
}

.step.locked .step-toggle::after {
    content: '🔒';
    font-size: 14px;
}

.step-info {
    flex: 1;
}

.step-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--gray-800);
}

.step.completed .step-title,
.step:not(.active):not(.completed) .step-title {
    color: var(--gray-500);
}

.step-subtitle {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 2px;
}

.step-toggle {
    color: var(--gray-400);
    transition: transform 0.2s;
}

.step.active .step-toggle {
    transform: rotate(180deg);
}

.step-content {
    display: none;
    border-top: 1px solid var(--gray-100);
}

.step.active .step-content {
    display: block;
}

.step-body {
    padding: 14px 16px 16px;
}

/* =============================================================
   FORM ELEMENTS
   ============================================================= */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-row.single {
    grid-template-columns: 1fr;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-label .required {
    color: var(--error);
}

.form-input {
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font-main);
    transition: all 0.2s;
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-help {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

/* Validação em tempo real */
.form-input.invalid {
    border-color: var(--error);
    border-bottom-width: 2px;
}

.form-input.invalid:focus {
    box-shadow: 0 0 0 3px var(--error-light);
}

.form-input.valid {
    border-color: var(--success);
}

.form-input.valid:focus {
    box-shadow: 0 0 0 3px var(--success-light);
}

.field-error {
    font-size: 13px;
    color: #991B1B;
    margin-top: 6px;
    display: none;
}

.field-error.visible {
    display: block;
}

/* Checkbox inline (não sou brasileiro) */
.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-600);
    margin: 12px 0;
}

.checkbox-inline input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-inline span {
    user-select: none;
}

.checkbox-nao-brasileiro {
    margin-top: 8px;
    margin-bottom: 0;
}

/* Info estrangeiro */
.estrangeiro-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 13px;
    color: #1E40AF;
    line-height: 1.5;
}

.estrangeiro-info svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* =============================================================
   BUTTONS - Azul com hover mais forte
   ============================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-primary:active {
    background: var(--primary-dark);
}

.btn-success {
    background: var(--accent);
    color: white;
}

.btn-success:hover {
    background: var(--accent-dark);
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =============================================================
   TURMA SELECTOR
   ============================================================= */
.turma-selector {
    margin: 16px 0;
}

.turma-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.turma-option {
    display: flex;
    align-items: flex-start;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    background: var(--white);
}

.turma-option:hover {
    border-color: var(--gray-300);
}

.turma-option.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.turma-option input {
    display: none;
}

.turma-option-content {
    flex: 1;
}

.turma-option-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.turma-date {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 14px;
}

.turma-details {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 4px;
}

/* =============================================================
   SIDEBAR - Desktop
   ============================================================= */
.sidebar {
    position: sticky;
    top: 100px;
}

@media (max-width: 900px) {
    .sidebar {
        position: relative;
        top: 0;
        margin-top: 24px;
        order: 2; /* Vai para o fundo */
    }
}

.summary-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.summary-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-50);
}

.summary-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Turma selecionada no resumo */
.summary-turma {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.summary-turma-label {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.summary-turma-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
}

/* Seletor de turma no sidebar */
.summary-turma-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-main);
    background: var(--white);
    color: var(--gray-800);
    cursor: pointer;
    margin-top: 8px;
}

.summary-turma-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Cupom */
.cupom-section {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
}

.cupom-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.cupom-toggle:hover {
    text-decoration: underline;
}

.cupom-toggle svg {
    width: 18px;
    height: 18px;
}

.cupom-form {
    display: none;
    margin-top: 12px;
}

.cupom-form.visible {
    display: block;
}

.cupom-input-row {
    display: flex;
    gap: 8px;
}

.cupom-input-row input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.cupom-input-row button {
    padding: 10px 16px;
    background: var(--primary);
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.cupom-input-row button:hover {
    background: var(--primary-hover);
}

.cupom-success {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px;
    background: var(--success-light);
    border-radius: var(--radius);
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 500;
}

.cupom-success.visible {
    display: flex;
}

.cupom-error {
    display: none;
    margin-top: 10px;
    padding: 10px 12px;
    background: var(--error-light);
    border-radius: var(--radius);
    color: var(--error);
    font-size: 13px;
}

.cupom-error.visible {
    display: block;
}

/* Summary Prices */
.summary-prices {
    padding: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-row span:first-child {
    color: var(--gray-600);
}

.summary-row span:last-child {
    color: var(--gray-800);
    font-weight: 500;
}

.summary-row.discount span:last-child {
    color: var(--success);
}

.summary-row.total {
    padding-top: 14px;
    margin-top: 10px;
    margin-bottom: 4px;
    border-top: 1px solid var(--gray-200);
}

.summary-row.total span:first-child {
    font-weight: 700;
    font-size: 15px;
    color: var(--gray-800);
}

.summary-row.total span:last-child {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.summary-installments {
    text-align: right;
    font-size: 13px;
    color: var(--gray-500);
}

/* WhatsApp no resumo */
.summary-whatsapp {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
}

.summary-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.summary-whatsapp a:hover {
    background: #20bd5a;
}

.summary-whatsapp a svg {
    width: 20px;
    height: 20px;
}

/* Ambiente seguro */
.sidebar-secure-block {
    margin-top: 16px;
    padding: 0 4px;
}

.sidebar-secure-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.sidebar-secure-title svg {
    width: 16px;
    height: 16px;
    color: var(--success);
}

.sidebar-secure-text {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* =============================================================
   EX-ALUNO BADGE
   ============================================================= */
.ex-aluno-badge {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
}

.ex-aluno-badge svg {
    width: 20px;
    height: 20px;
    color: #f59e0b;
}

/* =============================================================
   NF CHECKBOX E CAMPOS
   ============================================================= */
.nf-checkbox-wrapper {
    margin-top: 20px;
}

.nf-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.nf-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
}

.nf-checkbox-label {
    font-size: 14px;
    color: var(--gray-700);
}

.nf-checkbox-label small {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 2px;
}

.nf-fields {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}

.nf-fields.visible {
    display: block;
}

.tipo-pessoa-selector {
    margin-bottom: 20px;
}

.tipo-pessoa-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 8px;
}

.tipo-pessoa-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.tipo-pessoa-option:hover {
    border-color: var(--gray-300);
}

.tipo-pessoa-option.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.tipo-pessoa-option input {
    display: none;
}

.tipo-pessoa-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.tipo-pessoa-content svg {
    width: 20px;
    height: 20px;
    color: var(--gray-500);
}

.tipo-pessoa-option.selected .tipo-pessoa-content svg {
    color: var(--primary);
}

.nf-alert {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.nf-alert-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 8px;
}

.nf-alert-title svg {
    width: 18px;
    height: 18px;
}

.nf-alert-text {
    font-size: 13px;
    color: #92400e;
    line-height: 1.5;
}

.address-auto {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--success-light);
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--accent-dark);
}

.address-auto svg {
    width: 16px;
    height: 16px;
}

/* =============================================================
   PAYMENT TABS (estilo checkout antigo)
   ============================================================= */
.payment-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.payment-tab {
    flex: 1;
    min-width: 140px;
    padding: 14px 12px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.payment-tab:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.payment-tab.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.payment-tab.active .payment-tab-icon {
    color: white;
}

.payment-tab.active .payment-tab-text span {
    color: rgba(255,255,255,0.85);
}

.payment-tab-icon {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.payment-tab-icon svg {
    width: 28px;
    height: 28px;
}

/* Imagens do checkout antigo */
.tab-icon-cartao {
    background-image: url('/novosite2016/imagens/icon_cartao.png');
}

.tab-icon-boleto {
    background-image: url('/novosite2016/imagens/icon_boleto.png');
}

.tab-icon-outros {
    background-color: #666;
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    padding: 8px 10px;
    width: auto;
    height: auto;
}

.payment-tab-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-tab-text strong {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.payment-tab-text span {
    font-size: 11px;
    color: var(--gray-500);
    line-height: 1.3;
}

.payment-tab-text span b {
    color: var(--success);
}

.payment-tab.active .payment-tab-text span b {
    color: #90EE90;
}

/* Payment Content */
.payment-content {
    display: none;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}

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

.payment-content-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
}

.payment-content-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 16px;
}

.payment-content p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 12px;
}

.card-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.card-brand-badge {
    display: inline-block;
    padding: 8px 14px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

/* Ícones das abas de pagamento (imagens) */
.payment-tab-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.btn-payment {
    margin-top: 16px;
}

/* PIX Section */
.pix-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.pix-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 12px 0;
}

.pix-dados {
    background: white;
    padding: 16px;
    border-radius: var(--radius);
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.8;
}

.pix-dados p {
    margin: 0;
    color: var(--gray-700);
}

.pix-dados strong {
    color: var(--navy);
}

.pix-desconto {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.pix-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--success);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
}

.pix-valor {
    font-size: 16px;
    color: var(--gray-700);
}

.pix-valor strong {
    color: var(--success);
    font-size: 18px;
}

@media (max-width: 600px) {
    .payment-tabs {
        flex-direction: column;
    }
    
    .payment-tab {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        padding: 12px;
    }
    
    .payment-tab-icon {
        width: 32px;
        height: 32px;
    }
    
    .payment-tab-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Legacy payment options (mantido para compatibilidade) */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: block;
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    background: var(--white);
}

.payment-option:hover {
    border-color: var(--gray-300);
}

.payment-option.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}

.payment-option input {
    display: none;
}

/* Payment Option Links (clicáveis diretos) */
.payment-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-option-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    background: var(--white);
    text-decoration: none;
    color: inherit;
}

.payment-option-link:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateX(4px);
}

.payment-option-link:hover .payment-option-arrow {
    color: var(--primary);
}

.payment-option-arrow {
    color: var(--gray-400);
    flex-shrink: 0;
    transition: all 0.2s;
}

.payment-option-icon.cartao {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.payment-option-icon.mercadopago {
    background: linear-gradient(135deg, #00bcff, #0099cc);
    color: white;
}

.payment-option-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.payment-option-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-option-icon.card {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.payment-option-icon.pix {
    background: linear-gradient(135deg, #00b894, #00a381);
    color: white;
}

.payment-option-icon.boleto {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.payment-option-icon svg {
    width: 22px;
    height: 22px;
}

.payment-option-info {
    flex: 1;
}

.payment-option-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-800);
}

.payment-option-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 2px;
}

.payment-option-value {
    text-align: right;
}

.payment-option-value .price {
    font-weight: 700;
    font-size: 16px;
    color: var(--gray-800);
}

.payment-option-value .installments {
    font-size: 12px;
    color: var(--gray-500);
}

.pix-discount {
    display: inline-block;
    padding: 2px 8px;
    background: var(--success-light);
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    margin-left: 8px;
}

/* =============================================================
   TERMS
   ============================================================= */
.terms-text {
    font-size: 13px;
    color: var(--gray-500);
    margin: 16px 0;
}

.terms-text a {
    color: var(--primary);
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* =============================================================
   MODALS
   ============================================================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
}

/* Botão fechar modal (X) */
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.modal-close:active {
    transform: scale(0.95);
}

.modal-header {
    padding: 24px 24px 0;
    text-align: center;
}

.modal-emoji {
    font-size: 48px;
    margin-bottom: 12px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 14px;
    color: var(--gray-500);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 0 24px 24px;
}

.modal-alt-action {
    text-align: center;
    margin-top: 16px;
}

.modal-alt-action a {
    font-size: 13px;
    color: var(--gray-500);
    text-decoration: none;
}

.modal-alt-action a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Discount badge no modal */
.discount-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
}

.discount-badge svg {
    width: 20px;
    height: 20px;
    color: var(--success);
}

/* WhatsApp suporte no modal */
.modal-whatsapp-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin-top: 16px;
    font-size: 13px;
    color: var(--gray-600);
}

.modal-whatsapp-help a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #25D366;
    font-weight: 600;
    text-decoration: none;
}

.modal-whatsapp-help a:hover {
    text-decoration: underline;
}

.modal-whatsapp-help svg {
    width: 18px;
    height: 18px;
}

/* Password inline */
.password-inline {
    margin-bottom: 16px;
}

.password-inline-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 10px;
}

.password-inline-label svg {
    width: 18px;
    height: 18px;
    color: var(--gray-400);
}

.password-inline-row {
    display: flex;
    gap: 10px;
}

.password-input-wrapper {
    position: relative;
    flex: 1;
}

.password-input-wrapper input {
    width: 100%;
    padding: 12px 44px 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 15px;
}

.password-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: var(--gray-600);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.password-inline-row .btn {
    padding: 12px 20px;
}

.code-fallback {
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
}

.code-fallback a {
    color: var(--primary);
    text-decoration: none;
}

.code-fallback a:hover {
    text-decoration: underline;
}

/* Code inputs */
.code-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.code-digit {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-mono);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.code-digit:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.code-digit.filled {
    border-color: var(--primary);
    background: var(--primary-light);
}

.code-digit.error {
    border-color: var(--error);
    background: var(--error-light);
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.resend-link {
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
}

.resend-link a {
    color: var(--primary);
    text-decoration: none;
}

.resend-link a:hover {
    text-decoration: underline;
}

.countdown {
    color: var(--gray-400);
}

/* PJ Modal */
.pj-modal-text {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

.pj-modal-text p {
    margin-bottom: 12px;
}

/* =============================================================
   PIX PAYMENT STYLES
   ============================================================= */

.tab-icon-pix {
    background: linear-gradient(135deg, #32BCAD 0%, #00A693 100%);
    color: white;
    font-weight: 700;
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 6px;
}

.pix-desconto-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    border-radius: 12px;
    margin-bottom: 24px;
}

.pix-badge-large {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 8px;
}

.pix-valores {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pix-valor-original {
    font-size: 14px;
    color: var(--gray-500);
    text-decoration: line-through;
}

.pix-valor-final {
    font-size: 28px;
    font-weight: 700;
    color: var(--success);
}

.pix-beneficios {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.pix-beneficio {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-700);
}

.pix-beneficio svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.btn-pix {
    background: linear-gradient(135deg, #32BCAD 0%, #00A693 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    padding: 16px 32px;
}

.btn-pix:hover {
    background: linear-gradient(135deg, #00A693 0%, #008F7A 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 166, 147, 0.4);
}

.pix-info {
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
    margin-top: 16px;
}

/* PIX Modal */
.pix-modal-content {
    text-align: center;
}

.pix-qrcode {
    padding: 20px;
    background: white;
    border-radius: 12px;
    display: inline-block;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pix-qrcode img {
    width: 200px;
    height: 200px;
}

.pix-copiacola {
    margin: 20px 0;
}

.pix-copiacola-label {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.pix-copiacola-box {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.pix-copiacola-input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 12px;
    font-family: var(--font-mono);
    background: var(--gray-50);
    word-break: break-all;
}

.pix-copiacola-btn {
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.pix-copiacola-btn:hover {
    background: var(--primary-hover);
}

.pix-copiacola-btn.copied {
    background: var(--success);
}

.pix-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--warning);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 20px;
}

.pix-timer svg {
    width: 20px;
    height: 20px;
}

.pix-aguardando {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: var(--primary-light);
    border-radius: 8px;
    margin-top: 20px;
    color: var(--primary);
    font-weight: 500;
}

.pix-aguardando .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.pix-sucesso {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px;
}

.pix-sucesso-icon {
    width: 80px;
    height: 80px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pix-sucesso-icon svg {
    width: 40px;
    height: 40px;
    color: var(--success);
}

.pix-sucesso h3 {
    font-size: 24px;
    color: var(--success);
}

.pix-sucesso p {
    color: var(--gray-600);
}

/* Responsive PIX */
@media (max-width: 768px) {
    .pix-desconto-header {
        flex-direction: column;
        text-align: center;
    }
    
    .pix-valor-final {
        font-size: 24px;
    }
    
    .pix-copiacola-box {
        flex-direction: column;
    }
}

/* =============================================================
   CARD FORM STYLES (Checkout Transparente)
   ============================================================= */

.card-form {
    margin-top: 20px;
}

.card-form .form-group {
    margin-bottom: 16px;
}

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

.card-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.card-form input,
.card-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    background: white;
}

.card-form input:focus,
.card-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.card-form input.error {
    border-color: var(--error);
}

.card-form input::placeholder {
    color: var(--gray-400);
}

#card-number {
    font-family: var(--font-mono);
    letter-spacing: 2px;
}

#card-holder {
    text-transform: uppercase;
}

.card-brand-detected {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 8px;
    border-radius: 4px;
    display: none;
}

.card-form .form-group {
    position: relative;
}

.card-secure-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--success-light);
    border-radius: 8px;
    margin: 20px 0;
    font-size: 13px;
    color: var(--success);
}

.card-secure-info svg {
    flex-shrink: 0;
    color: var(--success);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

#btn-pagar-cartao {
    font-size: 16px;
    padding: 16px;
}

#btn-pagar-cartao .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#btn-pagar-cartao .spinner-icon {
    animation: spin 1s linear infinite;
}

#btn-pagar-cartao:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Resultado do pagamento */
#cartao-resultado {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 20px;
}

#cartao-resultado.sucesso {
    background: var(--success-light);
    color: var(--success);
}

#cartao-resultado.erro {
    background: var(--error-light);
    color: var(--error);
}

#cartao-resultado.analise {
    background: #FEF3C7;
    color: #D97706;
}

#cartao-resultado h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

#cartao-resultado p {
    margin: 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 480px) {
    .card-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* =============================================================
   PAYMENT TABS - COMPACT STYLE (5 tabs in one row)
   ============================================================= */

.payment-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}

.payment-tabs .payment-tab {
    flex: 1;
    min-width: 0;
    padding: 10px 8px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.payment-tabs .payment-tab:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.payment-tabs .payment-tab.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.payment-tabs .payment-tab .payment-tab-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-tabs .payment-tab .payment-tab-text strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.payment-tabs .payment-tab .payment-tab-text span {
    font-size: 10px;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.payment-tabs .payment-tab.active .payment-tab-text strong {
    color: var(--primary);
}

/* Responsive - stack on mobile */
@media (max-width: 640px) {
    .payment-tabs {
        flex-wrap: wrap;
    }
    
    .payment-tabs .payment-tab {
        flex: 1 1 calc(50% - 6px);
        min-width: calc(50% - 6px);
    }
}

/* Parcelamento info box */
.parcelamento-info {
    background: var(--success-light);
    border: 1px solid var(--success);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 16px 0;
}

.parcelamento-info p {
    margin: 0;
    color: var(--success);
    font-size: 14px;
}

.parcelamento-info p + p {
    margin-top: 4px;
    font-size: 13px;
}

/* PayPal button */
.btn-paypal {
    background: #003087;
    color: white;
}

.btn-paypal:hover {
    background: #001f5c;
}

.btn-paypal svg {
    fill: white;
}

/* Payment tabs for foreigners */
.payment-tabs-estrangeiro {
    justify-content: center;
}

.payment-tabs-estrangeiro .payment-tab {
    max-width: 300px;
}

/* ==========================================================================
   TURNSTILE CLOUDFLARE
   ========================================================================== */
.turnstile-container {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}

.turnstile-container .cf-turnstile {
    margin: 0 auto;
}

/* Estilo para quando bloqueado */
.turnstile-container.blocked {
    opacity: 0.5;
    pointer-events: none;
}

/* Mensagem de erro de segurança */
.security-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 12px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.security-error svg {
    width: 20px;
    height: 20px;
    color: #DC2626;
    flex-shrink: 0;
    margin-top: 2px;
}

.security-error-text {
    font-size: 14px;
    color: #991B1B;
    line-height: 1.4;
}

/* =============================================================
   BOLETO STYLES
   ============================================================= */

.boleto-beneficios {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.boleto-beneficio {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-700);
}

.boleto-beneficio svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
}

.boleto-info {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.5;
}

.boleto-sucesso {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.boleto-sucesso-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.boleto-sucesso-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--success);
    margin: 0;
}

.boleto-meta {
    font-size: 13px;
    color: var(--gray-600);
    font-weight: 400;
}

.boleto-meta strong {
    color: var(--gray-900);
}

/* Aviso para usar PIX */
.boleto-aviso-pix {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-radius: 10px;
    margin-bottom: 16px;
    border-left: 4px solid #F59E0B;
}

.boleto-aviso-pix svg {
    flex-shrink: 0;
    color: #D97706;
    margin-top: 2px;
}

.boleto-aviso-pix div {
    font-size: 13px;
    color: #92400E;
    line-height: 1.5;
}

.boleto-aviso-pix strong {
    color: #78350F;
}

.boleto-aviso-pix b {
    color: #047857;
    font-weight: 600;
}

/* Prazo do boleto */
.boleto-prazo {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

/* Rodapé do boleto gerado */
.boleto-rodape {
    font-size: 12px;
    color: var(--gray-500);
    text-align: center;
    margin-top: 12px;
    margin-bottom: 0;
}

.boleto-info-box {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--gray-200);
}

.boleto-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.boleto-info-row:not(:last-child) {
    border-bottom: 1px solid var(--gray-100);
}

.boleto-info-label {
    font-size: 14px;
    color: var(--gray-500);
}

.boleto-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

.boleto-linha-digitavel {
    margin-bottom: 16px;
}

.boleto-linha-digitavel label {
    display: block;
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.boleto-codigo-container {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.boleto-codigo-input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 11px;
    font-family: var(--font-mono);
    background: white;
    color: var(--gray-700);
}

.btn-copiar-boleto {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 13px;
}

.btn-copiar-boleto.copied {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.boleto-aviso {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 16px;
    padding: 12px;
    background: var(--warning-light, #FEF3C7);
    border-radius: 8px;
}

.boleto-aviso svg {
    flex-shrink: 0;
    color: var(--warning, #F59E0B);
}

/* Responsive Boleto */
@media (max-width: 768px) {
    .boleto-codigo-container {
        flex-direction: column;
    }
    
    .boleto-codigo-input {
        font-size: 10px;
    }
}
