.talento-help-error {
    color: #be123c;
}

.talento-error {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.65rem;
    font-weight: 600;
    color: #be123c;
}

.talento-field-error {
    border-color: #fda4af !important;
    background: rgba(255, 241, 242, 0.7) !important;
    box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.12);
}

.talento-field-error:focus {
    border-color: #fb7185 !important;
    box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.16);
}

.talento-label-wrap {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.talento-step-form-copy {
    margin-bottom: 0.25rem;
}

.talento-step-form-grid {
    display: grid;
    gap: 1rem;
}

.talento-step-section {
    display: grid;
    gap: 1rem;
}

.talento-form-subsection {
    display: grid;
    gap: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.5rem;
    background: rgba(248, 250, 252, 0.56);
    padding: 1rem;
}

.talento-form-subsection__header {
    display: grid;
    gap: 0.25rem;
}

.talento-form-subsection__title {
    font-size: 1.12rem;
    line-height: 1.7rem;
    font-weight: 700;
    color: #0f2b4c;
}

.talento-form-subsection__copy {
    font-size: 1rem;
    line-height: 1.8rem;
    color: #64748b;
}

.talento-option-grid {
    display: grid;
    gap: 0.75rem;
}

.talento-option-card {
    display: flex;
    cursor: pointer;
    gap: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.72);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    line-height: 1.7rem;
    color: #334155;
}

.talento-option-card--stacked {
    align-items: flex-start;
}

.talento-option-card--inline {
    align-items: center;
}

.talento-option-card--plain {
    background: #fff;
}

.talento-skill-groups {
    display: grid;
    gap: 1rem;
}

.talento-skill-group {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.25rem;
    background: rgba(248, 250, 252, 0.62);
    padding: 1rem;
}

.talento-summary-card {
    border: 1px solid rgba(0, 61, 114, 0.12);
    border-radius: 1.5rem;
    background: rgba(255, 247, 237, 0.62);
    padding: 1.25rem;
}

.talento-summary-grid {
    display: grid;
    gap: 0.75rem;
}

.talento-summary-sections {
    display: grid;
    gap: 1rem;
}

.talento-summary-section {
    display: grid;
    gap: 0.875rem;
}

.talento-summary-section__title {
    font-size: 1rem;
    line-height: 1.65rem;
    font-weight: 700;
    color: #0f2b4c;
}

.talento-summary-item {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.76);
    padding: 0.875rem 1rem;
}

.talento-consent-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1.25rem;
    background: rgba(248, 250, 252, 0.62);
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.9rem;
    color: #334155;
}

.talento-consent-link {
    display: inline-flex;
    margin-top: 0.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #003d72;
    font-size: 0.98rem;
    line-height: 1.6rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.talento-policy-dialog {
    width: min(42rem, calc(100vw - 2rem));
    max-height: min(80vh, 46rem);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 1.5rem;
    padding: 0;
    background: #fff;
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.18);
}

.talento-policy-dialog::backdrop {
    background: rgba(15, 23, 42, 0.5);
}

.talento-policy-dialog__content {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
}

.talento-policy-dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.talento-policy-dialog__close {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 9999px;
    background: #fff;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f2b4c;
    cursor: pointer;
}

.talento-policy-dialog__body {
    overflow-y: auto;
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.72);
    padding: 1rem;
    font-size: 0.9375rem;
    line-height: 1.75rem;
    color: #334155;
    white-space: normal;
}

.talento-company-auth-shell {
    display: grid;
    gap: 2rem;
}

.talento-company-auth-hero {
    display: grid;
    gap: 1rem;
}

.talento-company-auth-copy {
    max-width: 70rem;
}

.talento-actor-shell {
    display: grid;
    gap: 2rem;
}

