/**
 * AWA Motos - Página de Currículo
 * Design profissional e moderno
 *
 * TOKENS: herda todas as variáveis de awa-core.css (:root).
 * NÃO redeclarar :root aqui — usar os tokens oficiais diretamente.
 *
 * Mapeamento (valores locais antigos → tokens oficiais):
 *   --awa-red       → var(--awa-red)          (#b73337)
 *   --awa-red-dark  → var(--awa-red-dark)     (#8e2629)
 *   --awa-red-light → var(--awa-red-light)    (rgb(183 51 55 / 16%))
 *   --awa-success   → var(--awa-success)      (#198754)
 *   --awa-warning   → var(--awa-warning)      (#e09100)
 *   --awa-info      → var(--awa-info)         (#0d6efd)
 *   --awa-dark      → var(--awa-dark)         (#333)
 *   --awa-gray      → var(--awa-gray-500)
 *   --awa-light     → var(--awa-gray-100)
 *   --awa-border    → var(--awa-gray-300)
 *   --awa-shadow    → var(--awa-shadow)
 *   --awa-radius    → var(--awa-radius)
 *   --awa-transition→ var(--awa-transition)
 */

/* ==========================================================================
   VARIÁVEIS LOCAIS EXCLUSIVAS DO CURRÍCULO
   Apenas aliases para tokens que NÃO existem em awa-core.css.
   ========================================================================== */

/* ==========================================================================
   WRAPPER E ESTRUTURA
   ========================================================================== */
.curriculo-wrapper {
    /* Aliases locais — mapeiam nomes não-padrão para tokens awa-core.css.
       Escopados a .curriculo-wrapper para não poluir :root global. */
    --awa-border: var(--awa-gray-300);
    --awa-gray: var(--awa-gray-500);
    --awa-light: var(--awa-gray-100);
    --awa-success-dark: #2E7D32;

    max-width: 1040px;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 40px) 0 calc(clamp(32px, 4vw, 48px) + env(safe-area-inset-bottom));
}

/* Header da Página */
.curriculo-page-header {
    text-align: center;
    margin-bottom: clamp(24px, 3vw, 32px);
    padding: clamp(32px, 4vw, 48px) clamp(24px, 3vw, 40px);
    background: linear-gradient(135deg, var(--awa-red) 0%, var(--awa-red-dark) 100%);
    border-radius: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.curriculo-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgb(255 255 255 / 10%) 0%, transparent 70%);
    pointer-events: none;
}

.curriculo-page-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px;
    position: relative;
}

.curriculo-page-header p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
    position: relative;
}

