.tf-candidatura { --tf-accent: #b7222b; --tf-ink: #25313c; box-sizing: border-box; width: 100%; max-width: 1040px; margin: 32px auto; color: var(--tf-ink); font-family: inherit; text-align: left; scroll-margin-top: 120px; }
.tf-candidatura *, .tf-candidatura *::before, .tf-candidatura *::after { box-sizing: border-box; }
.tf-candidatura details { border: 1px solid #d9dee3; border-radius: 12px; background: #fff; overflow: hidden; }
.tf-candidatura summary { cursor: pointer; padding: 22px 26px; font-size: 20px; font-weight: 700; background: #f5f6f8; color: var(--tf-ink); list-style-position: inside; }
.tf-candidatura summary:focus-visible { outline: 3px solid #2675ac; outline-offset: 3px; }
.tf-summary-hint { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; line-height: 1.5; }
.tf-form-body { padding: 28px; }
.tf-candidatura h2 { margin: 0 0 12px; font-size: 26px; color: var(--tf-ink); }
.tf-candidatura p { line-height: 1.6; }
.tf-candidatura fieldset { min-width: 0; margin: 26px 0; border: 0; padding: 0; }
.tf-candidatura legend { float: none; width: 100%; border-bottom: 1px solid #e2e5e8; padding: 0 0 10px; margin-bottom: 18px; font-size: 18px; font-weight: 700; color: var(--tf-ink); }
.tf-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.tf-field-wide { grid-column: 1 / -1; }
.tf-candidatura label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--tf-ink); }
.tf-candidatura input:not([type="checkbox"]), .tf-candidatura select, .tf-candidatura textarea { display: block; width: 100%; max-width: 100%; height: auto; min-height: 46px; margin: 0; padding: 11px 12px; border: 1px solid #b9c2ca; border-radius: 6px; background: #fff; color: #25313c; font: inherit; font-size: 16px; line-height: 1.5; box-shadow: none; }
.tf-candidatura textarea { resize: vertical; min-height: 120px; }
.tf-candidatura input:focus, .tf-candidatura select:focus, .tf-candidatura textarea:focus { outline: 2px solid #2675ac; outline-offset: 2px; }
.tf-candidatura .tf-help { font-size: 13px; margin: 8px 0 20px; color: #52616d; }
.tf-candidatura .tf-consent { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; margin-top: 18px; }
.tf-candidatura .tf-consent input { appearance: auto; -webkit-appearance: checkbox; flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; }
.tf-candidatura .tf-primary-button { display: inline-block; border: 0; border-radius: 6px; padding: 13px 22px; background: #b7222b; color: #fff; font: inherit; font-size: 15px; font-weight: 700; line-height: 1.4; cursor: pointer; text-transform: none; }
.tf-candidatura .tf-primary-button:hover { background: #931923; color: #fff; }
.tf-candidatura .tf-primary-button:disabled { opacity: .65; cursor: wait; }
.tf-candidatura .tf-form-message { border-radius: 6px; padding: 14px 16px; margin-bottom: 18px; line-height: 1.5; }
.tf-message-error { background: #fff0f0; border: 1px solid #cd8e8e; color: #811e27; }
.tf-message-success { background: #eef8f2; border: 1px solid #93c9a6; color: #215538; }
.tf-candidatura[hidden], .tf-candidatura [hidden], .tf-resume-form[hidden], .tf-original-heading[hidden] { display: none !important; }
.tf-candidatura .tf-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.tf-application-choice { box-sizing: border-box; width: 100%; max-width: 1040px; margin: 0 auto 26px; font-family: 'Poppins', Arial, sans-serif !important; color: #25313c; text-align: left; }
.tf-application-choice *, .tf-application-choice *::before, .tf-application-choice *::after { box-sizing: border-box; }
.tf-application-choice h2, .tf-application-choice h3, .tf-application-choice p, .tf-application-choice strong, .tf-application-choice button { font-family: 'Poppins', Arial, sans-serif !important; }
.tf-application-choice .tf-choice-heading { margin: 0 0 16px; padding: 0; font-size: 20px !important; line-height: 1.35 !important; font-weight: 700 !important; color: #25313c; }
.tf-choice-card { padding: 24px; border-radius: 12px; background: linear-gradient(125deg, #bb202d, #981824); color: #fff; box-shadow: 0 8px 20px rgba(146, 23, 35, .14); }
.tf-choice-card .tf-choice-badge { display: inline-block; margin: 0 0 13px; padding: 5px 9px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 5px; font-size: 10px; line-height: 1.3; font-weight: 700; letter-spacing: .7px; color: #fff; }
.tf-application-choice .tf-choice-card h3 { margin: 0 0 10px; padding: 0; font-size: 23px !important; line-height: 1.3 !important; font-weight: 700 !important; color: #fff; }
.tf-application-choice .tf-choice-card p { margin: 0 0 20px; padding: 0; font-size: 14px; line-height: 1.65; color: #fff; }
.tf-application-choice .tf-choice-card strong { color: #fff; font-weight: 700; }
.tf-application-choice .tf-choice-primary { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 13px 16px; border: 1px solid #fff; border-radius: 7px; background: #fff; color: #9d1b27; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.4; text-align: left; text-transform: none; cursor: pointer; box-shadow: none; }
.tf-application-choice .tf-choice-primary:hover { background: #fff2f3; color: #7e1520; }
.tf-application-choice .tf-choice-primary span { font-size: 23px; line-height: 1; }
.tf-choice-secondary { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 17px 0; border-bottom: 1px solid #e0e4e8; }
.tf-application-choice .tf-choice-secondary h3 { margin: 0 0 5px; padding: 0; font-size: 15px !important; line-height: 1.4 !important; font-weight: 700 !important; color: #25313c; }
.tf-application-choice .tf-choice-secondary p { margin: 0; padding: 0; font-size: 12px; line-height: 1.5; color: #52616d; }
.tf-application-choice .tf-choice-resume { flex: 0 0 auto; margin: 0; padding: 10px 13px; border: 1px solid #b9c2ca; border-radius: 7px; background: #fff; color: #25313c; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.4; cursor: pointer; text-transform: none; box-shadow: none; }
.tf-application-choice .tf-choice-resume:hover { border-color: #25313c; background: #f5f6f8; color: #25313c; }
.tf-application-choice button:focus-visible { outline: 3px solid #2675ac; outline-offset: 3px; }
h3.tf-original-heading { margin: 0 0 18px; font-family: 'Poppins', Arial, sans-serif !important; font-size: 17px !important; line-height: 1.4 !important; font-weight: 700 !important; color: #25313c; scroll-margin-top: 140px; }
@media (max-width: 600px) {
    .tf-field-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .tf-form-body { padding: 20px 16px; }
    .tf-candidatura summary { padding: 18px 16px; }
    .tf-candidatura h2 { font-size: 23px; }
    .tf-candidatura .tf-primary-button { width: 100%; }
    .tf-choice-card { padding: 20px; }
    .tf-application-choice .tf-choice-card h3 { font-size: 21px !important; }
    .tf-choice-secondary { flex-direction: column; align-items: stretch; gap: 12px; }
    .tf-application-choice .tf-choice-resume { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .tf-candidatura, .tf-original-heading { scroll-behavior: auto; } }
