/**
 * BridgeWorks — Hiring Event (area Strumenti aziende)
 */

.co-he {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Hero */
.co-he-hero {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 55%, #faf5ff 100%);
    overflow: hidden;
}

.co-he-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 24px;
    align-items: center;
    padding: 28px 32px;
}

.co-he-hero__title {
    margin: 0 0 12px;
    font-size: clamp(1.25rem, 2.2vw, 1.625rem);
    font-weight: 800;
    line-height: 1.3;
    color: var(--co-pd2-ink, #0f172a);
}

.co-he-hero__title em {
    font-style: normal;
    color: #4f46e5;
}

.co-he-hero__lead {
    margin: 0 0 16px;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--co-pd2-ink-soft, #334155);
    max-width: 52ch;
}

.co-he-hero__bullets {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.co-he-hero__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--co-pd2-ink-soft, #334155);
}

.co-he-hero__bullets svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #4f46e5;
}

.co-he-hero__illus svg {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin-left: auto;
    display: block;
}

/* Lista eventi */
.co-he__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.co-he__title {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--co-pd2-ink, #0f172a);
}

.co-he__lead {
    margin: 6px 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--co-pd2-ink-muted, #64748b);
    max-width: 56ch;
}

.co-he__notice {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(245, 158, 11, 0.35);
    background: #fffbeb;
    font-size: 0.875rem;
    color: #92400e;
}

.co-he__table-wrap {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.co-he__table {
    width: 100%;
    border-collapse: collapse;
}

.co-he__table thead th {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
    text-align: left;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he__table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 0.875rem;
    color: var(--co-pd2-ink-soft, #334155);
}

.co-he__empty-row td {
    padding: 0;
    border: none;
}

.co-he__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 200px;
    padding: 32px 20px;
    text-align: center;
}

.co-he__empty-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--co-pd2-ink, #0f172a);
}