.curriculo-page-header .header-icon {
    width: 70px;
    height: 70px;
    background: rgb(255 255 255 / 20%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

/* Intro Text */
.curriculo-intro {
    background: var(--awa-light);
    border-left: 4px solid var(--awa-red);
    padding: clamp(20px, 2.8vw, 28px) clamp(20px, 3vw, 32px);
    margin-bottom: clamp(24px, 3vw, 32px);
    border-radius: 0 18px 18px 0;
}

.curriculo-intro p {
    margin: 0;
    color: var(--awa-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   BARRA DE PROGRESSO
   ========================================================================== */
.curriculo-progress {
    background: #fff;
    border: 1px solid var(--awa-border);
    border-radius: 18px;
    padding: clamp(24px, 3vw, 32px);
    margin-bottom: clamp(24px, 3vw, 32px);
    box-shadow: var(--awa-shadow);
}

.curriculo-progress .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.curriculo-progress .progress-text {
    font-weight: 600;
    color: var(--awa-dark);
    font-size: 15px;
}

.curriculo-progress .progress-text #progress-percent {
    color: var(--awa-red);
    font-size: 22px;
    font-weight: 700;
}

.curriculo-progress .progress-fields {
    color: var(--awa-gray);
    font-size: 13px;
    background: var(--awa-light);
    padding: 6px 12px;
    border-radius: 20px;
}

.curriculo-progress .progress-bar {
    background: #e8e8e8;
    border-radius: 10px;
    height: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.curriculo-progress .progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, var(--awa-warning) 0%, #f57c00 100%);
    position: relative;
}

.curriculo-progress .progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 30%), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.curriculo-progress .progress-fill.low {
    background: linear-gradient(90deg, #ef5350 0%, var(--awa-red) 100%);
}

.curriculo-progress .progress-fill.medium {
    background: linear-gradient(90deg, var(--awa-warning) 0%, #f57c00 100%);
}

.curriculo-progress .progress-fill.high {
    background: linear-gradient(90deg, #66bb6a 0%, #43a047 100%);
}

.curriculo-progress .progress-fill.complete {
    background: linear-gradient(90deg, var(--awa-success) 0%, var(--awa-success-dark) 100%);
}

.curriculo-progress .progress-steps {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.curriculo-progress .step {
    flex: 1;
    text-align: center;
    padding: 14px 16px;
    background: var(--awa-light);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    transition: var(--awa-transition);
    position: relative;
    border: 2px solid transparent;
}

.curriculo-progress .step::before {
    content: attr(data-step);
    display: inline-flex;
    width: 24px;
    height: 24px;
    background: #ccc;
    border-radius: 50%;
    margin-right: 8px;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    transition: var(--awa-transition);
}

.curriculo-progress .step.active {
    background: #fff3e0;
    color: #e65100;
    border-color: var(--awa-warning);
}

.curriculo-progress .step.active::before {
    background: var(--awa-warning);
}

.curriculo-progress .step.in-progress {
    background: #e3f2fd;
    color: #1565c0;
    border-color: var(--awa-info);
}

.curriculo-progress .step.in-progress::before {
    background: var(--awa-info);
    animation: pulse 1.5s infinite;
}

.curriculo-progress .step.complete {
    background: #e8f5e9;
    color: var(--awa-success-dark);
    border-color: var(--awa-success);
}

.curriculo-progress .step.complete::before {
    content: '✓';
    background: var(--awa-success);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* ==========================================================================
   FORMULÁRIO
   ========================================================================== */
.form.curriculo {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--awa-shadow);
    overflow: hidden;
}

.form.curriculo .fieldset {
    padding: clamp(24px, 3vw, 32px);
    margin: 0;
    border: none;
    border-bottom: 1px solid var(--awa-border);
}

.form.curriculo .fieldset:last-of-type {
    border-bottom: none;
}

.form.curriculo .legend {
    width: 100%;
    margin-bottom: 25px;
    padding: 0;
    border: none;
    font-size: 0;
}

.form.curriculo .legend span {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--awa-dark);
    background: linear-gradient(135deg, var(--awa-red-light) 0%, #fff 100%);
    padding: 12px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--awa-red);
}

.form.curriculo .legend span::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--awa-red);
    border-radius: 50%;
    margin-right: 12px;
}

/* Grid de campos */
.curriculo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 2vw, 24px);
    margin-bottom: 24px;
}

@media (width <= 768px) {
    .curriculo-grid {
        grid-template-columns: 1fr;
    }
}

/* Campos do formulário */
.form.curriculo .field {
    margin-bottom: 0;
}

.form.curriculo .field.full-width {
    grid-column: 1 / -1;
}

.form.curriculo .label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--awa-dark);
    font-size: 14px;
}

.form.curriculo .label span {
    display: inline-flex;
    align-items: center;
}

/* Suprime o ::after nativo do Magento (.field.required label::after = " *")
   pois o Curriculo ja adiciona o asterisco via span::after acima */
.form.curriculo .field.required .label::after {
    display: none;
}

.form.curriculo .field.required .label span::after {
    content: '*';
    color: var(--awa-red);
    margin-left: 4px;
    font-weight: 700;
}

.form.curriculo .control {
    position: relative;
}

.form.curriculo .input-text,
.form.curriculo select,
.form.curriculo textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid var(--awa-border);
    border-radius: 10px;
    background: #fff;
    transition: var(--awa-transition);
    color: var(--awa-dark);
}

.form.curriculo .input-text:hover,
.form.curriculo select:hover,
.form.curriculo textarea:hover {
    border-color: #bbb;
}

.form.curriculo .input-text:focus,
.form.curriculo select:focus,
.form.curriculo textarea:focus {
    border-color: var(--awa-red);
    box-shadow: 0 0 0 4px rgb(229 57 53 / 10%);
    outline: none;
}

.form.curriculo .input-text.mage-error,
.form.curriculo select.mage-error,
.form.curriculo textarea.mage-error {
    border-color: #f44336;
    background: #ffebee;
}

