/* ==========================================================================
   vestibular.css — Módulo Público de Vestibular / Processo Seletivo
   Autocontido: não herda variáveis do tema da plataforma
   ========================================================================== */

/* ── Fonte ─────────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Reset base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ─────────────────────────────────────────────────────────────────── */
:root {
    --vest-primary:          #1a1d2e;
    --vest-primary-overlay:  rgba(0,0,0,0.25);
    --vest-white:            #ffffff;
    --vest-gray-50:          #f8fafc;
    --vest-gray-100:         #f1f5f9;
    --vest-gray-200:         #e2e8f0;
    --vest-gray-400:         #94a3b8;
    --vest-gray-500:         #64748b;
    --vest-gray-600:         #475569;
    --vest-gray-700:         #334155;
    --vest-gray-900:         #0f172a;
    --vest-text:             #1e293b;
    --vest-text-muted:       #64748b;
    --vest-input-border:     #e2e8f0;
    --vest-input-focus:      var(--vest-primary);
    --vest-radius:           10px;
    --vest-radius-sm:        6px;
    --vest-radius-full:      9999px;
    --vest-shadow-card:      0 4px 24px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    --vest-shadow-btn:       0 2px 8px rgba(0,0,0,0.18);
    --vest-transition:       220ms ease;
    --vest-font:             'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Base ───────────────────────────────────────────────────────────────────── */
html, body {
    font-family: var(--vest-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--vest-text);
    background: var(--vest-gray-100);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT SPLIT-SCREEN (Inscrição)
   ═══════════════════════════════════════════════════════════════════════════ */

.vest-split {
    display: flex;
    min-height: 100vh;
}

/* ── Painel Esquerdo ──────────────────────────────────────────────────────── */
.vest-panel-left {
    position: relative;
    width: 42%;
    min-height: 100vh;
    background-color: var(--vest-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 52px;
    overflow: hidden;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* Linha diagonal decorativa — uma única faixa larga alinhada à esquerda */
.vest-panel-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        -55deg,
        rgba(255,255,255,0.06) 0px,
        rgba(255,255,255,0.06) 120px,
        transparent 120px
    );
    pointer-events: none;
}

/* Triângulo decorativo inferior direito */
.vest-panel-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.05);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}

/* Elemento decorativo superior esquerdo */
.vest-panel-left__deco {
    position: absolute;
    top: -80px;
    left: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,0.035);
    pointer-events: none;
}

/* Contêiner do conteúdo — garante que nada extrapola o painel */
.vest-panel-left__content {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vest-panel-left__logo {
    display: block;
    max-width: 280px;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 36px;
    flex-shrink: 0;
}

.vest-panel-left__badge {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.88);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--vest-radius-full);
    margin-bottom: 16px;
}

.vest-panel-left__badge i {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.65);
}

.vest-panel-left__title {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.22;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    word-break: break-word;
    overflow-wrap: break-word;
}

.vest-panel-left__desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.72;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 0;
}

/* Normaliza tags HTML vindas do editor (sans-serif, tamanho e cor herdados) */
.vest-panel-left__desc p,
.vest-panel-left__desc h1,
.vest-panel-left__desc h2,
.vest-panel-left__desc h3,
.vest-panel-left__desc span {
    margin: 0 0 0.6em;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.vest-panel-left__desc p:last-child,
.vest-panel-left__desc *:last-child { margin-bottom: 0; }

.vest-panel-left__features {
    margin-top: 28px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
}

.vest-panel-left__feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--vest-radius-full);
    padding: 4px 11px 4px 8px;
    white-space: nowrap;
}

.vest-panel-left__feature i {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.75);
    flex-shrink: 0;
}

/* ── Painel Direito ───────────────────────────────────────────────────────── */
.vest-panel-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 48px;
    background: var(--vest-white);
    min-height: 100vh;
    overflow-y: auto;
}

.vest-form-container {
    width: 100%;
    max-width: 560px;
}

.vest-form-header {
    margin-bottom: 32px;
}

.vest-form-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--vest-gray-900);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.vest-form-header p {
    font-size: 0.875rem;
    color: var(--vest-text-muted);
}

/* ── Seções do Formulário ─────────────────────────────────────────────────── */
.vest-form-section {
    margin-bottom: 28px;
}

.vest-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--vest-gray-500);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vest-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--vest-gray-200);
}

/* ── Campos (Inputs) ──────────────────────────────────────────────────────── */
.vest-field {
    margin-bottom: 14px;
}

.vest-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--vest-gray-700);
    margin-bottom: 6px;
}

.vest-input-wrap {
    position: relative;
}