.talento-actor-eyebrow {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.talento-actor-eyebrow--applicant {
    color: #0b4a84;
}

.talento-actor-eyebrow--company {
    color: #cf5406;
}

.talento-actor-title {
    margin-top: 0.85rem;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 0.98;
    font-weight: 800;
}

.talento-actor-copy {
    margin-top: 1.35rem;
    max-width: 48rem;
    font-size: 1.16rem;
    line-height: 1.95rem;
    color: #5e748a;
}

.talento-company-auth-grid {
    display: grid;
    gap: 1.5rem;
}

.talento-company-auth-panel {
    border-radius: 2rem;
    padding: 1.75rem;
}

.talento-company-auth-panel__header p {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
}

.talento-company-auth-panel__header h2 {
    font-size: 2.1rem;
    line-height: 1.1;
}

.talento-company-auth-panel--login {
    background: rgba(255, 255, 255, 0.9);
}

.talento-company-auth-panel--register {
    background: linear-gradient(180deg, rgba(235, 98, 9, 0.08), rgba(255, 255, 255, 0.88));
}

.talento-company-auth-panel__header {
    display: grid;
    gap: 0.25rem;
}

.talento-company-auth-input {
    min-height: 4.45rem;
    padding: 1.05rem 1.55rem;
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.94);
    font-size: 1.12rem;
    line-height: 1.75rem;
}

.talento-company-auth-note {
    margin-top: 1.75rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.72);
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    line-height: 1.85rem;
    color: #5e748a;
}

.talento-company-auth-support {
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.74);
    padding: 1.5rem 1.75rem;
    font-size: 1rem;
    line-height: 1.9rem;
}

.talento-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8125rem;
    line-height: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.talento-status-badge--slate {
    background: rgba(226, 232, 240, 0.86);
    color: #334155;
}

.talento-status-badge--amber {
    background: rgba(255, 237, 213, 0.92);
    color: #b45309;
}

.talento-status-badge--blue {
    background: rgba(219, 234, 254, 0.92);
    color: #1d4ed8;
}

.talento-status-badge--indigo {
    background: rgba(224, 231, 255, 0.92);
    color: #4338ca;
}

.talento-status-badge--green {
    background: rgba(220, 252, 231, 0.92);
    color: #15803d;
}

@media (min-width: 1024px) {
    .talento-company-auth-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
        align-items: start;
    }

    .talento-company-auth-panel {
        padding: 2rem;
    }
}

.talento-status-badge--rose {
    background: rgba(255, 228, 230, 0.96);
    color: #be123c;
}

.talento-form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    padding-top: 1.5rem;
}

.talento-form-action-button {
    min-width: 10rem;
    min-height: 4rem;
    justify-content: center;
    font-size: 1.08rem;
}

.talento-form-action-button--ghost {
    border: 1px solid rgba(235, 98, 9, 0.24) !important;
    background: rgba(235, 98, 9, 0.12) !important;
    color: #ac4506 !important;
    font-weight: 700;
    box-shadow: 0 12px 26px -22px rgba(235, 98, 9, 0.45);
}

.talento-form-action-button--ghost:hover {
    border-color: rgba(235, 98, 9, 0.34) !important;
    background: rgba(235, 98, 9, 0.18) !important;
    color: #943b04 !important;
}

.talento-form-action-button--ghost:focus {
    box-shadow: 0 0 0 4px rgba(235, 98, 9, 0.14) !important;
}

.talento-actor-button--applicant {
    background: #003d72 !important;
    color: #fff !important;
    border-color: #003d72 !important;
    box-shadow: 0 14px 30px -24px rgba(0, 61, 114, 0.55);
}

.talento-actor-button--applicant:hover {
    background: #002f57 !important;
    border-color: #002f57 !important;
}

.talento-actor-button--company {
    background: #eb6209 !important;
    color: #fff !important;
    border-color: #eb6209 !important;
    box-shadow: 0 14px 30px -24px rgba(235, 98, 9, 0.5);
}

.talento-actor-button--company:hover {
    background: #cf5406 !important;
    border-color: #cf5406 !important;
}

.talento-actor-button-outline--company {
    border-color: rgba(235, 98, 9, 0.24) !important;
    color: #ac4506 !important;
}

.talento-actor-panel--applicant {
    border: 1px solid rgba(0, 61, 114, 0.12);
    background: linear-gradient(180deg, rgba(0, 61, 114, 0.05), rgba(255, 255, 255, 0.94));
}