.form.curriculo textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.form.curriculo select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Notas e dicas */
.form.curriculo .note {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
    padding-left: 2px;
}

.form.curriculo .field.consent .note {
    line-height: 1.6;
}

.form.curriculo .field.consent .note a {
    color: var(--awa-red);
    font-weight: 600;
    text-decoration: underline;
}

.form.curriculo .field.consent .note a:hover {
    text-decoration-thickness: 2px;
}

.form.curriculo .mage-error[role="alert"] {
    font-size: 12px;
    color: #d32f2f;
    margin-top: 6px;
    display: flex;
    align-items: center;
}

.form.curriculo .mage-error[role="alert"]::before {
    content: '⚠';
    margin-right: 6px;
}

/* ==========================================================================
   UPLOAD DE ARQUIVO
   ========================================================================== */
.form.curriculo .file-upload-area {
    border: 2px dashed var(--awa-border);
    border-radius: 18px;
    padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 32px);
    text-align: center;
    background: var(--awa-light);
    transition: var(--awa-transition);
    cursor: pointer;
}

.form.curriculo .file-upload-area:hover {
    border-color: var(--awa-red);
    background: var(--awa-red-light);
}

.form.curriculo .file-upload-area.dragover {
    border-color: var(--awa-red);
    background: var(--awa-red-light);
    transform: scale(1.02);
}

.form.curriculo .file-upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.form.curriculo .file-upload-text {
    font-size: 16px;
    color: var(--awa-gray);
    margin-bottom: 8px;
}

.form.curriculo .file-upload-hint {
    font-size: 13px;
    color: #999;
}

.form.curriculo input[type="file"] {
    width: 100%;
    padding: 12px;
    background: var(--awa-light);
    border: 2px solid var(--awa-border);
    border-radius: 10px;
    cursor: pointer;
}

.form.curriculo input[type="file"]::file-selector-button,
.form.curriculo input[type="file"]::-webkit-file-upload-button {
    background: var(--awa-red);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    margin-right: 15px;
    transition: var(--awa-transition);
}

.form.curriculo input[type="file"]::file-selector-button:hover,
.form.curriculo input[type="file"]::-webkit-file-upload-button:hover {
    background: var(--awa-red-dark);
}

/* ==========================================================================
   BOTÕES DE AÇÃO
   ========================================================================== */
.form.curriculo .actions-toolbar {
    padding: 30px;
    background: linear-gradient(135deg, var(--awa-light) 0%, #fff 100%);
    border-top: 1px solid var(--awa-border);
}

.form.curriculo .actions-toolbar .primary {
    text-align: center;
}

.form.curriculo .action.submit.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--awa-red) 0%, var(--awa-red-dark) 100%);
    color: #fff;
    border: none;
    padding: 18px 50px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--awa-transition);
    box-shadow: 0 4px 15px rgb(229 57 53 / 30%);
    min-width: 280px;
}

.form.curriculo .action.submit.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgb(229 57 53 / 40%);
}

.form.curriculo .action.submit.primary:active {
    transform: translateY(0);
}

.form.curriculo .action.submit.primary::before {
    content: '📤';
    font-size: 20px;
}

/* ==========================================================================
   PAINEL DE SUCESSO
   ========================================================================== */
.curriculo-success-panel {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: var(--awa-radius);
    margin: 20px 0;
    box-shadow: var(--awa-shadow);
}

.curriculo-success-panel .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--awa-success) 0%, var(--awa-success-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 40px;
    color: #fff;
    box-shadow: 0 6px 20px rgb(76 175 80 / 40%);
    animation: successBounce 0.6s ease;
}

@keyframes successBounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.curriculo-success-panel h2 {
    font-size: 28px;
    color: var(--awa-success-dark);
    margin: 0 0 15px;
    font-weight: 700;
}

.curriculo-success-panel p {
    font-size: 16px;
    color: #388e3c;
    line-height: 1.6;
    margin: 0 0 10px;
}

.curriculo-success-panel .tracking-code-box {
    background: #fff;
    border: 2px dashed var(--awa-success);
    border-radius: 10px;
    padding: 20px;
    margin: 25px auto;
    max-width: 350px;
}

.curriculo-success-panel .tracking-code-box .label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.curriculo-success-panel .tracking-code-box .code {
    font-size: 24px;
    font-weight: 700;
    color: var(--awa-success-dark);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.curriculo-success-actions {
    margin-top: 30px;
}

.curriculo-success-actions .action.primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--awa-success);
    color: #fff;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--awa-transition);
}