.vest-input-wrap .vest-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vest-gray-400);
    font-size: 0.85rem;
    pointer-events: none;
    transition: color var(--vest-transition);
}

.vest-input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 40px;
    border: 1.5px solid var(--vest-input-border);
    border-radius: var(--vest-radius);
    background: var(--vest-gray-50);
    color: var(--vest-text);
    font-family: var(--vest-font);
    font-size: 0.9375rem;
    transition: border-color var(--vest-transition), background var(--vest-transition), box-shadow var(--vest-transition);
    outline: none;
    -webkit-appearance: none;
}

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

.vest-input:focus {
    border-color: var(--vest-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.vest-input:focus + .vest-input-icon,
.vest-input-wrap:focus-within .vest-input-icon {
    color: var(--vest-primary);
}

/* sem ícone */
.vest-input.no-icon {
    padding-left: 16px;
}

/* ── Campo telefone com DDI ───────────────────────────────────────────────── */
.vest-phone-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.vest-ddi-wrap {
    position: relative;
    flex: none;
    width: 72px;
}

.vest-ddi-prefix {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vest-gray-500);
    font-size: 0.875rem;
    font-weight: 600;
    pointer-events: none;
}

.vest-input--ddi {
    width: 72px;
    padding-left: 22px;
    padding-right: 6px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.vest-phone-group .vest-input-wrap {
    flex: 1;
    min-width: 0;
}

/* ── Select ───────────────────────────────────────────────────────────────── */
.vest-select-wrap {
    position: relative;
}

.vest-select-wrap .vest-select-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vest-gray-400);
    font-size: 0.82rem;
    pointer-events: none;
    transition: color var(--vest-transition);
    z-index: 1;
}

.vest-select-wrap .vest-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vest-gray-400);
    font-size: 0.75rem;
    pointer-events: none;
    z-index: 1;
}

.vest-select {
    width: 100%;
    height: 48px;
    padding: 0 40px 0 40px;
    border: 1.5px solid var(--vest-input-border);
    border-radius: var(--vest-radius);
    background: var(--vest-gray-50);
    color: var(--vest-text);
    font-family: var(--vest-font);
    font-size: 0.9375rem;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    transition: border-color var(--vest-transition), box-shadow var(--vest-transition);
}

.vest-select:focus {
    border-color: var(--vest-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.vest-select:focus ~ .vest-select-icon {
    color: var(--vest-primary);
}

.vest-select option { color: var(--vest-text); }
.vest-select option:disabled { color: var(--vest-gray-400); }

/* Select desabilitado */
.vest-select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ── Mensagem de Erro (campo) ─────────────────────────────────────────────── */
.vest-field-error {
    font-size: 0.78rem;
    color: #dc2626;
    margin-top: 5px;
    display: none;
    align-items: center;
    gap: 4px;
}

.vest-field-error.visible {
    display: flex;
}

.vest-input.is-invalid,
.vest-select.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,0.08);
}

/* ── Botão ────────────────────────────────────────────────────────────────── */
.vest-btn-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
}

.vest-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 36px;
    background: var(--vest-primary);
    color: #fff;
    font-family: var(--vest-font);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--vest-radius);
    cursor: pointer;
    box-shadow: var(--vest-shadow-btn);
    transition: opacity var(--vest-transition), transform var(--vest-transition);
    position: relative;
    overflow: hidden;
}

.vest-btn:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.vest-btn:active:not(:disabled) {
    transform: translateY(0);
}

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

.vest-btn--full {
    width: 100%;
    margin-top: 8px;
}

.vest-btn--outline {
    background: transparent;
    color: var(--vest-primary);
    border: 2px solid var(--vest-primary);
    box-shadow: none;
}

/* Spinner inline */
.vest-btn .vest-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vest-spin 0.65s linear infinite;
    display: none;
}

.vest-btn.loading .vest-spinner { display: block; }
.vest-btn.loading .vest-btn-text { opacity: 0.7; }

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

/* ── Barra de Progresso ───────────────────────────────────────────────────── */
.vest-progress-bar-wrap {
    height: 4px;
    background: var(--vest-gray-200);
    border-radius: var(--vest-radius-full);
    overflow: hidden;
    margin-bottom: 32px;
}

.vest-progress-fill {
    height: 100%;
    background: var(--vest-primary);
    border-radius: var(--vest-radius-full);
    transition: width 0.4s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUT CENTRADO (Prova)
   ═══════════════════════════════════════════════════════════════════════════ */

.vest-page {
    min-height: 100vh;
    background: var(--vest-gray-100);
    display: flex;
    flex-direction: column;
}

/* ── Cabeçalho da Prova ───────────────────────────────────────────────────── */
.vest-prova-header {
    background: var(--vest-primary);
    color: #fff;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.vest-prova-header__logo {
    max-height: 36px;
    max-width: 140px;
    object-fit: contain;
}

.vest-prova-header__logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: -0.01em;
}