.talento-actor-panel--company {
    border: 1px solid rgba(235, 98, 9, 0.14);
    background: linear-gradient(180deg, rgba(235, 98, 9, 0.08), rgba(255, 255, 255, 0.94));
}

.talento-actor-form--applicant .talento-progress-bar,
.talento-actor-form--applicant .talento-step-bullet {
    background: #003d72 !important;
}

.talento-actor-form--applicant .talento-wizard-step--active {
    border-color: rgba(0, 61, 114, 0.22);
    background: rgba(240, 247, 255, 0.82);
}

.talento-actor-form--applicant .talento-form-action-button:not(.talento-form-action-button--ghost) {
    background: #003d72 !important;
    box-shadow: 0 14px 30px -24px rgba(0, 61, 114, 0.55);
}

.talento-actor-form--applicant .talento-form-action-button:not(.talento-form-action-button--ghost):hover {
    background: #002f57 !important;
}

.talento-actor-form--company .talento-progress-bar,
.talento-actor-form--company .talento-step-bullet {
    background: #eb6209 !important;
}

.talento-actor-form--company .talento-progress {
    background: rgba(235, 98, 9, 0.14) !important;
}

.talento-actor-form--company .talento-wizard-step--active {
    border-color: rgba(235, 98, 9, 0.24);
    background: rgba(255, 247, 237, 0.82);
}

.talento-actor-form--company .talento-form-action-button:not(.talento-form-action-button--ghost) {
    background: #eb6209 !important;
    box-shadow: 0 14px 30px -24px rgba(235, 98, 9, 0.5);
}

.talento-actor-form--company .talento-form-action-button:not(.talento-form-action-button--ghost):hover {
    background: #cf5406 !important;
}

.talento-actor-complete-card {
    border-radius: 2rem;
    padding: 2rem;
}

.talento-actor-complete-card--applicant {
    border: 1px solid rgba(0, 61, 114, 0.12);
    background: rgba(240, 247, 255, 0.7);
}

.talento-actor-complete-card--company {
    border: 1px solid rgba(235, 98, 9, 0.14);
    background: rgba(255, 247, 237, 0.72);
}

.talento-actor-surface--applicant .talento-button {
    min-height: 4rem;
    font-size: 1.08rem;
    background: #003d72 !important;
    border-color: #003d72 !important;
}

.talento-actor-surface--applicant .talento-button:hover {
    background: #002f57 !important;
    border-color: #002f57 !important;
}

.talento-actor-surface--company .talento-button {
    min-height: 4rem;
    font-size: 1.08rem;
    background: #eb6209 !important;
    border-color: #eb6209 !important;
}

.talento-actor-surface--company .talento-button:hover {
    background: #cf5406 !important;
    border-color: #cf5406 !important;
}

.talento-actor-surface--company .talento-button-secondary {
    border-color: rgba(235, 98, 9, 0.24) !important;
    color: #ac4506 !important;
}

.talento-actor-surface--company .talento-button-secondary:hover {
    border-color: rgba(235, 98, 9, 0.38) !important;
    color: #943b04 !important;
    background: rgba(235, 98, 9, 0.05) !important;
}

.talento-support-grid {
    display: grid;
    gap: 1rem;
}

.talento-support-card {
    height: 100%;
}