.curriculo-success-actions .action.primary:hover {
    background: var(--awa-success-dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   MENSAGENS DE STATUS
   ========================================================================== */
.form-status {
    margin-bottom: 20px;
}

.form-error-summary {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-left: 4px solid #f44336;
    border-radius: 0 8px 8px 0;
    padding: 20px;
    margin-bottom: 20px;
}

.form-error-summary p {
    margin: 0 0 10px;
    font-weight: 600;
    color: #c62828;
}

.form-error-summary ul {
    margin: 0;
    padding: 0 0 0 20px;
}

.form-error-summary li {
    color: #d32f2f;
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (width <= 768px) {
    .curriculo-wrapper {
        padding-top: 24px;
        padding-bottom: calc(32px + env(safe-area-inset-bottom));
    }
    
    .curriculo-page-header {
        padding: 28px 20px;
    }
    
    .curriculo-page-header h1 {
        font-size: 24px;
    }
    
    .curriculo-progress {
        padding: 20px 18px;
    }
    
    .curriculo-progress .progress-steps {
        flex-direction: column;
        gap: 8px;
    }
    
    .curriculo-progress .step {
        padding: 12px;
    }
    
    .form.curriculo .fieldset {
        padding: 20px 18px;
    }
    
    .form.curriculo .legend span {
        font-size: 16px;
        padding: 10px 16px;
    }
    
    .form.curriculo .action.submit.primary {
        width: 100%;
        min-width: auto;
        padding: 16px 30px;
    }
    
    .curriculo-success-panel {
        padding: 30px 20px;
    }
    
    .curriculo-success-panel h2 {
        font-size: 22px;
    }
}

/* ==========================================================================
   ANIMAÇÕES
   ========================================================================== */
.form.curriculo .field {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.form.curriculo .field:nth-child(1) { animation-delay: 0.1s; }
.form.curriculo .field:nth-child(2) { animation-delay: 0.15s; }
.form.curriculo .field:nth-child(3) { animation-delay: 0.2s; }
.form.curriculo .field:nth-child(4) { animation-delay: 0.25s; }
.form.curriculo .field:nth-child(5) { animation-delay: 0.3s; }
.form.curriculo .field:nth-child(6) { animation-delay: 0.35s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus visível para acessibilidade */
.form.curriculo *:focus-visible {
    outline: 2px solid var(--awa-red);
    outline-offset: 2px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .curriculo-wrapper {
        --awa-light: #2a2a2a;
        --awa-border: #444;
        --awa-dark: #f0f0f0;
        --awa-gray: #aaa;
    }
}

/* ==========================================================================
   ESPECIALIDADES GRID (CHECKBOXES)
   ========================================================================== */
.curriculo-specialties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 8px;
}

@media (width <= 640px) {
    .curriculo-specialties-grid {
        grid-template-columns: 1fr;
    }
}

.specialty-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--awa-light);
    border: 1px solid var(--awa-border);
    border-radius: 8px;
    transition: var(--awa-transition);
    cursor: pointer;
}

.specialty-checkbox:hover {
    border-color: var(--awa-red);
    background: var(--awa-red-light);
}

.specialty-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--awa-red);
    cursor: pointer;
    flex-shrink: 0;
}

.specialty-checkbox label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    margin: 0;
    line-height: 1.3;
}

.specialty-checkbox input[type="checkbox"]:checked + label {
    color: var(--awa-red-dark);
    font-weight: 600;
}

/* ==========================================================================
   PÁGINA DE STATUS / ACOMPANHAMENTO DE CANDIDATURA
   ========================================================================== */
.status-check-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.status-check-intro {
    text-align: center;
    margin-bottom: 30px;
}

.status-check-intro p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.status-note-lgpd,
.status-field-note {
    margin-top: 8px;
    color: #666;
    font-size: 13px;
}

.status-field-note {
    margin-top: 6px;
}