/* ── Countdown Timer ──────────────────────────────────────────────────────── */
.vest-countdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vest-countdown__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
}

.vest-countdown__value {
    background: rgba(255,255,255,0.15);
    border-radius: var(--vest-radius-sm);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    padding: 6px 10px;
    min-width: 52px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    color: #fff;
}

.vest-countdown__label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.65);
    margin-top: 4px;
}

.vest-countdown__sep {
    font-size: 1.4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.4);
    align-self: flex-start;
    padding-top: 4px;
    margin: 0 2px;
}

.vest-countdown.is-urgent .vest-countdown__value {
    background: rgba(239,68,68,0.35);
    color: #fca5a5;
    animation: vest-pulse 1s ease-in-out infinite;
}

@keyframes vest-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.7; }
}

/* ── Conteúdo Principal (Prova) ───────────────────────────────────────────── */
.vest-prova-body {
    flex: 1;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vest-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--vest-shadow-card);
    padding: 40px;
    width: 100%;
    max-width: 720px;
}

.vest-card + .vest-card {
    margin-top: 20px;
}

/* ── Info do candidato ────────────────────────────────────────────────────── */
.vest-candidate-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    background: var(--vest-gray-50);
    border-radius: var(--vest-radius);
    border: 1px solid var(--vest-gray-200);
    margin-bottom: 28px;
}

.vest-candidate-info__name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--vest-gray-900);
}

.vest-candidate-info__detail {
    font-size: 0.82rem;
    color: var(--vest-text-muted);
}