.co-he__empty-desc {
    margin: 0;
    max-width: 28rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he__status {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.co-he__status--scheduled {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

.co-he__status--draft {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

.co-he__status--live {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.co-he__status--completed {
    background: rgba(79, 70, 229, 0.12);
    color: #4338ca;
}

.co-he__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.co-he__delete-form {
    margin: 0;
}

.co-he__btn-delete {
    color: #b91c1c;
    border-color: #fecaca;
}

.co-he__btn-delete:hover {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fca5a5;
}

/* Prep dialog */
.co-he-prep {
    width: min(calc(100vw - 32px), 560px);
    max-width: 560px;
    max-height: min(90vh, 720px);
    margin: auto;
    padding: 0;
    border: none;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
    overflow: hidden;
}

.co-he-prep::backdrop {
    background: rgba(15, 23, 42, 0.45);
}

.co-he-prep__inner {
    position: relative;
    max-height: min(90vh, 720px);
    padding: 28px 28px 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

.co-he-prep__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--co-pd2-ink-muted, #64748b);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.co-he-prep__illus {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.co-he-prep__illus svg {
    width: 100px;
    height: auto;
}

.co-he-prep__title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    color: var(--co-pd2-ink, #0f172a);
}

.co-he-prep__intro {
    margin: 0 0 20px;
    font-size: 0.875rem;
    line-height: 1.55;
    text-align: center;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-prep__list {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    counter-reset: prep;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.co-he-prep__list li {
    counter-increment: prep;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--co-pd2-ink-soft, #334155);
}

.co-he-prep__list li::before {
    content: counter(prep);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.75rem;
}

.co-he-prep__item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.co-he-prep__list strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.875rem;
    color: var(--co-pd2-ink, #0f172a);
}

.co-he-prep__item-body span {
    display: block;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-prep__feedback {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.8125rem;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-prep__feedback-btns {
    display: flex;
    gap: 8px;
}

.co-he-prep__pill {
    padding: 6px 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.co-he-prep__pill.is-selected {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

.co-he-prep__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.co-he-prep__skip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--co-pd2-ink-muted, #64748b);
    cursor: pointer;
}

/* Wizard */
.co-he-wiz {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.co-he-wiz__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
}

.co-he-wiz__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.co-he-wiz__subtitle {
    margin: 4px 0 0;
    font-size: 0.875rem;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-wiz__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--co-pd2-ink-muted, #64748b);
    text-decoration: none;
    font-size: 1.5rem;
    line-height: 1;
}

.co-he-wiz__form {
    display: flex;
    flex-direction: column;
}

.co-he-wiz__progress {
    height: 4px;
    background: #e2e8f0;
}

.co-he-wiz__progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #4f46e5, #2563eb);
    transition: width 0.25s ease;
}

.co-he-wiz__stepper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 16px 24px;
    list-style: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.co-he-wiz__step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--co-pd2-ink-muted, #64748b);
    background: #f1f5f9;
}

.co-he-wiz__step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #cbd5e1;
    color: #fff;
    font-size: 0.6875rem;
}

.co-he-wiz__step.is-active,
.co-he-wiz__step.is-done {
    color: #1d4ed8;
    background: #eff6ff;
}

.co-he-wiz__step.is-active span,
.co-he-wiz__step.is-done span {
    background: #2563eb;
}

.co-he-wiz__panels {
    padding: 24px;
    min-height: 320px;
}

.co-he-wiz__panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.co-he-wiz__panel[hidden],
.co-he-wiz__detail[hidden],
#co-he-format-block[hidden] {
    display: none !important;
}

.co-he-wiz__card {
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: #fff;
}

.co-he-wiz__label {
    display: block;
    margin: 0 0 6px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--co-pd2-ink, #0f172a);
}

.co-he-wiz__req {
    color: #dc2626;
}

.co-he-wiz__hint {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-wiz__lead {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--co-pd2-ink, #0f172a);
}

.co-he-wiz__input {
    width: 100%;
    max-width: 280px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    font: inherit;
}

.co-he-wiz__input--wide {
    max-width: 100%;
}

.co-he-wiz__card--link {
    margin-top: 4px;
}

.co-he-wiz__hint--inline {
    margin-top: 6px;
    margin-bottom: 0;
}

.co-he-wiz__check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.875rem;
    cursor: pointer;
}

.co-he-wiz__radios {
    display: flex;
    gap: 16px;
}

.co-he-wiz__radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    cursor: pointer;
}

.co-he-wiz__type-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.co-he-wiz__type {
    display: block;
    cursor: pointer;
}

.co-he-wiz__type input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.co-he-wiz__type-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 16px;
    border: 2px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.co-he-wiz__type:hover .co-he-wiz__type-card {
    border-color: rgba(37, 99, 235, 0.35);
}

.co-he-wiz__type input:checked + .co-he-wiz__type-card {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.co-he-wiz__type-icon svg {
    width: 48px;
    height: 48px;
    margin-bottom: 4px;
}

.co-he-wiz__type-card strong {
    font-size: 0.9375rem;
    color: var(--co-pd2-ink, #0f172a);
}

.co-he-wiz__type-card small {
    font-size: 0.75rem;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-wiz__type-desc {
    margin-top: 6px;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-wiz__jobs {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.co-he-wiz__job {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px;
    cursor: pointer;
}

.co-he-wiz__job:has(input:checked) {
    border-color: #2563eb;
    background: #eff6ff;
}

.co-he-wiz__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 480px;
}

.co-he-wiz__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.co-he-wiz__field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--co-pd2-ink-soft, #334155);
}

.co-he-wiz__field input,
.co-he-wiz__field textarea {
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    font: inherit;
}

.co-he-wiz__field--question {
    max-width: 520px;
}

.co-he-wiz__interviewers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 560px;
}

.co-he-wiz__interviewer {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px;
    background: #f8fafc;
}

.co-he-wiz__remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #94a3b8;
    font-size: 1.25rem;
    cursor: pointer;
}

.co-he-wiz__add-btn {
    align-self: flex-start;
    padding: 8px 14px;
    border: 1px dashed rgba(37, 99, 235, 0.45);
    border-radius: 8px;
    background: transparent;
    color: #2563eb;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}

.co-he-wiz__summary {
    margin: 12px 0 0;
    padding: 16px;
    border-radius: 10px;
    background: #f8fafc;
    display: grid;
    gap: 10px;
}

.co-he-wiz__summary dt {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-wiz__summary dd {
    margin: 0 0 8px;
    font-size: 0.875rem;
    color: var(--co-pd2-ink-soft, #334155);
}

.co-he-wiz__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
}

.co-he-wiz__nav {
    display: flex;
    gap: 10px;
}

.co-he-wiz__hidden {
    display: none !important;
}

.co-he-wiz__field--error input,
.co-he-wiz__field--error .co-he-wiz__input {
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12);
}

.co-he-wiz__type-grid--error .co-he-wiz__type-card {
    border-color: #fca5a5;
}

.co-he-wiz__error-msg {
    color: #b45309;
    font-size: 0.875rem;
}

@media (max-width: 900px) {
    .co-he-hero__inner {
        grid-template-columns: 1fr;
    }

    .co-he-wiz__type-grid {
        grid-template-columns: 1fr;
    }

    .co-he-wiz__interviewer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .co-he-wiz__row {
        grid-template-columns: 1fr;
    }

    .co-he__table thead {
        display: none;
    }

    .co-he__table tbody tr:not(.co-he__empty-row) {
        display: grid;
        gap: 4px;
        padding: 14px 16px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }

    .co-he__table tbody tr:not(.co-he__empty-row) td {
        padding: 0;
        border: none;
    }

    .co-he-manage__grid {
        grid-template-columns: 1fr;
    }

    .co-he-manage__head {
        flex-direction: column;
    }

    .co-he-manage__copy {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ——— Gestione evento ——— */

.co-he-manage-page .co-he-manage {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.co-he-manage__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.co-he-manage__backlinks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0 0 8px;
}

.co-he-manage__back {
    display: inline-block;
    margin-bottom: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--co-pd2-ink-muted, #64748b);
    text-decoration: none;
}

.co-he-manage__back:hover {
    color: var(--co-pd2-ink, #0f172a);
}

.co-he-manage__title {
    margin: 0 8px 0 0;
    display: inline;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--co-pd2-ink, #0f172a);
}

.co-he-manage__head-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.co-he-manage__status-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.co-he-manage__status-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-manage__select {
    padding: 8px 10px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    font: inherit;
    font-size: 0.875rem;
}

.co-he-manage__select--sm {
    padding: 6px 8px;
    font-size: 0.8125rem;
}

.co-he-manage__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.co-he-manage__stat {
    padding: 16px 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: #fff;
}

.co-he-manage__stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--co-pd2-ink, #0f172a);
}

.co-he-manage__stat span {
    font-size: 0.8125rem;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-manage__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.co-he-manage__card {
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: #fff;
}

.co-he-manage__card--wide {
    grid-column: 1 / -1;
}

.co-he-manage__card-title {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--co-pd2-ink, #0f172a);
}

.co-he-manage__link-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.co-he-manage__link-row:last-child {
    margin-bottom: 0;
}

.co-he-manage__copy {
    display: flex;
    gap: 8px;
    align-items: center;
}

.co-he-manage__input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    font: inherit;
    font-size: 0.875rem;
    background: #f8fafc;
}

.co-he-manage__hint,
.co-he-manage__label {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-manage__ext-link {
    color: #2563eb;
    word-break: break-all;
}

.co-he-manage__dl {
    margin: 0;
    display: grid;
    gap: 10px;
}

.co-he-manage__dl dt {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-manage__dl dd {
    margin: 0 0 4px;
    font-size: 0.875rem;
    color: var(--co-pd2-ink-soft, #334155);
}

.co-he-manage__people,
.co-he-manage__jobs {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.co-he-manage__people li,
.co-he-manage__jobs li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8fafc;
}

.co-he-manage__people span,
.co-he-manage__meta {
    font-size: 0.8125rem;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-manage__questions {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--co-pd2-ink-soft, #334155);
}

.co-he-manage__empty {
    margin: 0;
    font-size: 0.875rem;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-manage__empty--table {
    padding: 20px;
    text-align: center;
}

.co-he-manage__section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.co-he-manage__section-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.co-he-manage__section-lead {
    margin: 4px 0 0;
    font-size: 0.875rem;
    color: var(--co-pd2-ink-muted, #64748b);
}

.co-he-manage__reg-status {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
}

.co-he-manage__reg-status--confirmed {
    background: #dbeafe;
    color: #1d4ed8;
}

.co-he-manage__reg-status--attended {
    background: #d1fae5;
    color: #15803d;
}

.co-he-manage__reg-status--cancelled,
.co-he-manage__reg-status--no_show {
    background: #fee2e2;
    color: #b91c1c;
}

.co-he-manage__inline-form {
    margin: 0;
}

.cd-btn--sm {
    padding: 6px 12px;
    font-size: 0.8125rem;
}

@media (max-width: 900px) {
    .co-he-manage__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ——— Pagina pubblica iscrizione ——— */

.co-he-public-page {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #0f172a;
}

.co-he-public {
    width: min(100% - 32px, 520px);
    margin: 0 auto;
    padding: 32px 0 48px;
}

.co-he-public__head {
    margin-bottom: 24px;
    text-align: center;
}

.co-he-public__brand {
    margin: 0 0 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4f46e5;
}

.co-he-public__company {
    margin: 0 0 4px;
    font-size: 0.875rem;
    color: #64748b;
}

.co-he-public__title {
    margin: 0 0 8px;
    font-size: 1.75rem;
    font-weight: 800;
}

.co-he-public__dates,
.co-he-manage__links-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px dashed rgba(15, 23, 42, 0.1);
}

.co-he-manage__field {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--co-pd2-ink-soft, #334155);
}

.co-he-public__access {
    margin: 8px 0 0;
    font-size: 0.875rem;
    color: #475569;
}

.co-he-public__access a {
    color: #2563eb;
    font-weight: 600;
}

.co-he-public__alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.875rem;
}

.co-he-public__alert--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.co-he-public__alert--success {
    background: #ecfdf5;
    color: #15803d;
    border: 1px solid #a7f3d0;
}

.co-he-public__alert--info {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.co-he-public__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.co-he-public__form h2 {
    margin: 0;
    font-size: 1.125rem;
}

.co-he-public__lead {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
}

.co-he-public__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}

.co-he-public__field input,
.co-he-public__field select {
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    font: inherit;
    font-weight: 400;
}

.co-he-public__submit {
    margin-top: 8px;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    background: #363d4b;
    color: #fff;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
}

.co-he-public__submit:hover {
    background: #2a3140;
}

.co-he-public__foot {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8125rem;
}

.co-he-public__foot a {
    color: #2563eb;
}

/* ——— Landing pubblica Hiring Event ——— */

.he-landing-page {
    margin: 0;
    min-height: 100vh;
    background: var(--bw-surface, #f8fafc);
    font-family: var(--bw-font-sans, 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);
    color: var(--bw-ink, #292524);
    -webkit-font-smoothing: antialiased;
}

.he-landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: clip;
}

.he-landing__hero {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(920px 400px at 92% -6%, rgba(106, 171, 138, 0.24), transparent 58%),
        radial-gradient(680px 300px at 0% 100%, rgba(42, 92, 71, 0.1), transparent 55%),
        linear-gradient(165deg, var(--bw-surface-alt, #eef0f3) 0%, var(--bw-white, #fff) 52%, var(--bw-accent-muted, #ecf5ef) 100%);
    border-bottom: 1px solid var(--bw-line, rgba(42, 92, 71, 0.12));
}

.he-landing__hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.he-landing__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: he-orb-float 14s ease-in-out infinite;
}

.he-landing__orb--1 {
    width: 320px;
    height: 320px;
    top: -80px;
    right: 8%;
    background: rgba(106, 171, 138, 0.45);
}

.he-landing__orb--2 {
    width: 240px;
    height: 240px;
    bottom: -40px;
    left: 5%;
    background: rgba(61, 114, 96, 0.35);
    animation-delay: -4s;
}

.he-landing__orb--3 {
    width: 180px;
    height: 180px;
    top: 40%;
    left: 45%;
    background: rgba(42, 92, 71, 0.2);
    animation-delay: -8s;
    opacity: 0.35;
}

@keyframes he-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(12px, -18px) scale(1.05); }
    66% { transform: translate(-10px, 10px) scale(0.96); }
}

.he-landing__hero--error {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    background: var(--bw-gradient-hero, linear-gradient(180deg, #eef0f3 0%, #f8fafc 100%));
}

.he-landing__hero--error .he-landing__hero-title {
    color: var(--bw-ink, #292524);
}

.he-landing__hero--error .he-landing__hero-lead {
    color: var(--bw-ink-soft, #57534e);
}

.he-landing__hero-inner {
    position: relative;
    z-index: 1;
    width: min(100% - 32px, 1120px);
    margin: 0 auto;
    padding: clamp(36px, 6vw, 56px) 0 clamp(32px, 5vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(24px, 4vw, 40px);
    align-items: center;
}

.he-landing__badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.he-landing__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bw-accent-muted, #ecf5ef);
    border: 1px solid var(--bw-line, rgba(42, 92, 71, 0.12));
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bw-verde-m, #3d7260);
}

.he-landing__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bw-verde-l, #6aab8a);
    box-shadow: 0 0 0 0 rgba(106, 171, 138, 0.55);
    animation: he-live-pulse 2s ease-out infinite;
}

.he-landing__live-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bw-verde, #2a5c47);
}

@keyframes he-live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(106, 171, 138, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(106, 171, 138, 0); }
    100% { box-shadow: 0 0 0 0 rgba(106, 171, 138, 0); }
}

.he-landing__eyebrow {
    margin: 0 0 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bw-verde-m, #3d7260);
}

.he-landing__hero-title {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--bw-ink, #292524);
    font-family: var(--bw-font-display, 'Plus Jakarta Sans', 'DM Sans', sans-serif);
}

.he-landing__hero-title em {
    font-style: normal;
    background: var(--bw-gradient-brand, linear-gradient(135deg, #2a5c47, #3d7260));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.he-landing__hero-lead {
    margin: 0 0 24px;
    max-width: 54ch;
    font-size: clamp(0.95rem, 1.5vw, 1.0625rem);
    line-height: 1.65;
    color: var(--bw-ink-soft, #57534e);
}

.he-landing__hero-lead strong {
    color: var(--bw-verde, #2a5c47);
    font-weight: 700;
}

.he-landing__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.he-landing__stat {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 2px 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--bw-white, #fff);
    border: 1px solid var(--bw-line, rgba(42, 92, 71, 0.12));
    box-shadow: var(--bw-shadow-soft, 0 4px 20px rgba(26, 26, 24, 0.06));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.he-landing__stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--bw-shadow-card-hover, 0 8px 28px rgba(42, 92, 71, 0.1));
}

.he-landing__stat-icon {
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--bw-accent-muted, #ecf5ef);
    color: var(--bw-verde-m, #3d7260);
}

.he-landing__stat-icon svg {
    width: 18px;
    height: 18px;
}

.he-landing__stat-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--bw-ink-muted, #78716c);
}

.he-landing__stat-value {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--bw-ink, #292524);
}

.he-landing__hero-card {
    position: relative;
    perspective: 800px;
}

.he-landing__hero-card__glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(106, 171, 138, 0.28), transparent 65%);
    filter: blur(24px);
    animation: he-card-glow 6s ease-in-out infinite alternate;
}

@keyframes he-card-glow {
    from { opacity: 0.6; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1.05); }
}

.he-landing__hero-card__inner {
    position: relative;
    padding: 22px;
    border-radius: 22px;
    background: var(--bw-white, #fff);
    border: 1px solid var(--bw-line, rgba(42, 92, 71, 0.12));
    box-shadow: var(--bw-shadow-card, 0 4px 24px rgba(26, 26, 24, 0.06));
    transform: rotateY(-6deg) rotateX(4deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.he-landing__hero-card:hover .he-landing__hero-card__inner {
    transform: rotateY(0deg) rotateX(0deg);
    box-shadow: var(--bw-shadow-card-hover, 0 8px 28px rgba(42, 92, 71, 0.1));
}

.he-landing__hero-card__top {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.he-landing__hero-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--bw-gradient-brand, linear-gradient(135deg, #2a5c47, #3d7260));
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    overflow: hidden;
    flex-shrink: 0;
}

.he-landing__hero-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.he-landing__hero-card__eyebrow {
    margin: 0 0 2px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bw-verde-m, #3d7260);
}

.he-landing__hero-card__name {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--bw-ink, #292524);
    line-height: 1.3;
}

.he-landing__hero-card__slots {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.he-landing__hero-card__slots span {
    flex: 1;
    height: 8px;
    border-radius: 999px;
    background: var(--bw-surface-alt, #eef0f3);
}

.he-landing__hero-card__slots span.is-active {
    background: var(--bw-gradient-progress, linear-gradient(90deg, #3d7260, #6aab8a));
    box-shadow: 0 0 10px rgba(106, 171, 138, 0.45);
    animation: he-slot-pulse 2.4s ease-in-out infinite;
}

@keyframes he-slot-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}

.he-landing__hero-card__cta-preview {
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    background: var(--bw-gradient-brand, linear-gradient(135deg, #2a5c47, #3d7260));
    box-shadow: 0 8px 20px rgba(42, 92, 71, 0.22);
}

.he-landing__body {
    flex: 1;
    width: min(100% - 32px, 1120px);
    margin: 20px auto 0;
    padding: 0 0 48px;
    position: relative;
    z-index: 2;
}

.he-landing__reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.he-landing__reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.he-landing__reveal--delay.is-visible {
    transition-delay: 0.12s;
}

.he-landing__alert {
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.55;
}

.he-landing__alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    box-shadow: 0 8px 24px rgba(185, 28, 28, 0.08);
}

.he-landing__alert--success {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border: 1px solid #a7f3d0;
    color: #15803d;
    box-shadow: 0 8px 24px rgba(21, 128, 61, 0.1);
}

.he-landing__alert-action {
    margin: 14px 0 0;
}

.he-landing__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
    gap: 20px;
    align-items: start;
}

.he-landing__company {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid var(--bw-line, rgba(42, 92, 71, 0.12));
    background: var(--bw-white, #fff);
    box-shadow: var(--bw-shadow-card, 0 4px 24px rgba(26, 26, 24, 0.06));
    overflow: hidden;
}

.he-landing__company-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bw-gradient-progress, linear-gradient(90deg, #3d7260, #6aab8a));
}

.he-landing__company-head {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.he-landing__company-logo {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 18px;
    border: 2px solid var(--bw-accent-muted, #ecf5ef);
    background: linear-gradient(145deg, var(--bw-accent-muted, #ecf5ef), var(--bw-white, #fff));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--bw-verde, #2a5c47);
    box-shadow: 0 8px 20px rgba(42, 92, 71, 0.1);
}

.he-landing__company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.he-landing__company-eyebrow {
    margin: 0 0 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bw-verde-m, #3d7260);
}

.he-landing__company-name {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--bw-ink, #292524);
}

.he-landing__company-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    font-size: 0.8125rem;
    color: #64748b;
}

.he-landing__company-meta span:not(:last-child)::after {
    content: '·';
    margin-left: 8px;
    color: #cbd5e1;
}

.he-landing__company-desc {
    margin: 0 0 22px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #334155;
}

.he-landing__company-desc--muted {
    color: #64748b;
}

.he-landing__jobs {
    margin-bottom: 26px;
}

.he-landing__jobs-title {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #475569;
}

.he-landing__jobs-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.he-landing__jobs-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--bw-accent-muted, #ecf5ef);
    border: 1px solid var(--bw-line, rgba(42, 92, 71, 0.12));
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bw-verde, #2a5c47);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.he-landing__jobs-list li:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(42, 92, 71, 0.12);
}

.he-landing__jobs-list svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--bw-verde-m, #3d7260);
}

.he-landing__cta-wrap {
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.he-landing__cta-hint {
    margin: 12px 0 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #64748b;
}

.he-landing__closed {
    margin: 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    color: #92400e;
    font-size: 0.875rem;
}

.he-landing__company-link {
    margin: 18px 0 0;
    font-size: 0.875rem;
}

.he-landing__company-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--bw-verde-m, #3d7260);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s ease;
}

.he-landing__company-link a:hover {
    color: var(--bw-verde, #2a5c47);
}

.he-landing__company-link svg {
    width: 14px;
    height: 14px;
}

.he-landing__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 14px;
    border: none;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.he-landing__btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.he-landing__btn--primary {
    background: var(--bw-gradient-brand, linear-gradient(135deg, #2a5c47, #3d7260));
    color: #fff;
    box-shadow: 0 10px 28px rgba(42, 92, 71, 0.28);
}

.he-landing__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(42, 92, 71, 0.34);
}

.he-landing__btn--primary:hover svg {
    transform: translateX(3px);
}

.he-landing__btn--shine {
    position: relative;
    overflow: hidden;
}

.he-landing__btn--shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-18deg);
    animation: he-shine 4s ease-in-out infinite;
}

@keyframes he-shine {
    0%, 75%, 100% { left: -120%; }
    40% { left: 140%; }
}

.he-landing__btn--ghost {
    background: var(--bw-white, #fff);
    color: var(--bw-ink-soft, #57534e);
    border: 1px solid var(--bw-line-strong, rgba(42, 92, 71, 0.2));
}

.he-landing__btn--ghost:hover {
    background: var(--bw-accent-muted, #ecf5ef);
    color: var(--bw-verde, #2a5c47);
}

.he-landing__btn--lg {
    width: 100%;
    padding: 17px 24px;
    font-size: 1rem;
}

.he-landing__aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 20px;
}

.he-landing__aside-card {
    padding: 22px;
    border-radius: 20px;
    border: 1px solid var(--bw-line, rgba(42, 92, 71, 0.12));
    background: var(--bw-white, #fff);
    box-shadow: var(--bw-shadow-soft, 0 4px 20px rgba(26, 26, 24, 0.06));
}

.he-landing__aside-card--muted {
    background: linear-gradient(160deg, var(--bw-surface, #f8fafc), var(--bw-accent-muted, #ecf5ef));
}

.he-landing__aside-title {
    margin: 0 0 16px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--bw-ink, #292524);
}

.he-landing__steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.he-landing__steps li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 14px;
    background: var(--bw-surface, #f8fafc);
    border: 1px solid var(--bw-line, rgba(42, 92, 71, 0.12));
}

.he-landing__step-num {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bw-gradient-brand, linear-gradient(135deg, #2a5c47, #3d7260));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
}

.he-landing__step-text {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #475569;
    padding-top: 4px;
}

.he-landing__aside-url {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.5;
    word-break: break-all;
    color: #64748b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.he-landing__aside-note {
    margin: .5rem 0 0;
    font-size: 0.75rem;
    color: #94a3b8;
}

.he-landing__register {
    margin-top: 24px;
}

.he-landing__register[hidden] {
    display: none !important;
}

.he-landing__register.is-opening .he-landing__register-inner {
    animation: he-register-in 0.45s ease forwards;
}

@keyframes he-register-in {
    from { opacity: 0; transform: translateY(12px) scale(0.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.he-landing__register-inner {
    padding: 28px;
    border-radius: 24px;
    border: 1px solid var(--bw-line, rgba(42, 92, 71, 0.12));
    background: var(--bw-white, #fff);
    box-shadow: var(--bw-shadow-card, 0 4px 24px rgba(26, 26, 24, 0.06));
}

.he-landing__register-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.he-landing__register-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--bw-accent-muted, #ecf5ef);
    color: var(--bw-verde, #2a5c47);
}

.he-landing__register-icon svg {
    width: 24px;
    height: 24px;
}

.he-landing__register-title {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.he-landing__register-lead {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
}

.he-landing__form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.he-landing__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}

.he-landing__field--full {
    grid-column: 1 / -1;
    margin-bottom: 14px;
}

.he-landing__field input,
.he-landing__field select {
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font: inherit;
    font-weight: 400;
    background: #f8fafc;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.he-landing__field input:focus,
.he-landing__field select:focus {
    border-color: var(--bw-verde-m, #3d7260);
    background: #fff;
    box-shadow: 0 0 0 4px var(--bw-focus-ring, rgba(61, 114, 96, 0.22));
}

.he-landing__field input:focus:not(:focus-visible),
.he-landing__field select:focus:not(:focus-visible) {
    outline: none;
}

.he-landing__field input:focus-visible,
.he-landing__field select:focus-visible {
    outline: 2px solid var(--bw-verde-m, #3d7260);
    outline-offset: 2px;
}

.he-landing__foot {
    width: min(100% - 32px, 1120px);
    margin: 0 auto;
    padding: 24px 0 36px;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--bw-ink-muted, #78716c);
}

.he-landing__foot a {
    color: var(--bw-verde-m, #3d7260);
    font-weight: 600;
    text-decoration: none;
}

.he-landing__foot a:hover {
    color: var(--bw-verde, #2a5c47);
}

@media (max-width: 900px) {
    .he-landing__hero-inner,
    .he-landing__grid {
        grid-template-columns: 1fr;
    }

    .he-landing__hero-card {
        max-width: 360px;
        margin: 0 auto;
    }

    .he-landing__hero-card__inner {
        transform: none;
    }

    .he-landing__stats {
        grid-template-columns: 1fr;
    }

    .he-landing__aside {
        position: static;
    }

    .he-landing__form-grid {
        grid-template-columns: 1fr;
    }

    .he-landing__body {
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .he-landing__orb,
    .he-landing__live-dot,
    .he-landing__hero-card__slots span.is-active,
    .he-landing__btn--shine::after,
    .he-landing__hero-card__glow {
        animation: none;
    }

    .he-landing__reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .he-landing__btn--primary:hover {
        transform: none;
    }
}

/* ——— Elenco Eventi Hiring (area candidati) ——— */

body.candidate-hiring-events-page .bw-he-events-page {
    gap: 1rem;
}

.bw-he-events-page *,
.bw-he-events-page *::before,
.bw-he-events-page *::after {
    box-sizing: border-box;
}

.bw-he-events-hero,
.bw-he-event-card,
.bw-he-events-empty {
    background: var(--surface, #fff);
    border: 1px solid var(--line, #e7ecf2);
    border-radius: var(--radius-lg, 26px);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(15, 23, 42, .05));
}

.bw-he-events-hero {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: clamp(1.25rem, 2.4vw, 2rem);
    background:
        radial-gradient(520px 220px at 90% 0%, rgba(106, 171, 138, 0.18), transparent 65%),
        var(--surface, #fff);
}

.bw-he-events-kicker {
    margin: 0 0 .45rem;
    color: var(--bw-verde-m, #3d7260);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bw-he-events-hero h1,
.bw-he-events-empty h2,
.bw-he-event-card__company {
    margin: 0;
    color: var(--text, #0b1220);
    letter-spacing: -.035em;
}

.bw-he-events-hero h1 {
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 1.04;
}

.bw-he-events-hero p:not(.bw-he-events-kicker),
.bw-he-events-empty p,
.bw-he-event-card__desc {
    color: var(--text-3, #64748b);
    line-height: 1.65;
}

.bw-he-events-hero__stat {
    min-width: 132px;
    align-self: stretch;
    display: grid;
    place-items: center;
    padding: 1rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(42, 92, 71, 0.1), rgba(106, 171, 138, 0.08));
    color: var(--bw-verde, #2a5c47);
    text-align: center;
}

.bw-he-events-hero__stat strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.bw-he-events-alert {
    padding: .9rem 1rem;
    border-radius: 14px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.bw-he-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 1rem;
}

.bw-he-event-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bw-he-event-card__cover {
    display: block;
    min-height: 92px;
    background: linear-gradient(135deg, var(--bw-accent-muted, #ecf5ef) 0%, var(--bw-surface, #f8fafc) 55%, var(--bw-surface-alt, #eef0f3) 100%);
}

.bw-he-event-card__cover.has-image img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    display: block;
}

.bw-he-event-card__body {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    padding: 1.1rem 1.15rem 1.2rem;
    flex: 1;
}

.bw-he-event-card__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: start;
}

.bw-he-event-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--bw-accent-muted, #ecf5ef);
    color: var(--bw-verde, #2a5c47);
    font-weight: 800;
    font-size: .95rem;
    overflow: hidden;
    flex-shrink: 0;
}

.bw-he-event-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bw-he-event-card__eyebrow {
    margin: 0 0 .2rem;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--bw-verde-m, #3d7260);
}

.bw-he-event-card__company {
    font-size: 1.1rem;
    line-height: 1.2;
}

.bw-he-event-card__event-name {
    margin: .25rem 0 0;
    color: #475569;
    font-size: .92rem;
    font-weight: 600;
}

.bw-he-event-card__status {
    padding: .28rem .55rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    white-space: nowrap;
}

.bw-he-event-card__status--scheduled {
    background: var(--bw-accent-muted, #ecf5ef);
    color: var(--bw-verde, #2a5c47);
}

.bw-he-event-card__status--live {
    background: #ecfdf5;
    color: #047857;
}

.bw-he-event-card__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .45rem;
}

.bw-he-event-card__meta li {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: .5rem;
    font-size: .86rem;
    color: #334155;
}

.bw-he-event-card__meta-label {
    color: #94a3b8;
    font-weight: 600;
}

.bw-he-event-card__desc {
    margin: 0;
    font-size: .88rem;
}

.bw-he-event-card__actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.bw-he-events-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: .55rem 1rem;
    border-radius: 12px;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.bw-he-events-btn--primary {
    background: var(--bw-gradient-brand, linear-gradient(135deg, #2a5c47, #3d7260));
    color: #fff;
}

.bw-he-events-btn--primary:hover {
    background: linear-gradient(135deg, var(--bw-verde-dark, #1e4536), var(--bw-verde, #2a5c47));
    color: #fff;
}

.bw-he-events-btn--ghost {
    background: #fff;
    border-color: var(--bw-line-strong, rgba(42, 92, 71, 0.2));
    color: var(--bw-ink-soft, #57534e);
}

.bw-he-events-btn--ghost:hover {
    border-color: var(--bw-verde-m, #3d7260);
    color: var(--bw-verde, #2a5c47);
    background: var(--bw-accent-muted, #ecf5ef);
}

.bw-he-events-empty {
    padding: 2rem 1.5rem;
    text-align: center;
}

.bw-he-events-empty .bw-he-events-btn {
    margin-top: 1rem;
}

@media (max-width: 720px) {
    .bw-he-events-hero {
        flex-direction: column;
    }

    .bw-he-event-card__head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .bw-he-event-card__status {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .bw-he-event-card__actions {
        flex-direction: column;
    }

    .bw-he-event-card__actions .bw-he-events-btn {
        width: 100%;
    }
}