.status-check-form {
    background: #fff;
    border: 1px solid var(--awa-gray-300, #e0e0e0);
    border-radius: var(--awa-radius, 8px);
    padding: 30px;
    box-shadow: var(--awa-shadow, 0 2px 10px rgb(0 0 0 / 6%));
}

.status-check-form .field {
    margin-bottom: 20px;
}

.status-check-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.status-check-form input[type="text"],
.status-check-form input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--awa-gray-300, #e0e0e0);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.status-check-form input[type="text"] {
    font-family: monospace;
    font-size: 18px;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
}

.status-check-form input[type="text"]:focus,
.status-check-form input[type="email"]:focus {
    border-color: var(--awa-red, #b73337);
    outline: none;
    box-shadow: 0 0 0 3px rgb(183 51 55 / 10%);
}

.status-check-form button {
    width: 100%;
    padding: 14px;
    background: var(--awa-red, #b73337);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--awa-transition, 0.3s ease);
}

.status-check-form button:hover {
    background: var(--awa-red-dark, #8e2629);
}

.status-check-form button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.status-result {
    margin-top: 30px;
    display: none;
}

.status-result.show {
    display: block;
}

.status-result.error {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: var(--awa-red-dark, #8e2629);
}

.status-result.success {
    background: #fff;
    border: 1px solid var(--awa-gray-300, #e0e0e0);
    border-radius: 12px;
    overflow: hidden;
}

.status-result-header {
    background: linear-gradient(135deg, var(--awa-red, #b73337) 0%, var(--awa-red-dark, #8e2629) 100%);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.status-result-header .tracking-code {
    font-family: monospace;
    font-size: 24px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.status-result-header .name {
    font-size: 14px;
    opacity: 0.9;
}

.status-badge {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0;
}

.status-badge.pending { background: #fff3e0; color: #e65100; }
.status-badge.reviewing { background: #e3f2fd; color: #1565c0; }
.status-badge.interview { background: #f3e5f5; color: #7b1fa2; }
.status-badge.approved { background: #e8f5e9; color: #2e7d32; }
.status-badge.rejected { background: #ffebee; color: var(--awa-red-dark, #8e2629); }

.status-result-body {
    padding: 25px;
}

.status-result-body .info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.status-result-body .info-item label {
    display: block;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.status-result-body .info-item .value {
    font-size: 15px;
    color: #333;
}

.status-timeline {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.status-timeline h4 {
    margin: 0 0 15px;
    font-size: 14px;
    color: #333;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--awa-gray-300, #e0e0e0);
}

.timeline-step {
    position: relative;
    text-align: center;
    flex: 1;
}

.timeline-step .dot {
    width: 24px;
    height: 24px;
    background: var(--awa-gray-300, #e0e0e0);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    position: relative;
    z-index: 1;
}

.timeline-step.active .dot {
    background: var(--awa-success, #198754);
}

.timeline-step.current .dot {
    background: var(--awa-red, #b73337);
    animation: status-pulse 1.5s infinite;
}

.timeline-step .label {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: #888;
}

.timeline-step.active .label,
.timeline-step.current .label {
    color: #333;
    font-weight: 600;
}

@keyframes status-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgb(183 51 55 / 40%); }
    50% { box-shadow: 0 0 0 10px rgb(183 51 55 / 0%); }
}

.back-link {
    text-align: center;
    margin-top: 30px;
}

.back-link a {
    color: var(--awa-red, #b73337);
    text-decoration: none;
}

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

@media (width <= 480px) {
    .status-result-body .info-grid {
        grid-template-columns: 1fr;
    }

    .timeline-step .label {
        font-size: 9px;
    }
}

/* ==========================================================================
   PAINEL DE SUCESSO — BOTÕES DE AÇÃO
   ========================================================================== */
.curriculo-success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.curriculo-success-actions .action-track-status {
    background: var(--awa-info, #0d6efd);
    color: #fff;
}

.curriculo-success-actions .action-track-status:hover {
    background: #0b5ed7;
}

.curriculo-success-actions .action-resubmit {
    background: var(--awa-success, #198754);
    color: #fff;
}

.curriculo-success-actions .action-resubmit:hover {
    background: var(--awa-success-dark, #2E7D32);
}

/* ==========================================================================
   PAINEL DE SUCESSO — CARDS INFORMATIVOS
   ========================================================================== */
.success-info-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: var(--awa-shadow, 0 2px 10px rgb(0 0 0 / 8%));
}

.success-info-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.success-info-step {
    text-align: center;
}

.success-info-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.success-info-label {
    font-size: 13px;
    color: #666;
}