/* ── Instrução / Enunciado ────────────────────────────────────────────────── */
.vest-instrucao {
    background: var(--vest-gray-50);
    border-left: 4px solid var(--vest-primary);
    border-radius: 0 var(--vest-radius) var(--vest-radius) 0;
    padding: 16px 20px;
    font-size: 0.875rem;
    color: var(--vest-gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

.vest-pergunta {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--vest-gray-900);
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--vest-gray-50);
    border-radius: var(--vest-radius);
    border: 1px solid var(--vest-gray-200);
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Normaliza elementos HTML do editor dentro do enunciado */
.vest-pergunta p  { margin: 0 0 12px; }
.vest-pergunta p:last-child { margin-bottom: 0; }
.vest-pergunta ul,
.vest-pergunta ol { margin: 0 0 12px; padding-left: 20px; }
.vest-pergunta li { margin-bottom: 4px; }
.vest-pergunta h1,
.vest-pergunta h2,
.vest-pergunta h3 { font-size: 1rem; margin: 0 0 8px; }
.vest-pergunta strong { font-weight: 700; }
.vest-pergunta em    { font-style: italic; }
.vest-pergunta img,
.vest-pergunta table,
.vest-pergunta iframe { max-width: 100%; height: auto; }

/* ── Textarea da Prova ────────────────────────────────────────────────────── */
.vest-textarea-wrap {
    position: relative;
}

.vest-textarea {
    width: 100%;
    min-height: 240px;
    padding: 16px;
    border: 1.5px solid var(--vest-input-border);
    border-radius: var(--vest-radius);
    background: var(--vest-gray-50);
    color: var(--vest-text);
    font-family: var(--vest-font);
    font-size: 0.9375rem;
    line-height: 1.7;
    resize: vertical;
    outline: none;
    transition: border-color var(--vest-transition), box-shadow var(--vest-transition);
}

.vest-textarea:focus {
    border-color: var(--vest-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.vest-word-counter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--vest-text-muted);
}

.vest-word-counter__count {
    font-weight: 700;
    color: var(--vest-gray-700);
    font-variant-numeric: tabular-nums;
}

.vest-word-counter.is-over .vest-word-counter__count {
    color: #dc2626;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PÁGINA DE ENTRADA DA PROVA (/prova)
   ═══════════════════════════════════════════════════════════════════════════ */

.vest-entry-page {
    min-height: 100vh;
    background: var(--vest-gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.vest-entry-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    padding: 48px 48px 40px;
    width: 100%;
    max-width: 480px;
    text-align: center;
}

.vest-entry-logo {
    max-height: 60px;
    max-width: 180px;
    object-fit: contain;
    margin: 0 auto 32px;
}

.vest-entry-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--vest-gray-900);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.vest-entry-subtitle {
    font-size: 0.875rem;
    color: var(--vest-text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.vest-entry-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--vest-radius);
    padding: 12px 14px;
    margin-bottom: 28px;
    text-align: left;
}

.vest-entry-notice i {
    color: #d97706;
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.vest-entry-notice p {
    font-size: 0.8rem;
    color: #92400e;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PÁGINA OBRIGADO (Inscrição e Prova)
   ═══════════════════════════════════════════════════════════════════════════ */

.vest-obrigado-page {
    min-height: 100vh;
    background: var(--vest-gray-100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.vest-obrigado-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    padding: 56px 48px;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.vest-obrigado-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 28px;
}

.vest-obrigado-icon--success {
    background: #f0fdf4;
    color: #16a34a;
    border: 2px solid #bbf7d0;
}

.vest-obrigado-logo {
    max-height: 56px;
    max-width: 160px;
    object-fit: contain;
    margin: 0 auto 28px;
}

.vest-obrigado-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--vest-gray-900);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.vest-obrigado-sub {
    font-size: 0.9rem;
    color: var(--vest-text-muted);
    margin-bottom: 36px;
    line-height: 1.6;
}

.vest-steps {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.vest-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.vest-step__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--vest-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.vest-step__text {
    font-size: 0.875rem;
    color: var(--vest-gray-700);
    line-height: 1.55;
}

.vest-step__text strong {
    display: block;
    color: var(--vest-gray-900);
    font-weight: 600;
    margin-bottom: 2px;
}

.vest-obrigado-alert {
    background: var(--vest-gray-50);
    border: 1px solid var(--vest-gray-200);
    border-radius: var(--vest-radius);
    padding: 14px 16px;
    font-size: 0.82rem;
    color: var(--vest-gray-600);
    text-align: left;
    margin-bottom: 28px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.vest-obrigado-alert i {
    color: var(--vest-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.vest-footer {
    padding: 20px 24px;
    text-align: center;
    font-size: 0.78rem;
    color: var(--vest-gray-400);
    background: var(--vest-gray-100);
    border-top: 1px solid var(--vest-gray-200);
    margin-top: auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════════════════════════════════ */

.vest-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.vest-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--vest-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    font-size: 0.875rem;
    font-weight: 500;
    max-width: 360px;
    pointer-events: all;
    animation: vest-toast-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    line-height: 1.4;
    border: 1px solid transparent;
}

.vest-toast.hiding {
    animation: vest-toast-out 0.25s ease both;
}

.vest-toast--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.vest-toast--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.vest-toast--info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.vest-toast i {
    font-size: 1rem;
    flex-shrink: 0;
}

@keyframes vest-toast-in {
    from { opacity: 0; transform: translateX(100%) scale(0.92); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes vest-toast-out {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(100%); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════════════════════════ */

.vest-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.vest-modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.vest-modal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    padding: 40px 36px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.vest-modal-backdrop.open .vest-modal {
    transform: scale(1) translateY(0);
}

.vest-modal__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fef2f2;
    border: 2px solid #fecaca;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 20px;
}

.vest-modal__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--vest-gray-900);
    margin-bottom: 10px;
}

.vest-modal__body {
    font-size: 0.875rem;
    color: var(--vest-text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.vest-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .vest-panel-left {
        width: 46%;
        padding: 52px 40px;
    }
}

@media (max-width: 900px) {
    .vest-split {
        flex-direction: column;
    }

    .vest-panel-left {
        width: 100%;
        min-height: auto;
        padding: 48px 36px 40px;
    }

    .vest-panel-right {
        padding: 40px 28px;
        min-height: auto;
    }

    .vest-panel-left__logo {
        max-width: 200px;
        margin-bottom: 24px;
    }

    .vest-panel-left__title {
        font-size: 1.4rem;
    }

    .vest-panel-left__desc {
        font-size: 0.875rem;
    }

    .vest-panel-left__features {
        display: none;
    }
}

@media (max-width: 600px) {
    .vest-panel-left {
        padding: 32px 24px;
    }

    .vest-panel-right {
        padding: 32px 20px;
    }

    .vest-entry-card,
    .vest-obrigado-card {
        padding: 36px 24px;
    }

    .vest-card {
        padding: 28px 20px;
    }

    .vest-countdown__value {
        font-size: 1.1rem;
        padding: 5px 8px;
        min-width: 42px;
    }

    .vest-prova-header {
        padding: 0 16px;
    }

    .vest-btn-row {
        justify-content: stretch;
    }

    .vest-btn-row .vest-btn {
        width: 100%;
    }
}