.talento-form-helper-card {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.talento-wizard-steps-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.talento-wizard-step {
    display: flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(148, 163, 184, 0.45);
    border-radius: 9999px;
    background: rgba(248, 250, 252, 0.7);
    padding: 0.5rem;
    text-align: center;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.talento-wizard-step--active {
    border-color: rgba(235, 98, 9, 0.22);
    background: rgba(255, 247, 237, 0.72);
}

.talento-wizard-step-bullet {
    display: flex;
    height: 1.9rem;
    width: 1.9rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 700;
}

.talento-wizard-step-detail {
    border-radius: 1.25rem;
    background: rgba(248, 250, 252, 0.58);
    padding: 0.875rem 1rem;
}

@media (max-width: 767px) {
    .talento-label {
        font-size: 1.05rem !important;
        line-height: 1.6rem !important;
    }

    .talento-input,
    .talento-select,
    .talento-textarea {
        font-size: 1.08rem !important;
        line-height: 1.75rem !important;
        padding: 1rem 1.1rem !important;
    }

    .talento-input::placeholder,
    .talento-select::placeholder,
    .talento-textarea::placeholder {
        font-size: 1.03rem !important;
        line-height: 1.75rem !important;
    }

    .talento-wizard-steps-row {
        gap: 0.5rem;
    }

    .talento-wizard-step {
        min-height: 2.75rem;
        padding: 0.35rem;
    }

    .talento-step-bullet,
    .talento-wizard-step-bullet {
        height: 1.75rem;
        width: 1.75rem;
        font-size: 0.75rem;
    }

    .talento-wizard-step-detail {
        border-radius: 1rem;
        padding: 0.75rem 0.875rem;
    }

    .talento-label-wrap {
        align-items: flex-start;
        gap: 0.375rem;
    }

    .talento-step-form-copy {
        margin-bottom: 0;
    }

    .talento-step-form-grid {
        gap: 0.875rem;
    }

    .talento-step-section {
        gap: 0.875rem;
    }

    .talento-form-subsection {
        gap: 0.875rem;
        border-radius: 1.125rem;
        padding: 0.875rem;
    }

    .talento-form-subsection__title {
        font-size: 1rem;
    }

    .talento-form-subsection__copy {
        font-size: 0.9rem;
        line-height: 1.5rem;
    }

    .talento-option-grid {
        gap: 0.625rem;
    }

    .talento-option-card {
        border-radius: 0.875rem;
        padding: 0.75rem 0.875rem;
    }

    .talento-skill-groups {
        gap: 0.875rem;
    }

    .talento-skill-group {
        border-radius: 1rem;
        padding: 0.875rem;
    }

    .talento-summary-card {
        border-radius: 1.25rem;
        padding: 1rem;
    }

    .talento-summary-grid {
        gap: 0.625rem;
    }

    .talento-summary-sections {
        gap: 0.875rem;
    }

    .talento-summary-section {
        gap: 0.75rem;
    }

    .talento-summary-section__title {
        font-size: 0.95rem;
    }

    .talento-summary-item {
        border-radius: 0.875rem;
        padding: 0.75rem 0.875rem;
    }

    .talento-consent-card {
        border-radius: 1rem;
        padding: 0.875rem;
        line-height: 1.625rem;
    }

    .talento-policy-dialog {
        width: calc(100vw - 1rem);
        max-height: 84vh;
        border-radius: 1rem;
    }

    .talento-policy-dialog__content {
        gap: 0.875rem;
        padding: 0.875rem;
    }

    .talento-policy-dialog__header {
        flex-direction: column;
    }

    .talento-policy-dialog__body {
        border-radius: 0.875rem;
        padding: 0.875rem;
        font-size: 0.875rem;
        line-height: 1.625rem;
    }

    .talento-form-actions {
        align-items: stretch;
        gap: 0.625rem;
        padding-top: 1.25rem;
    }

    .talento-form-actions > div {
        width: 100%;
    }

    .talento-form-actions > div:last-child {
        display: flex;
        justify-content: stretch;
    }

    .talento-form-action-button {
        min-width: 0;
        width: 100%;
        min-height: 4.15rem;
        font-size: 1.1rem;
    }

    .talento-form-action-button--ghost {
        width: 100%;
        justify-content: center;
        min-height: 4rem;
    }

    .talento-support-grid {
        gap: 0.875rem;
    }

    .talento-form-helper-card {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .talento-wizard-step-detail {
        border-radius: 1.25rem;
        padding: 1rem;
    }
}

@media (min-width: 768px) {
    .talento-step-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .talento-step-form-span-2 {
        grid-column: span 2;
    }

    .talento-option-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .talento-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .talento-summary-item--wide {
        grid-column: span 2;
    }

    .talento-support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
