@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --youngme-ink: #101d26;
    --youngme-ink-soft: #414753;
    --youngme-border: rgba(193, 198, 213, 0.2);
    --youngme-border-solid: #c1c6d5;
    --youngme-surface: #f6faff;
    --youngme-surface-strong: #ebf5ff;
    --youngme-accent: #004e9f;
    --youngme-accent-dark: #004e9f;
    --youngme-sidebar-bg: #e2f0fd;
    --youngme-footer-bg: #cedce9;
    --youngme-gold: #d9a441;
    --youngme-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    --youngme-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --youngme-radius-lg: 24px;
    --youngme-radius-md: 8px;
    --youngme-page-gutter: clamp(14px, 2.4vw, 28px);
}

body.youngme-body {
    font-family: 'Public Sans', system-ui, sans-serif;
    background: var(--youngme-surface);
    color: var(--youngme-ink);
}

.container,
.container-fluid {
    padding-left: var(--youngme-page-gutter);
    padding-right: var(--youngme-page-gutter);
}

.youngme-topbar {
    background: #17324d;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
}

.youngme-topbar__inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
}

.youngme-topbar__eyebrow {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.youngme-header {
    padding: 1.4rem 0 0;
}

.youngme-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.2rem 0 1.6rem;
}

.youngme-brand__link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

/* SVG logo replaces the old text mark — no extra styles needed */
.youngme-brand__mark {
    display: none; /* hidden — kept for backward compat if referenced elsewhere */
}

.youngme-brand__copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.youngme-brand__title {
    color: var(--youngme-ink);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.youngme-brand__tagline {
    color: var(--youngme-ink-soft);
    font-size: 0.78rem;
    line-height: 1.3;
}

.youngme-header__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.youngme-nav-shell {
    border-top: 1px solid rgba(23, 50, 77, 0.08);
    border-bottom: 1px solid rgba(23, 50, 77, 0.08);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
}

.youngme-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.85rem 0;
}

.youngme-nav__link {
    white-space: nowrap;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: var(--youngme-ink);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.youngme-nav__link:hover,
.youngme-nav__link:focus {
    background: rgba(0, 102, 204, 0.08);
    color: var(--youngme-accent-dark);
}

.youngme-main {
    padding: 2rem 0 4rem;
}

.youngme-hero,
.youngme-section,
.youngme-strip {
    padding: 1.5rem 0;
}

.youngme-hero__title,
.youngme-section__title {
    max-width: 12ch;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin-bottom: 1.35rem;
}

.youngme-hero__lead,
.youngme-section__lead {
    font-size: 1.125rem;
    color: var(--youngme-ink-soft);
    max-width: 60ch;
}

.youngme-section-kicker {
    margin-bottom: 1rem;
    color: var(--youngme-accent-dark);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    font-weight: 700;
}

.youngme-hero__actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.youngme-highlight-card,
.youngme-editorial-panel,
.youngme-feature-card,
.youngme-metric-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--youngme-border);
    box-shadow: var(--youngme-shadow);
}

.youngme-highlight-card {
    padding: 1.8rem;
    border-radius: var(--youngme-radius-lg);
}

.youngme-highlight-card__label {
    color: var(--youngme-accent-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.youngme-highlight-card__title {
    font-size: 1.5rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.youngme-highlight-card__list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--youngme-ink-soft);
}

.youngme-highlight-card__list li + li {
    margin-top: 0.7rem;
}

.youngme-strip {
    margin-top: 0.8rem;
}

.youngme-metric-card {
    height: 100%;
    padding: 1.25rem 1.3rem;
    border-radius: var(--youngme-radius-md);
}

.youngme-metric-card__value {
    display: inline-block;
    margin-bottom: 0.65rem;
    color: var(--youngme-gold);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
}

.youngme-metric-card__label {
    margin: 0;
    color: var(--youngme-ink-soft);
}

.youngme-section__heading {
    margin-bottom: 2rem;
}

.youngme-feature-card {
    height: 100%;
    padding: 1.6rem;
    border-radius: var(--youngme-radius-md);
}

.youngme-feature-card__eyebrow {
    color: var(--youngme-accent-dark);
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.youngme-feature-card__title {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.youngme-feature-card__text {
    color: var(--youngme-ink-soft);
    margin-bottom: 1.25rem;
}

.youngme-feature-card__link {
    font-weight: 700;
    color: var(--youngme-accent-dark);
    text-decoration: none;
}

.youngme-feature-card__link:hover,
.youngme-feature-card__link:focus {
    text-decoration: underline;
}

.youngme-section--soft .youngme-editorial-panel {
    padding: 1.5rem;
    border-radius: var(--youngme-radius-lg);
}

.youngme-editorial-panel__item + .youngme-editorial-panel__item {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--youngme-border);
}

.youngme-editorial-panel__item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.youngme-editorial-panel__item p {
    margin: 0;
    color: var(--youngme-ink-soft);
}

.youngme-footer {
    border-top: 1px solid rgba(23, 50, 77, 0.08);
    background: #17324d;
    color: rgba(255, 255, 255, 0.82);
    padding: 2rem 0 2.5rem;
}

.youngme-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.youngme-footer__label {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.youngme-footer__text {
    margin: 0;
    max-width: 58ch;
}

.youngme-footer__list {
    margin: 0;
    padding-left: 1rem;
}

.youngme-footer__list a {
    color: #fff;
    text-decoration: none;
}

.youngme-footer__list a:hover,
.youngme-footer__list a:focus {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .youngme-header__row {
        flex-direction: column;
        align-items: flex-start;
    }

    .youngme-hero__title,
    .youngme-section__title {
        max-width: none;
    }

    .youngme-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .youngme-topbar__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .youngme-main {
        padding-top: 1.2rem;
    }

    .youngme-highlight-card,
    .youngme-feature-card,
    .youngme-editorial-panel,
    .youngme-metric-card {
        border-radius: 18px;
    }
}

.app-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 2rem;
    min-height: 70vh;
    padding-left: var(--youngme-page-gutter);
    padding-right: var(--youngme-page-gutter);
}

.app-shell--admin {
    grid-template-columns: 240px minmax(0, 1fr);
}

.app-sidebar {
    background: #dce9f7;
    border-radius: 24px;
    padding: 1.4rem 1rem;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.app-sidebar__head {
    margin-bottom: 1.5rem;
}

.app-sidebar__eyebrow {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f4f86;
}

.app-sidebar__sub {
    margin: 0.2rem 0 0;
    color: #7a8da5;
    font-size: 0.92rem;
}

.app-sidebar__nav {
    display: grid;
    gap: 0.45rem;
}

.app-sidebar__link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    color: #37516d;
    text-decoration: none;
    font-weight: 600;
    background: transparent;
}

.app-sidebar__link.is-active {
    background: #fff;
    color: #1167c4;
    box-shadow: 0 8px 24px rgba(17, 103, 196, 0.08);
}

.app-sidebar__cta {
    margin-top: auto;
    padding-top: 2rem;
}

.app-sidebar__footer-links {
    display: grid;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.app-sidebar__footer-links a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #637b92;
    text-decoration: none;
    font-size: 0.9rem;
}

.app-sidebar__logout {
    color: #dc2626 !important;
}

.app-sidebar__account-card {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 14px;
    padding: 0.9rem 1rem;
}

.app-sidebar__account-card strong,
.app-sidebar__account-card small {
    display: block;
}

.app-content {
    min-width: 0;
}

.dashboard-hero {
    margin-bottom: 1.5rem;
}

.dashboard-hero__split {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1.5rem;
}

.dashboard-hero__title {
    font-size: clamp(2rem, 4vw, 3.9rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 0.85rem;
}

.dashboard-hero__lead {
    max-width: 64ch;
    color: var(--youngme-ink-soft);
    font-size: 1.08rem;
    margin: 0;
}

.dashboard-hero__button {
    min-width: 220px;
}

.info-banner,
.support-banner {
    background: #dfeeff;
    border-radius: 18px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.6rem;
    border-left: 4px solid #1167c4;
}

.info-banner__text,
.support-banner p {
    margin: 0;
    color: #4d6178;
}

.dashboard-grid {
    display: grid;
    gap: 1.5rem;
}

.dashboard-grid--candidate {
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: start;
}

.dashboard-grid--company,
.dashboard-grid--admin {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--youngme-border);
    border-radius: 22px;
    box-shadow: var(--youngme-shadow);
    padding: 1.5rem;
}

.dashboard-card__title,
.section-head h2,
.profile-status-card__head h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-head a,
.dashboard-link-inline {
    color: #1167c4;
    font-weight: 700;
    text-decoration: none;
}

.profile-status-card__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.profile-status-card__head span {
    font-size: 2rem;
    font-weight: 700;
    color: #1167c4;
}

.youngme-progress {
    height: 8px;
    background: #d9e4ef;
    border-radius: 999px;
    margin: 1rem 0 1.2rem;
}

.youngme-progress .progress-bar {
    background: #1167c4;
    border-radius: 999px;
}

.profile-status-card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.3rem;
}

.profile-status-card__list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.7rem;
    color: #50677d;
}

.profile-status-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9cb1c8;
}

.profile-status-card__list li.is-done::before {
    background: #22a06b;
}

.profile-status-card__list li.is-pending::before {
    background: #1167c4;
}

.mini-offers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mini-offer-card,
.offer-list-card {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 18px;
    padding: 1.2rem;
}

.mini-offer-card__meta,
.offer-list-card__meta,
.offer-list-card__footer {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.mini-offer-card h3,
.offer-list-card h2 {
    font-size: 1.3rem;
    margin: 0.9rem 0 0.35rem;
}

.mini-offer-card p,
.offer-list-card__company {
    color: #5b7086;
    margin-bottom: 0.35rem;
}

.dashboard-promo {
    min-height: 220px;
    border-radius: 22px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(9, 36, 61, 0.08), rgba(9, 36, 61, 0.52)),
        linear-gradient(135deg, #688aa8 0%, #203648 100%);
    position: relative;
}

.dashboard-promo--small {
    min-height: 260px;
}

.dashboard-promo__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 1.3rem;
    color: #fff;
}

.dashboard-promo__title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.dashboard-promo__text {
    margin: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.8);
}

.table-shell {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
    padding: 1rem 0.8rem;
    border-bottom: 1px solid #e4ebf2;
    vertical-align: top;
}

.dashboard-table th {
    color: #70869e;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dashboard-table td {
    color: #23384d;
}

.dashboard-table small {
    color: #8396aa;
}

.status-pill,
.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
}

.status-pill--info,
.chip--primary {
    background: #dfeeff;
    color: #1167c4;
}

.status-pill--warning,
.chip--warning {
    background: #fff1df;
    color: #d18627;
}

.status-pill--success {
    background: #e4f8ea;
    color: #1c8f58;
}

.status-pill--muted,
.chip--neutral {
    background: #eef3f8;
    color: #6c8097;
    transition: background 0.15s, color 0.15s;
}

.chip--neutral:hover {
    background: #004e9f !important;
    color: #fff !important;
}

.status-pill--danger {
    background: #ffd6d6;
    color: #b91c1c;
}

.status-pill--danger-soft,
.chip--danger-soft {
    background: #ffe6dd;
    color: #c96a45;
}

.chip--soft {
    background: #edf4ff;
    color: #4d78ba;
}

.stack-panel {
    display: grid;
    gap: 1.5rem;
}

.compact-list {
    display: grid;
    gap: 0.8rem;
}

.compact-list__item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.compact-list__item strong,
.compact-list__item small {
    display: block;
}

.compact-list__item small {
    color: #8195ab;
}

.compact-list__avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.compact-list__avatar--blue { background: #dce9ff; color: #2c66b8; }
.compact-list__avatar--orange { background: #ffe8d5; color: #c77232; }
.compact-list__avatar--slate { background: #e7edf4; color: #677b91; }
.compact-list__avatar--soft { background: #eef3f8; color: #758aa1; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--youngme-border);
    border-radius: 20px;
    padding: 1.2rem 1.25rem;
    box-shadow: var(--youngme-shadow);
}

.stat-card__label {
    color: #667c92;
    margin-bottom: 0.4rem;
}

.stat-card h2 {
    margin: 0;
    font-size: 2rem;
}

.stat-card small {
    color: #3fa36a;
    font-weight: 700;
}

.trend-card__week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.4rem;
    color: #8598ac;
    font-size: 0.8rem;
    margin-bottom: 1.1rem;
}

.trend-card__peak {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.trend-card__text {
    color: #61778d;
    margin: 0;
}

.support-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.support-banner h2 {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.pa-support-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: #edf4ff;
    border: 1px solid #c4d9f8;
    border-radius: 18px;
    padding: 1.2rem 1.5rem;
    margin-top: 0.5rem;
}

.table-actions {
    white-space: nowrap;
}

.table-actions span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f0f4f9;
    margin-right: 0.35rem;
    color: #4f6a84;
}

.offers-page {
    max-width: 860px;
    margin: 0 auto;
    padding-top: 2.5rem;
    padding-bottom: 5rem;
    padding-left: var(--youngme-page-gutter);
    padding-right: var(--youngme-page-gutter);
}

.offers-page__header {
    margin-bottom: 1.75rem;
}

.offers-page__title {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.4rem;
}

.offers-page__lead {
    color: var(--youngme-ink-soft);
    font-size: 1rem;
    margin: 0;
}

.offers-toolbar {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.offers-search-wrapper {
    position: relative;
}

.offers-search-wrapper .form-control {
    padding-left: 2.6rem;
    border-radius: 10px;
    border-color: var(--youngme-border-solid);
    background: #fff;
}

.offers-search-wrapper__icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8396aa;
    pointer-events: none;
}

.offers-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.offers-list {
    display: grid;
    gap: 0.9rem;
}

.offer-list-card {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 18px;
    padding: 1.2rem 1.3rem;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.offer-list-card:hover {
    box-shadow: 0 4px 14px rgba(0, 78, 159, 0.08);
    border-color: rgba(0, 78, 159, 0.2);
}

.offer-list-card__top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.offer-list-card__logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex: 0 0 auto;
}

.offer-list-card__logo--blue  { background: #dce9ff; color: #2b67b9; }
.offer-list-card__logo--peach { background: #f3ddce; color: #9b6b45; }
.offer-list-card__logo--dark  { background: #182738; color: #d6e6ff; }

/* Match percentage pill (visible only to candidates with a profile) */
.offer-list-card__match {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 auto;
    align-self: flex-start;
    border: 1px solid transparent;
    white-space: nowrap;
}

.offer-list-card__match-icon { flex: 0 0 auto; }
.offer-list-card__match-pct  { font-weight: 800; }
.offer-list-card__match-label {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    font-size: 0.7rem;
    opacity: 0.85;
}

.offer-list-card__match.is-high {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.offer-list-card__match.is-mid {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.offer-list-card__match.is-low {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

/* Lock badge colors on hover */
a:hover .offer-list-card__match.is-high,
.offer-list-card:hover .offer-list-card__match.is-high { background: #dcfce7 !important; color: #166534 !important; border-color: #bbf7d0 !important; }
a:hover .offer-list-card__match.is-mid,
.offer-list-card:hover .offer-list-card__match.is-mid  { background: #fef3c7 !important; color: #92400e !important; border-color: #fde68a !important; }
a:hover .offer-list-card__match.is-low,
.offer-list-card:hover .offer-list-card__match.is-low  { background: #f1f5f9 !important; color: #475569 !important; border-color: #e2e8f0 !important; }

.offer-list-card__body {
    min-width: 0;
    flex: 1;
}

.offer-list-card__body h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: var(--youngme-ink);
}

.offer-list-card__company {
    font-size: 0.88rem;
    color: var(--youngme-accent);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.offer-list-card__meta {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.83rem;
    color: #7f93a9;
    margin: 0;
}

.offer-list-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(193, 198, 213, 0.2);
    gap: 0.75rem;
    flex-wrap: wrap;
}

.offers-more {
    margin-top: 1.25rem;
}

/* ---- Dettaglio offerta ---- */

.offer-detail {
    padding: 2.5rem 0 5rem;
}

.offer-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--youngme-ink-soft);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
}

.offer-detail__back:hover {
    color: var(--youngme-accent);
}

.offer-detail__kicker {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--youngme-accent);
    margin-bottom: 0.4rem;
}

.offer-detail__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    line-height: 1.15;
}

.offer-detail__meta {
    font-size: 0.93rem;
    color: var(--youngme-ink-soft);
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.5rem;
    align-items: center;
}

.offer-detail__meta-sep {
    color: #c1c6d5;
}

.offer-detail__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.offer-detail__content-card {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: var(--youngme-shadow);
    margin-bottom: 1.2rem;
}

.offer-detail__content-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #70869e;
    margin-bottom: 1rem;
}

.offer-detail__content-card p {
    color: var(--youngme-ink);
    line-height: 1.7;
    margin: 0;
}

.offer-apply-card {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 18px;
    padding: 1.4rem;
    box-shadow: var(--youngme-shadow);
    margin-bottom: 1.2rem;
}

.offer-apply-card__title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #70869e;
    margin-bottom: 1rem;
}

.offer-info-card {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 18px;
    padding: 1.4rem;
    box-shadow: var(--youngme-shadow);
}

.offer-info-card__title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #70869e;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--youngme-border);
}

.offer-info-dl {
    margin: 0;
}

.offer-info-dl dt {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8396aa;
    margin-top: 0.9rem;
}

.offer-info-dl dt:first-child {
    margin-top: 0;
}

.offer-info-dl dd {
    font-size: 0.93rem;
    color: var(--youngme-ink);
    margin: 0.2rem 0 0;
}

/* ─── OFFER MATCH CARD ───────────────────────────────────────────── */
.offer-match-card {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 18px;
    padding: 1.4rem;
    box-shadow: var(--youngme-shadow);
}

.offer-match-card__title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--youngme-ink-soft);
    margin: 0 0 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--youngme-border);
}

.offer-match-card__score-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.offer-match-card__score {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
    color: var(--youngme-ink-soft);
}

.offer-match-card__score.is-high { color: #1a7f5a; }
.offer-match-card__score.is-mid  { color: #c96a45; }
.offer-match-card__score.is-low  { color: #8396aa; }

.offer-match-card__bar {
    flex: 1;
    height: 6px;
    background: #eef3f8;
    border-radius: 99px;
    overflow: hidden;
}

.offer-match-card__bar-fill {
    height: 100%;
    border-radius: 99px;
    background: #8396aa;
    transition: width 0.4s ease;
}

.offer-match-card__bar-fill.is-high { background: #1a7f5a; }
.offer-match-card__bar-fill.is-mid  { background: #c96a45; }
.offer-match-card__bar-fill.is-low  { background: #8396aa; }

.offer-match-card__counts {
    font-size: 0.85rem;
    color: var(--youngme-ink-soft);
    margin: 0 0 0.8rem;
}

.offer-match-card__section {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--youngme-border);
}

.offer-match-card__section-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--youngme-ink-soft);
    margin: 0 0 0.5rem;
}

.offer-match-card__hint {
    font-size: 0.8rem;
    color: var(--youngme-ink-soft);
    margin: 0.5rem 0 0;
    font-style: italic;
}

/* chip--missing: competenze mancanti */
.chip--missing {
    background: #fff2ec;
    color: #a0522d;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
}

/* ---- Form offerta (bozza) ---- */

.offer-form-page {
    padding: 2.5rem 0 5rem;
}

.offer-form-card {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 20px;
    box-shadow: var(--youngme-shadow-md);
    overflow: hidden;
}

.offer-form-card__head {
    padding: 1.75rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(193, 198, 213, 0.2);
}

.offer-form-card__body {
    padding: 1.75rem 2rem 2rem;
}

.offer-form__section {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(193, 198, 213, 0.15);
}

.offer-form__section-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--youngme-accent);
    margin-bottom: 1.1rem;
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 1199px) {
    .dashboard-grid--candidate,
    .dashboard-grid--company,
    .dashboard-grid--admin {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .app-shell,
    .app-shell--admin {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        min-height: auto;
    }

    .app-sidebar__cta,
    .app-sidebar__account-card {
        margin-top: 1rem;
    }

    .dashboard-hero__split,
    .support-banner,
    .pa-support-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .mini-offers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .offers-page {
        max-width: 100%;
        padding-bottom: 6rem;
    }

    .offers-page__title {
        font-size: 2.2rem;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: #fff;
        border-top: 1px solid #d9e3ed;
        z-index: 20;
    }

    .mobile-bottom-nav__item {
        text-align: center;
        padding: 0.85rem 0.4rem;
        color: #6e8297;
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 700;
    }

    .mobile-bottom-nav__item.is-active {
        color: #1167c4;
    }
}

/* ============================================================
   DASHBOARD CANDIDATO
   ============================================================ */

.dash-gdpr-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    background: #f0f6ff;
    border: 1px solid #c8ddf8;
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.93rem;
    color: #314f6b;
}

.dash-gdpr-alert__icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    background: #dbeafe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.dash-gdpr-alert__body {
    flex: 1;
    min-width: 0;
}

.dash-gdpr-alert__body strong {
    display: block;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 0.2rem;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dash-gdpr-alert__body p {
    margin: 0;
    line-height: 1.5;
}

.dash-section {
    margin-bottom: 1.75rem;
}

.dash-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dash-section__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--youngme-ink);
    margin: 0;
}

.dash-section__link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--youngme-accent);
    text-decoration: none;
    white-space: nowrap;
}

.dash-section__link:hover {
    text-decoration: underline;
}

.dash-offers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dash-offer-card {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: var(--youngme-shadow);
}

.dash-offer-card__company {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--youngme-accent);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dash-offer-card__title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--youngme-ink);
    margin: 0;
    line-height: 1.3;
}

.dash-offer-card__meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: auto;
}

.dash-offer-card__meta-item {
    font-size: 0.8rem;
    color: var(--youngme-ink-soft);
}

.dash-offer-card__meta-item + .dash-offer-card__meta-item::before {
    content: "·";
    margin-right: 0.5rem;
}

.dash-offer-card__match {
    margin-bottom: 0.75rem;
}

.dash-offer-card__match-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.3rem;
}

.dash-offer-card__match-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--youngme-ink-soft);
}

.dash-offer-card__match-score {
    font-size: 0.9rem;
    font-weight: 800;
    color: #8396aa;
}

.dash-offer-card__match-score.is-high { color: #1a7f5a; }
.dash-offer-card__match-score.is-mid  { color: #c96a45; }
.dash-offer-card__match-score.is-low  { color: #8396aa; }

.dash-offer-card__match-bar {
    height: 4px;
    background: #eef3f8;
    border-radius: 99px;
    overflow: hidden;
}

.dash-offer-card__match-fill {
    height: 100%;
    border-radius: 99px;
    background: #8396aa;
}

.dash-offer-card__match-fill.is-high { background: #1a7f5a; }
.dash-offer-card__match-fill.is-mid  { background: #c96a45; }
.dash-offer-card__match-fill.is-low  { background: #8396aa; }

.dash-offer-card__found-count {
    font-size: 0.8rem;
    color: var(--youngme-ink-soft);
    margin: 0.5rem 0 0;
}

.dash-offer-card__found-count .is-high { color: #1a7f5a; font-weight: 700; }
.dash-offer-card__found-count .is-mid  { color: #c96a45; font-weight: 700; }
.dash-offer-card__found-count .is-low  { color: #8396aa; font-weight: 700; }

.dash-section__hint {
    font-size: 0.82rem;
    color: var(--youngme-ink-soft);
    margin-top: 0.75rem;
    font-style: italic;
}

.dash-profile-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--youngme-border);
    border-radius: 20px;
    padding: 1.4rem;
    box-shadow: var(--youngme-shadow);
    height: 100%;
}

.dash-profile-card__completion-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.dash-profile-card__completion-head h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--youngme-ink);
}

.dash-profile-card__completion-head span {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--youngme-accent);
    line-height: 1;
}

.dash-profile-card__checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.2rem;
    display: grid;
    gap: 0.6rem;
}

.dash-profile-card__checklist li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: #50677d;
}

.dash-profile-card__checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.38rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9cb1c8;
}

.dash-profile-card__checklist li.is-done {
    color: #1f6b47;
}

.dash-profile-card__checklist li.is-done::before {
    background: #22a06b;
}

.dash-profile-card__checklist li.is-pending::before {
    background: var(--youngme-accent);
}

.dash-data-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--youngme-border);
    border-radius: 20px;
    padding: 1.4rem;
    box-shadow: var(--youngme-shadow);
    height: 100%;
}

.dash-data-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--youngme-border);
}

.dash-data-card__head h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: var(--youngme-ink);
}

.dash-data-card__head a {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--youngme-accent);
    text-decoration: none;
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.dash-table td {
    padding: 0.5rem 0;
    vertical-align: top;
    border-bottom: 1px solid rgba(193, 198, 213, 0.15);
    color: #23384d;
}

.dash-table td:first-child {
    color: #70869e;
    font-size: 0.83rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: 40%;
    padding-right: 0.75rem;
}

.dash-table tr:last-child td {
    border-bottom: none;
}

.dash-analysis-state {
    border-radius: 10px;
    padding: 1rem;
}

.dash-analysis-state--empty {
    background: #f6faff;
    border: 1px dashed var(--youngme-border);
}

.dash-analysis-state--pending {
    background: #fffbf0;
    border: 1px solid #f5dfa8;
}

.dash-cv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(193, 198, 213, 0.15);
}

.dash-cv-row__label {
    font-size: 0.83rem;
    color: #70869e;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dash-cv-row__value {
    font-size: 0.9rem;
    color: #23384d;
}

@media (max-width: 991px) {
    .dash-offers-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   DASHBOARD AZIENDA – stat chips
   ============================================================ */

.dash-stat-chip {
    border-radius: 14px;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border: 1px solid var(--youngme-border);
}

.dash-stat-chip--muted  { background: #eef3f8; }
.dash-stat-chip--warning { background: #fff8ed; border-color: #f5dfa8; }
.dash-stat-chip--success { background: #edfbf2; border-color: #a8dfc0; }

.dash-stat-chip__value {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    color: var(--youngme-ink);
}

.dash-stat-chip--muted  .dash-stat-chip__value { color: #5a7490; }
.dash-stat-chip--warning .dash-stat-chip__value { color: #b07a12; }
.dash-stat-chip--success .dash-stat-chip__value { color: #1c8f58; }

.dash-stat-chip__label {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #70869e;
}

.dash-stat-chip--warning .dash-stat-chip__label { color: #9a6c1a; }
.dash-stat-chip--success .dash-stat-chip__label { color: #1a7a4a; }

/* Candidature recenti panel */
.dash-candidature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dash-candidature-list__item {
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid rgba(193, 198, 213, 0.18);
}

.dash-candidature-list__item:last-child {
    border-bottom: none;
}

.dash-candidature-list__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.dash-candidature-list__offerta {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--youngme-ink);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dash-candidature-list__date {
    font-size: 0.78rem;
    color: #8396aa;
    flex-shrink: 0;
}

.dash-candidature-list__link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--youngme-accent);
    text-decoration: none;
    flex-shrink: 0;
}

.dash-candidature-list__link:hover {
    text-decoration: underline;
}

/* ─── COUNT BADGE (numero candidati in tabella offerte) ──────── */
.count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 99px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

/* ─── STATUS DOT (dot + label, sostituisce status-pill in tabella) */
.status-dot {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-dot::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot--success::before { background: #1a7f5a; }
.status-dot--success         { color: #1a7f5a; }
.status-dot--warning::before { background: #c96a45; }
.status-dot--warning         { color: #c96a45; }
.status-dot--danger::before  { background: #b91c1c; }
.status-dot--danger          { color: #b91c1c; }
.status-dot--muted::before   { background: #8396aa; }
.status-dot--muted           { color: #8396aa; }

/* ─── DASH CANDIDATE ITEM (panel ultime candidature azienda) ─── */
.dash-candidate-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dash-candidate-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.2rem;
    border-bottom: 1px solid var(--youngme-border);
}

.dash-candidate-item:last-child {
    border-bottom: none;
}

.dash-candidate-item__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    color: #fff;
}

.dash-candidate-item__avatar--1 { background: #3b82f6; }
.dash-candidate-item__avatar--2 { background: #f97316; }
.dash-candidate-item__avatar--3 { background: #10b981; }
.dash-candidate-item__avatar--4 { background: #8b5cf6; }

.dash-candidate-item__info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

.dash-candidate-item__name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--youngme-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-candidate-item__role {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8396aa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-candidate-item__eye {
    color: #8396aa;
    flex-shrink: 0;
    transition: color 0.15s;
}

.dash-candidate-item__eye:hover {
    color: var(--youngme-accent);
}

/* ─── DASH PROMO CARD (Impulso Messina) ──────────────────────── */
.dash-promo-card {
    background: linear-gradient(145deg, #004e9f 0%, #0066cc 100%);
    border-radius: 18px;
    overflow: hidden;
    padding: 1.5rem;
}

.dash-promo-card__body {
    color: #fff;
}

.dash-promo-card__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.4rem;
}

.dash-promo-card__text {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.82);
    margin: 0 0 1.1rem;
    line-height: 1.5;
}

.dash-promo-card__btn {
    background: #fff;
    color: var(--youngme-accent);
    font-weight: 700;
    border: none;
    padding: 0.45rem 1.1rem;
    border-radius: 8px;
    font-size: 0.82rem;
}

.dash-promo-card__btn:hover {
    background: #f0f6ff;
    color: var(--youngme-accent);
}

/* ============================================================
   HOMEPAGE – riallineato al Figma YoungME / CercaMe
   ============================================================ */

.youngme-homepage {
    background: #fff;
}

.youngme-main--home {
    padding-top: 0;
}

/* --- Navbar --- */
.home-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e8edf2;
}

/* Reset Bootstrap Italia header overrides */
.home-navbar,
.home-navbar * {
    box-sizing: border-box;
}

.home-navbar .container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 68px;
    gap: 2rem;
    flex-wrap: nowrap !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    max-width: 1320px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.home-navbar__brand {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem;
    text-decoration: none !important;
    color: #101d26 !important;
    flex-shrink: 0;
}

.home-navbar__logo {
    flex-shrink: 0;
    display: block;
}

.home-navbar__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.home-navbar__brand-text strong {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #101d26;
    display: block;
}

.home-navbar__brand-text small {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
    display: block;
}

.home-navbar__nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 2rem;
    flex: 1;
    justify-content: center;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home-navbar__link {
    color: #475569 !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.25rem 0;
    transition: color 0.15s;
    white-space: nowrap;
    display: inline-block !important;
}

.home-navbar__link:hover {
    color: #004e9f !important;
}

.home-navbar__link.is-active {
    color: #004e9f !important;
    font-weight: 700;
    border-bottom: 2px solid #004e9f;
    padding-bottom: 2px;
}

.home-navbar__actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.6rem;
    flex-shrink: 0;
}

.home-navbar__btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.15s;
    white-space: nowrap;
    line-height: 1.4;
}

.home-navbar__btn--outline {
    color: #004e9f !important;
    border: 1.5px solid #004e9f;
    background: transparent;
}

.home-navbar__btn--outline:hover {
    background: rgba(0, 78, 159, 0.05);
    color: #004e9f !important;
}

.home-navbar__btn--solid {
    color: #fff !important;
    background: #004e9f;
    border: 1.5px solid #004e9f;
}

.home-navbar__btn--solid:hover {
    background: #003d7a;
    border-color: #003d7a;
    color: #fff !important;
}

.home-navbar__toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    color: #101d26;
    cursor: pointer;
    flex-shrink: 0;
}

/* --- Hero kicker --- */
.home-hero__kicker {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 1.1rem;
}

/* --- Hero --- */
.home-hero {
    background: linear-gradient(160deg, #003b7a 0%, #0052a8 55%, #0066cc 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}

.home-hero .container {
    display: block !important;
}

/* Full-bleed inner: left copy + right photo, no container padding */
.home-hero__inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    min-height: 420px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2.5rem);
    gap: 0;
}

/* Left copy column */
.home-hero__copy {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    padding: 3.5rem 3rem 2.5rem 0;
    position: relative;
    z-index: 2;
}

.home-hero__title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
}

.home-hero__lead {
    max-width: 42ch;
    color: rgba(210, 225, 255, 0.88);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
    line-height: 1.65;
}

.home-hero__actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.home-hero__btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.65rem 1.35rem;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.15s;
    white-space: nowrap;
}

.home-hero__btn--primary {
    background: #fff;
    color: #004e9f !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.home-hero__btn--primary:hover {
    background: #eef4ff;
    color: #003d7a !important;
}

.home-hero__btn--outline {
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #fff !important;
    background: transparent;
}

.home-hero__btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

/* Feature badges — below the CTA buttons, inside copy column */
.home-hero__badges {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.home-hero__badge {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(210, 225, 255, 0.85);
    font-weight: 500;
    line-height: 1.4;
}

.home-hero__badge-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.12);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff;
}

/* Right visual column */
.home-hero__visual {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2.5rem 0 2.5rem 2rem;
}

/* Photo card — white rounded card */
.home-hero__photo-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 340px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
    z-index: 2;
}

.home-hero__portrait-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

/* Floating talent badge — bottom-left of photo card */
.home-hero__talent-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem;
    background: #004e9f;
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 3;
    white-space: nowrap;
}

.home-hero__talent-badge-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff;
}

/* Decorative dot grid — top-right of visual */
.home-hero__dots {
    position: absolute;
    top: 1.5rem;
    right: -0.5rem;
    width: 72px;
    height: 140px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.28) 2px, transparent 2px);
    background-size: 14px 14px;
    z-index: 1;
    pointer-events: none;
}

/* Decorative circles — left side of hero */
.home-hero__deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
    z-index: 1;
}

.home-hero__deco-circle--lg {
    width: 180px;
    height: 180px;
    bottom: -40px;
    left: -60px;
}

.home-hero__deco-circle--sm {
    width: 80px;
    height: 80px;
    top: 2rem;
    left: -1rem;
    border-color: rgba(255, 255, 255, 0.08);
}

/* --- Sezioni contenuto --- */
.home-section {
    padding: 5rem 0;
}

.home-section--steps {
    background: #f8fafc;
}

.home-section--offers {
    background: #f1f5f9;
}

.home-section__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #64748b;
    margin: 0 0 0.5rem;
}

.home-section__heading {
    margin-bottom: 3rem;
}

.home-section__heading--center {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.home-section__heading--center h2,
.home-section__heading--row h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #101d26;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.home-section__heading p {
    color: #475569;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.home-section__heading--row {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.home-section__link {
    color: #004e9f;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.15s;
}

.home-section__link:hover {
    gap: 0.5rem;
    color: #003d7a;
}

/* --- Step cards (Come funziona) --- */
.home-steps {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.5rem;
}

.home-step-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.home-step-card:hover {
    box-shadow: 0 8px 24px rgba(0, 78, 159, 0.08);
    border-color: rgba(0, 78, 159, 0.15);
}

.home-step-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0, 78, 159, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #004e9f;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.home-step-card__icon img,
.home-step-card__icon-img {
    width: 24px;
    height: 24px;
    display: block;
    object-fit: contain;
}

.home-step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #101d26;
    margin: 0 0 0.5rem;
}

.home-step-card p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.home-step-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 78, 159, 0.08);
    color: #004e9f;
    margin-top: 1.25rem;
    transition: background 0.15s, transform 0.15s;
    text-decoration: none;
}

.home-step-card__arrow:hover {
    background: #004e9f;
    color: #fff;
    transform: translateX(2px);
}

/* --- Offer cards (homepage) --- */
.home-offers-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.5rem;
}

.home-offer-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.home-offer-card:hover {
    box-shadow: 0 8px 24px rgba(0, 78, 159, 0.08);
    border-color: rgba(0, 78, 159, 0.15);
}

.home-offer-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.home-offer-card__contract {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    display: inline-block;
}

.home-offer-card__contract--green {
    background: #dcfce7;
    color: #166534;
}

.home-offer-card__contract--orange {
    background: #fef3c7;
    color: #92400e;
}

.home-offer-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #101d26;
    margin: 0 0 0.25rem;
    line-height: 1.35;
}

.home-offer-card__company {
    color: #004e9f;
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0 0 0.75rem;
}

.home-offer-card__meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    color: #64748b;
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
}

.home-offer-card__meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.home-offer-card__meta-item + .home-offer-card__meta-item::before {
    content: "";
}

.home-offer-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.home-offer-card__save {
    background: none;
    border: none;
    padding: 0.4rem;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 6px;
    transition: color 0.15s;
}

.home-offer-card__save:hover {
    color: #ef4444;
}

.home-offer-card__btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: #004e9f;
    border: 1.5px solid #004e9f;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s;
}

.home-offer-card__btn:hover {
    background: #004e9f;
    color: #fff;
}

.home-offer-card--empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

/* CTA card in offers grid */
.home-offer-card--cta {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-offer-card--cta__icon {
    color: #004e9f;
    margin-bottom: 1rem;
}

.home-offer-card--cta h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #101d26;
    margin: 0 0 0.4rem;
}

.home-offer-card--cta p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

.home-offer-card--cta__btn {
    display: inline-block;
    background: #004e9f;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.55rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s;
}

.home-offer-card--cta__btn:hover {
    background: #003d7a;
    color: #fff;
}

/* --- Trust badges --- */
.home-trust {
    padding: 3rem 0;
    background: #fff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.home-trust .container {
    display: block !important;
}

.home-trust__grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem;
}

.home-trust__item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.75rem;
    color: #334155;
}

.home-trust__item svg {
    flex-shrink: 0;
    color: #004e9f;
    margin-top: 2px;
    min-width: 24px;
}

.home-trust__item strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #101d26;
    margin-bottom: 0.15rem;
}

.home-trust__item p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* --- Accessibility band --- */
.home-accessibility-band {
    background: #004e9f;
    color: #fff;
    padding: 1.5rem 0;
}

.home-accessibility-band__inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 2rem;
}

.home-accessibility-band__copy {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem;
    align-items: center !important;
}

.home-accessibility-band__copy svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.home-accessibility-band__icon {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.home-accessibility-band__copy strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.15rem;
}

.home-accessibility-band__copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
}

.home-accessibility-band__logos {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.home-accessibility-band__logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    border-radius: 6px;
}

.home-accessibility-band__logo--dark {
    background: #101010;
}

.home-accessibility-band__logo--light {
    background: #ffffff;
}

/* --- Footer homepage --- */
.home-footer {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    padding: 3.5rem 0 0;
}

.home-footer .container {
    display: block !important;
}

.home-footer__grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr !important;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.home-footer__brand-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem;
}

.home-footer__brand-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.6rem;
    margin-bottom: 0.25rem;
}

.home-footer__brand-row strong {
    font-size: 1rem;
    color: #101d26;
}

.home-footer__brand-row small {
    font-size: 0.72rem;
    color: #64748b;
}

.home-footer__desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.home-footer__social {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.home-footer__social a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #475569;
    transition: color 0.15s, background 0.15s;
}

.home-footer__social a:hover {
    color: #004e9f;
    background: rgba(0, 78, 159, 0.06);
}

.home-footer__col h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: #101d26;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 1rem;
}

.home-footer__col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem;
}

.home-footer__col ul li {
    font-size: 0.85rem;
    color: #64748b;
}

.home-footer__col ul li a {
    color: #475569;
    text-decoration: none;
    transition: color 0.15s;
}

.home-footer__col ul li a:hover {
    color: #004e9f;
}

.home-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.home-footer__bottom {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1.25rem 0;
    border-top: 1px solid #e2e8f0;
    font-size: 0.78rem;
    color: #64748b;
}

.home-footer__bottom p {
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .home-navbar__nav {
        display: none !important;
    }

    .home-navbar__toggle {
        display: block !important;
    }

    .home-hero__inner {
        flex-direction: column !important;
        padding: 2.5rem 1.5rem;
    }

    .home-hero__copy {
        flex: none !important;
        max-width: 100% !important;
        padding: 0 0 2rem 0;
    }

    .home-hero__visual {
        flex: none !important;
        max-width: 100% !important;
        padding: 0;
        justify-content: flex-start !important;
    }

    .home-hero__photo-card {
        max-width: 100%;
        height: 280px;
    }

    .home-hero__badges {
        gap: 1.5rem !important;
    }

    .home-hero__talent-badge {
        display: none !important;
    }

    .home-steps {
        grid-template-columns: 1fr !important;
    }

    .home-offers-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .home-trust__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .home-section__heading--row {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .home-footer__grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem;
    }

    .home-accessibility-band__inner {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .home-footer__bottom {
        flex-direction: column !important;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .home-navbar__actions {
        display: none !important;
    }

    .home-hero__inner {
        padding: 2rem 1rem;
    }

    .home-hero__photo-card {
        height: 220px;
    }

    .home-hero__badges {
        flex-wrap: wrap !important;
        gap: 1rem !important;
    }

    .home-section {
        padding: 3.5rem 0;
    }

    .home-trust__grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .home-footer__grid {
        grid-template-columns: 1fr !important;
    }

    .home-offers-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Chip tipo contratto (homepage + offerte) */
.chip--contract {
    background: #cee2f8;
    color: #526577;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
}

/* ============================================================
   LISTA OFFERTE – redesign Figma #30
   ============================================================ */

.offers-page__title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--youngme-ink);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.offers-page__lead {
    color: var(--youngme-ink-soft);
    margin-bottom: 0;
}

.offer-list-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.offer-list-card--link:hover {
    text-decoration: none;
    color: inherit;
}

.offer-list-card__bookmark {
    flex-shrink: 0;
    margin-left: auto;
    color: #c1c6d5;
    align-self: flex-start;
    margin-top: 2px;
}

.offer-list-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #7f93a9;
    font-size: 0.83rem;
}

.offer-list-card__meta-item + .offer-list-card__meta-item::before {
    content: "·";
    margin: 0 0.3rem;
    color: #c1c6d5;
}

.offer-list-card__date {
    font-size: 0.8rem;
    color: #8396aa;
    margin-left: auto;
    flex-shrink: 0;
}

.offers-more__card {
    display: block;
    width: 100%;
    padding: 1.1rem;
    text-align: center;
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 18px;
    color: var(--youngme-accent);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.offers-more__card:hover {
    background: #f0f6ff;
    border-color: rgba(0, 78, 159, 0.25);
    color: var(--youngme-accent);
    text-decoration: none;
}

/* ============================================================
   PA DASHBOARD – stat cards con icona (Figma #29)
   ============================================================ */

.dash-stat-card {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 18px;
    padding: 1.3rem 1.2rem 1.1rem;
    box-shadow: var(--youngme-shadow);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.dash-stat-card--success {
    background: #edfbf2;
    border-color: #a8dfc0;
}

.dash-stat-card--warning {
    background: #fff8ed;
    border-color: #f5dfa8;
}

.dash-stat-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6rem;
}

.dash-stat-card__icon--blue   { background: #dbeafe; color: #1d4ed8; }
.dash-stat-card__icon--indigo { background: #e0e7ff; color: #4338ca; }
.dash-stat-card__icon--green  { background: #dcfce7; color: #15803d; }
.dash-stat-card__icon--amber  { background: #fef3c7; color: #b45309; }

.dash-stat-card__value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--youngme-ink);
}

.dash-stat-card--success .dash-stat-card__value { color: #15803d; }
.dash-stat-card--warning .dash-stat-card__value { color: #b45309; }

.dash-stat-card__label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #70869e;
    margin-top: 0.1rem;
}

.dash-stat-card--success .dash-stat-card__label { color: #166534; }
.dash-stat-card--warning .dash-stat-card__label { color: #92400e; }

/* PA Sidebar – building logo box */
.app-sidebar__building-logo {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--youngme-ink) 0%, var(--youngme-accent) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
    flex-shrink: 0;
}

/* PA Sidebar badge (offerte in moderazione count) */
.app-sidebar__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 99px;
    background: #dc2626;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    margin-left: auto;
}

/* Trend Iscrizioni mini bar chart */
.pa-trend-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.45rem;
    height: 80px;
    padding-bottom: 0;
}

.pa-trend-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
    height: 100%;
}

.pa-trend-bar__fill {
    width: 100%;
    background: linear-gradient(180deg, var(--youngme-accent) 0%, #66aaff 100%);
    border-radius: 4px 4px 2px 2px;
    min-height: 6px;
    transition: height 0.3s ease;
}

.pa-trend-bar__label {
    font-size: 0.65rem;
    color: #8396aa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ============================================================
   ONBOARDING CANDIDATO – step indicator e path cards
   ============================================================ */

.onboarding-shell {
    padding: 3rem 0 5rem;
}

.onboarding-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}

.onboarding-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.onboarding-step__dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
    transition: all 0.2s;
}

.onboarding-step--active .onboarding-step__dot {
    background: var(--youngme-accent);
    border-color: var(--youngme-accent);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 78, 159, 0.12);
}

.onboarding-step__label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
}

.onboarding-step--active .onboarding-step__label {
    color: var(--youngme-accent);
}

.onboarding-steps__line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin-bottom: 1.2rem;
    min-width: 24px;
    max-width: 60px;
}

.onboarding-path-card {
    background: var(--youngme-surface);
    border: 1px solid var(--youngme-border);
    border-radius: 16px;
    padding: 1.4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.onboarding-path-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 78, 159, 0.08);
    color: var(--youngme-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.onboarding-path-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--youngme-ink);
    margin-bottom: 0.4rem;
}

.onboarding-path-card__text {
    font-size: 0.88rem;
    color: var(--youngme-ink-soft);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 1rem;
}

.onboarding-step-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 12px;
    padding: 0.9rem 1rem;
}

.onboarding-step-row__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.onboarding-step-row.is-done .onboarding-step-row__num {
    background: #dcfce7;
    color: #15803d;
}

.onboarding-step-row__body {
    flex: 1;
    min-width: 0;
}

.onboarding-step-row__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--youngme-ink);
    margin-bottom: 0.1rem;
}

.onboarding-step-row__desc {
    font-size: 0.82rem;
    color: var(--youngme-ink-soft);
    margin: 0;
}

/* ============================================================
   DASHBOARD CANDIDATO – GDPR line banner (Image #3)
   ============================================================ */

.dash-gdpr-line {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    border-left: 3px solid var(--youngme-accent);
    padding: 0.7rem 1rem;
    background: rgba(0, 78, 159, 0.04);
    border-radius: 0 10px 10px 0;
    font-size: 0.88rem;
    color: var(--youngme-ink-soft);
    line-height: 1.5;
}

.dash-gdpr-line__icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.dash-gdpr-line a {
    color: var(--youngme-accent);
    font-weight: 600;
}

/* Checklist items with SVG icon */
.dash-profile-card__checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding-left: 0;
}

.dash-profile-card__checklist li::before {
    display: none;
}

.dash-profile-card__checklist li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.dash-profile-card__checklist li.is-suggested {
    color: var(--youngme-accent);
    font-size: 0.88rem;
}

/* Promo image card */
.dash-promo-image-card {
    border-radius: 16px;
    background: linear-gradient(160deg, #0a2540 0%, #1a4a8a 50%, #0066cc 100%);
    min-height: 180px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.dash-promo-image-card__overlay {
    padding: 1.25rem 1.2rem;
    background: linear-gradient(to top, rgba(0,20,60,0.85) 0%, transparent 100%);
    width: 100%;
}

.dash-promo-image-card__text {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

/* Compact offer cards (dashboard right column) */
.dash-offer-compact {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 16px;
    padding: 1.1rem 1.1rem 0.9rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--youngme-shadow);
    transition: box-shadow 0.15s, border-color 0.15s;
}

.dash-offer-compact:hover {
    box-shadow: var(--youngme-shadow-md);
    border-color: rgba(0, 78, 159, 0.15);
}

.dash-offer-compact__chips {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.chip--compat {
    background: rgba(0, 78, 159, 0.07);
    color: var(--youngme-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: background 0.15s, color 0.15s;
}

.chip--compat:hover {
    background: #004e9f !important;
    color: #fff !important;
}

.dash-offer-compact__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--youngme-ink);
    margin: 0 0 0.2rem;
    line-height: 1.3;
}

.dash-offer-compact__company {
    font-size: 0.82rem;
    color: var(--youngme-ink-soft);
    margin: 0 0 0.4rem;
}

.dash-offer-compact__meta {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.8rem;
    color: #8396aa;
    margin-bottom: 0.6rem;
}

.dash-offer-compact__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.dash-offer-compact__meta span + span::before {
    content: "·";
    margin: 0 0.4rem;
    color: #c1c6d5;
}

.dash-offer-compact__link {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--youngme-accent);
    text-decoration: none;
    margin-top: auto;
}

.dash-offer-compact__link:hover {
    text-decoration: underline;
}

/* ============================================================
   PROFILO FORM – Onboarding step layout (Image #1)
   ============================================================ */

.onboarding-progress {
    max-width: 680px;
    margin: 0 auto;
}

.onboarding-progress__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.onboarding-progress__step {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--youngme-accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.onboarding-progress__section {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--youngme-ink-soft);
}

.onboarding-progress__bar {
    height: 5px;
    background: #dce9ff;
    border-radius: 99px;
    overflow: hidden;
}

.onboarding-progress__fill {
    height: 100%;
    background: var(--youngme-accent);
    border-radius: 99px;
    transition: width 0.3s ease;
}

.onboarding-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--youngme-ink);
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.onboarding-lead {
    font-size: 1rem;
    color: var(--youngme-ink-soft);
    margin-bottom: 0;
}

.onboarding-card {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 20px;
    padding: 2rem 2rem 1.75rem;
    box-shadow: var(--youngme-shadow-md);
}

.onboarding-card__section-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--youngme-accent);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--youngme-border);
    font-size: 0.9rem;
    font-weight: 700;
}

.onboarding-locked-field {
    position: relative;
}

.onboarding-locked-field .form-control {
    padding-right: 2.5rem;
    background: #f6faff;
}

.onboarding-locked-field__icon {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.onboarding-gdpr {
    background: rgba(0, 78, 159, 0.04);
    border: 1px solid rgba(0, 78, 159, 0.12);
    border-radius: 14px;
    padding: 1.2rem 1.25rem;
}

.onboarding-gdpr__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--youngme-accent);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.onboarding-gdpr__text {
    font-size: 0.84rem;
    color: var(--youngme-ink-soft);
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.onboarding-gdpr__text a {
    color: var(--youngme-accent);
    font-weight: 600;
}

.onboarding-gdpr__check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--youngme-ink);
    cursor: pointer;
}

.onboarding-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.2rem;
    border-top: 1px solid var(--youngme-border);
}

/* ============================================================
   PROFILE REVIEW – Analisi Profilo (Image #2)
   ============================================================ */

.profile-analysis__section-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8396aa;
    margin-bottom: 0.9rem;
}

.profile-analysis__skill-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.profile-analysis__skill-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.profile-analysis__skill-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--youngme-ink);
}

.profile-analysis__bar-track {
    height: 6px;
    background: #dce9ff;
    border-radius: 99px;
    overflow: hidden;
}

.profile-analysis__bar-fill {
    height: 100%;
    background: var(--youngme-accent);
    border-radius: 99px;
}

.chip--soft-lg {
    background: rgba(0, 78, 159, 0.07);
    color: var(--youngme-accent);
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 78, 159, 0.12);
}

/* Offer cards for profile review page */
.profile-offer-card {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 16px;
    padding: 1.2rem 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--youngme-shadow);
    position: relative;
}

.profile-offer-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 99px;
    white-space: nowrap;
}

.profile-offer-card__badge.is-high {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.profile-offer-card__badge.is-mid {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Lock badge colors on hover */
a:hover .profile-offer-card__badge.is-high,
.profile-offer-card:hover .profile-offer-card__badge.is-high { background: #dcfce7 !important; color: #166534 !important; }
a:hover .profile-offer-card__badge.is-mid,
.profile-offer-card:hover .profile-offer-card__badge.is-mid  { background: #fef3c7 !important; color: #92400e !important; }

.profile-offer-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--youngme-ink);
    margin: 0 0 0.2rem;
    padding-right: 5.5rem;
    line-height: 1.35;
}

.profile-offer-card__meta {
    font-size: 0.82rem;
    color: #8396aa;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.profile-offer-card__desc {
    font-size: 0.85rem;
    color: var(--youngme-ink-soft);
    line-height: 1.5;
    margin: 0 0 0.6rem;
    flex: 1;
}

.profile-offer-card__scadenza {
    font-size: 0.78rem;
    color: #8396aa;
}

.profile-offer-card__link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--youngme-accent);
    text-decoration: none;
}

.profile-offer-card__link:hover {
    text-decoration: underline;
}

/* "Migliora il tuo Match" CTA card */
.profile-match-cta {
    background: linear-gradient(145deg, #004e9f 0%, #0066cc 100%);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 200px;
    justify-content: center;
}

.profile-match-cta__icon {
    margin-bottom: 0.9rem;
    opacity: 0.85;
}

.profile-match-cta__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.4rem;
}

.profile-match-cta__text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0 0 1.1rem;
}

.profile-match-cta__btn {
    display: inline-block;
    background: #fff;
    color: var(--youngme-accent);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.5rem 1.4rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.15s;
}

.profile-match-cta__btn:hover {
    background: #f0f6ff;
    color: var(--youngme-accent);
}

/* ============================================================
   DETTAGLIO OFFERTA v2 (Image #4)
   ============================================================ */

.offer-detail-v2 {
    padding: 2rem 0 4rem;
}

/* Breadcrumb */
.offer-detail-v2__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: #8396aa;
    margin-bottom: 1.5rem;
}

.offer-detail-v2__breadcrumb a {
    color: #8396aa;
    text-decoration: none;
}

.offer-detail-v2__breadcrumb a:hover {
    color: var(--youngme-accent);
    text-decoration: underline;
}

.offer-detail-v2__breadcrumb span[aria-current] {
    color: var(--youngme-ink);
    font-weight: 600;
}

/* Header */
.offer-detail-v2__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.offer-detail-v2__header-left {
    flex: 1;
}

.offer-detail-v2__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--youngme-ink);
    line-height: 1.2;
    margin: 0 0 0.4rem;
}

.offer-detail-v2__subtitle {
    font-size: 0.95rem;
    color: #8396aa;
    margin: 0 0 0.9rem;
}

.offer-detail-v2__subtitle-sep {
    margin: 0 0.3rem;
}

.offer-detail-v2__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.offer-detail-v2__chips .chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.offer-detail-v2__header-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.5rem;
}

.offer-detail-v2__icon-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--youngme-border-solid);
    border-radius: 10px;
    color: #8396aa;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.offer-detail-v2__icon-btn:hover {
    color: var(--youngme-accent);
    border-color: var(--youngme-accent);
}

/* Cover image */
.offer-detail-v2__cover {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #dce9ff 0%, #c0d8f8 100%);
    border-radius: 16px;
    overflow: hidden;
}

/* Content sections */
.offer-detail-v2__section {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: var(--youngme-shadow);
}

.offer-detail-v2__section-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.offer-detail-v2__section-bar {
    display: inline-block;
    width: 4px;
    height: 22px;
    background: var(--youngme-accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.offer-detail-v2__section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--youngme-ink);
    margin: 0;
}

.offer-detail-v2__section-body {
    color: var(--youngme-ink-soft);
    font-size: 0.93rem;
    line-height: 1.65;
}

.offer-detail-v2__section-body p {
    margin: 0;
}

/* Requisiti checklist */
.offer-detail-v2__req-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.offer-detail-v2__req-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.93rem;
    color: var(--youngme-ink-soft);
    line-height: 1.5;
}

.offer-detail-v2__req-check {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Competenze skill cards */
.offer-detail-v2__skill-card {
    background: var(--youngme-surface);
    border: 1px solid var(--youngme-border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.offer-detail-v2__skill-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--youngme-ink);
    margin: 0 0 0.2rem;
}

.offer-detail-v2__skill-card-desc {
    font-size: 0.8rem;
    color: #8396aa;
    margin: 0;
    line-height: 1.45;
}

/* ---- Compatibilità Orientativa card (blue) ---- */
.offer-compat-card {
    background: linear-gradient(145deg, #004e9f 0%, #0066cc 100%);
    border-radius: 18px;
    padding: 1.5rem 1.25rem 1.25rem;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 78, 159, 0.25);
}

.offer-compat-card__label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 1rem;
}

.offer-compat-card__circle-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.1rem;
}

.offer-compat-card__circle-svg {
    display: block;
}

.offer-compat-card__circle-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.offer-compat-card__circle-pct {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.offer-compat-card__circle-sub {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.offer-compat-card__bars {
    margin-bottom: 1.1rem;
}

.offer-compat-card__bar-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.offer-compat-card__bar-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    min-width: 70px;
    text-align: left;
}

.offer-compat-card__bar-track {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    overflow: hidden;
}

.offer-compat-card__bar-fill {
    height: 100%;
    background: #fff;
    border-radius: 99px;
}

.offer-compat-card__bar-pct {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    min-width: 32px;
    text-align: right;
}

.offer-compat-card__btn {
    display: block;
    width: 100%;
    background: #fff;
    color: var(--youngme-accent);
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.offer-compat-card__btn:hover {
    background: #f0f6ff;
    color: var(--youngme-accent);
}

.offer-compat-card__btn--done {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.offer-compat-card__btn--done:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/* ---- Informazioni Bando card ---- */
.offer-bando-card {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: var(--youngme-shadow);
}

.offer-bando-card__title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8396aa;
    margin: 0 0 0.9rem;
}

.offer-bando-card__row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.offer-bando-card__row-icon {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.offer-bando-card__row-label {
    font-size: 0.75rem;
    color: #8396aa;
    margin: 0 0 0.1rem;
    font-weight: 500;
}

.offer-bando-card__row-value {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--youngme-ink);
    margin: 0;
}

.offer-bando-card__pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--youngme-accent);
    text-decoration: none;
}

.offer-bando-card__pdf-link:hover {
    text-decoration: underline;
}

/* Disclaimer */
.offer-detail-v2__disclaimer {
    font-size: 0.75rem;
    color: #8396aa;
    line-height: 1.55;
    margin: 0;
}

/* ---- offer-detail-v2 layout additions ---- */

.offer-detail-v2__section-wrap {
    /* Wrapper senza bordo — sezioni senza card bianca */
}

.offer-detail-v2__prose {
    font-size: 0.93rem;
    color: var(--youngme-ink-soft);
    line-height: 1.7;
    margin-top: 0.9rem;
}

/* Requisiti in card bianca */
.offer-detail-v2__req-card {
    background: #fff;
    border: 1px solid var(--youngme-border);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-top: 0.9rem;
    box-shadow: var(--youngme-shadow);
}

/* Competenze richieste — titolo standalone */
.offer-detail-v2__competenze-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--youngme-ink);
    margin: 0 0 1rem;
}

/* Skill card — titolo in accent blue */
.offer-detail-v2__skill-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--youngme-accent);
    margin: 0 0 0.2rem;
}

/* Compat card sublabel */
.offer-compat-card__sublabel {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.45;
    margin: 0 0 1.1rem;
}

/* ============================================================
   OFFERTE PAGE – redesign v2
   ============================================================ */

.offerte-page-body {
    background: #f0f4f8;
}

.offerte-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem clamp(1rem, 3vw, 2rem) 4rem;
}

/* Page header */
.offerte-page__header {
    text-align: center;
    margin-bottom: 2rem;
}

.offerte-page__title {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #101d26;
    letter-spacing: -0.025em;
    margin: 0 0 0.5rem;
}

.offerte-page__title-accent {
    text-decoration: underline;
    text-decoration-color: #004e9f;
    text-underline-offset: 4px;
}

.offerte-page__lead {
    color: #475569;
    font-size: 1rem;
    margin: 0;
}

/* Search bar */
.offerte-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.offerte-search {
    position: relative;
}

.offerte-search__icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.offerte-search__input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #101d26;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}

.offerte-search__input:focus {
    border-color: #004e9f;
    box-shadow: 0 0 0 3px rgba(0, 78, 159, 0.1);
}

.offerte-search__input::placeholder {
    color: #94a3b8;
}

/* Filter chips */
.offerte-filters {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.offerte-filter-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    white-space: nowrap;
}

.offerte-filter-chip:hover {
    border-color: #004e9f;
    color: #004e9f;
}

.offerte-filter-chip--active {
    background: #eef4ff;
    border-color: #004e9f;
    color: #004e9f;
    font-weight: 600;
}

/* Job list */
.offerte-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Job card */
.offerta-card {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 12px;
    padding: 1.25rem 1.25rem 1rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.offerta-card:hover {
    box-shadow: 0 4px 16px rgba(0, 78, 159, 0.08);
    border-color: rgba(0, 78, 159, 0.18);
}

.offerta-card__main {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 1rem;
}

/* Company logo initials */
.offerta-card__logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.offerta-card__logo--blue  { background: #dce9ff; color: #2b67b9; }
.offerta-card__logo--peach { background: #fde8d8; color: #9b5e3a; }
.offerta-card__logo--dark  { background: #1e3a5f; color: #d6e6ff; }
.offerta-card__logo--teal  { background: #d1fae5; color: #065f46; }

.offerta-card__body {
    flex: 1;
    min-width: 0;
}

.offerta-card__title-link {
    text-decoration: none !important;
    color: inherit !important;
}

.offerta-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #101d26;
    margin: 0 0 0.2rem;
    line-height: 1.35;
    transition: color 0.15s;
}

.offerta-card__title-link:hover .offerta-card__title {
    color: #004e9f;
}

.offerta-card__company {
    font-size: 0.85rem;
    font-weight: 600;
    color: #004e9f;
    margin: 0 0 0.4rem;
}

.offerta-card__meta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0;
    flex-wrap: wrap;
}

.offerta-card__meta-item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #64748b;
}

.offerta-card__meta-item + .offerta-card__meta-item::before {
    content: "·";
    margin: 0 0.4rem;
    color: #cbd5e1;
}

.offerta-card__bookmark {
    background: none;
    border: none;
    padding: 0.25rem;
    color: #c1c6d5;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    transition: color 0.15s;
    align-self: flex-start;
}

.offerta-card__bookmark:hover {
    color: #004e9f;
}

/* Card footer */
.offerta-card__footer {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 0.9rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.offerta-card__footer-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.offerta-card__footer-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Contract type badge */
.offerta-card__contract-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    display: inline-block;
    white-space: nowrap;
}

.offerta-card__contract-badge--green {
    background: #dcfce7;
    color: #166534;
}

.offerta-card__contract-badge--orange {
    background: #fef3c7;
    color: #92400e;
}

/* Match badge */
.offerta-card__match {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}

.offerta-card__match--high { background: #dcfce7; color: #166534; }
.offerta-card__match--mid  { background: #fef3c7; color: #92400e; }
.offerta-card__match--low  { background: #f1f5f9; color: #475569; }

/* Lock badge colors on hover — prevent Bootstrap Italia a:hover from overriding */
.offerta-card__title-link:hover .offerta-card__match--high,
.offerta-card:hover .offerta-card__match--high { background: #dcfce7 !important; color: #166534 !important; }

.offerta-card__title-link:hover .offerta-card__match--mid,
.offerta-card:hover .offerta-card__match--mid  { background: #fef3c7 !important; color: #92400e !important; }

.offerta-card__title-link:hover .offerta-card__match--low,
.offerta-card:hover .offerta-card__match--low  { background: #f1f5f9 !important; color: #475569 !important; }

/* Date */
.offerta-card__date {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: #64748b;
    white-space: nowrap;
}

/* CTA button */
.offerta-card__cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #004e9f !important;
    background: #eef4ff;
    border: 1.5px solid #c7d9f5;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.15s;
    white-space: nowrap;
}

.offerta-card__cta:hover {
    background: #004e9f;
    color: #fff !important;
    border-color: #004e9f;
}

/* Empty state */
.offerte-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #64748b;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8edf4;
}

.offerte-empty p {
    margin: 0.5rem 0 0;
    font-weight: 600;
    color: #334155;
}

.offerte-empty__sub {
    font-size: 0.88rem;
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

/* Load more */
.offerte-more {
    margin-top: 1rem;
}

.offerte-more__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    color: #004e9f;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.15s;
    font-family: inherit;
}

.offerte-more__btn:hover {
    background: #eef4ff;
    border-color: #c7d9f5;
    color: #004e9f;
}

/* ============================================================
   BASE FOOTER – redesign v2
   ============================================================ */

.base-footer {
    background: #0d2d5e;
    color: #fff;
}

/* Main body */
.base-footer__body {
    padding: 3rem 0 2.5rem;
}

.base-footer__grid {
    display: grid !important;
    grid-template-columns: 1.6fr 1fr 1.4fr !important;
    gap: 3rem;
    align-items: start;
}

/* Brand col */
.base-footer__brand-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem;
}

.base-footer__brand-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.base-footer__brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.base-footer__brand-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
}

/* Links col */
.base-footer__links-col {
    display: flex !important;
    flex-direction: column !important;
}

.base-footer__col-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 1rem;
}

.base-footer__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem;
}

.base-footer__list li {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

.base-footer__list li svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.4);
}

.base-footer__list li a {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    transition: color 0.15s;
}

.base-footer__list li a:hover {
    color: #fff !important;
}

/* Support card */
.base-footer__support-col {
    display: flex !important;
    flex-direction: column !important;
}

.base-footer__support-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 1.25rem 1.25rem 1.25rem;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 1rem;
}

.base-footer__support-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
}

.base-footer__support-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.2rem;
}

.base-footer__support-text {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 0.85rem;
}

.base-footer__support-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.15s;
}

.base-footer__support-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff !important;
}

/* Bottom bar */
.base-footer__bottom {
    background: #071d3f;
    padding: 1rem 0;
}

.base-footer__bottom-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.base-footer__bottom-inner p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    white-space: nowrap;
}

.base-footer__bottom-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.base-footer__bottom-nav a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55) !important;
    text-decoration: none !important;
    transition: color 0.15s;
    white-space: nowrap;
}

.base-footer__bottom-nav a:hover {
    color: #fff !important;
}

.base-footer__social {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem;
}

.base-footer__social-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin-right: 0.25rem;
}

.base-footer__social a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    transition: all 0.15s;
}

.base-footer__social a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 991px) {
    .base-footer__grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .base-footer__support-col {
        grid-column: 1 / -1;
    }

    .base-footer__bottom-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem;
    }
}

@media (max-width: 767px) {
    .base-footer__grid {
        grid-template-columns: 1fr !important;
    }

    .offerte-page {
        padding: 2rem 1rem 3rem;
    }

    .offerta-card__footer {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .offerta-card__footer-right {
        width: 100%;
        justify-content: space-between !important;
    }
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */

.login-page-body {
    background: #eef3fb;
}

.login-page {
    min-height: calc(100vh - 200px);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
}

/* Decorative blobs */
.login-page__blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.login-page__blob--tl {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 78, 159, 0.08) 0%, transparent 70%);
    top: -80px;
    left: -80px;
}

.login-page__blob--br {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(0, 78, 159, 0.06) 0%, transparent 70%);
    bottom: -60px;
    right: -60px;
}

/* Dot grids */
.login-page__dots {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(0, 78, 159, 0.18) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    width: 120px;
    height: 120px;
}

.login-page__dots--right {
    top: 20%;
    right: 8%;
}

.login-page__dots--left {
    bottom: 20%;
    left: 6%;
}

/* Card */
.login-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 32px rgba(0, 78, 159, 0.08);
    padding: 2.5rem 2.25rem 2.25rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

/* Shield decoration */
.login-card__shield {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    opacity: 0.9;
    pointer-events: none;
}

.login-card__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #004e9f;
    margin: 0 0 0.6rem;
}

.login-card__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #101d26;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem;
    line-height: 1.2;
}

.login-card__lead {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 1.75rem;
    max-width: 38ch;
}

/* Form */
.login-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
}

.login-form__error {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #dc2626;
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.login-form__field {
    margin-bottom: 1.1rem;
}

.login-form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}

.login-form__input-wrap {
    position: relative;
    display: flex !important;
    align-items: center !important;
}

.login-form__input-icon {
    position: absolute;
    left: 0.85rem;
    color: #94a3b8;
    pointer-events: none;
    flex-shrink: 0;
    z-index: 1;
}

/* Override allauth/Bootstrap Italia input styles */
.login-form__input-wrap input,
.login-form__input-wrap input[type="email"],
.login-form__input-wrap input[type="password"],
.login-form__input-wrap input[type="text"] {
    width: 100% !important;
    padding: 0.7rem 2.75rem 0.7rem 2.6rem !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    color: #101d26 !important;
    background: #fff !important;
    outline: none !important;
    transition: border-color 0.15s, box-shadow 0.15s !important;
    font-family: inherit !important;
    box-shadow: none !important;
}

.login-form__input-wrap input:focus {
    border-color: #004e9f !important;
    box-shadow: 0 0 0 3px rgba(0, 78, 159, 0.1) !important;
}

.login-form__input-wrap input::placeholder {
    color: #94a3b8 !important;
}

/* Password toggle button */
.login-form__pw-toggle {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    padding: 0.25rem;
    color: #94a3b8;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.15s;
    z-index: 1;
}

.login-form__pw-toggle:hover {
    color: #475569;
}

.login-form__forgot {
    text-align: right;
    margin-top: 0.4rem;
}

.login-form__forgot a {
    font-size: 0.82rem;
    color: #004e9f !important;
    text-decoration: none !important;
    font-weight: 500;
}

.login-form__forgot a:hover {
    text-decoration: underline !important;
}

.login-form__field-error {
    font-size: 0.78rem;
    color: #dc2626;
    margin: 0.3rem 0 0;
}

/* Submit button */
.login-form__submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: #004e9f;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    font-family: inherit;
    margin-top: 0.5rem;
}

.login-form__submit:hover {
    background: #003d7a;
}

.login-form__submit:active {
    transform: scale(0.99);
}

.login-form__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Register link */
.login-form__register {
    text-align: center;
    font-size: 0.88rem;
    color: #475569;
    margin: 1rem 0 0;
}

.login-form__register a {
    color: #004e9f !important;
    font-weight: 600;
    text-decoration: none !important;
}

.login-form__register a:hover {
    text-decoration: underline !important;
}

@media (max-width: 575px) {
    .login-card {
        padding: 2rem 1.25rem 1.75rem;
    }

    .login-card__shield {
        display: none;
    }

    .login-card__title {
        font-size: 1.5rem;
    }
}

/* ============================================================
   SIGNUP PAGE – role choice + registration form
   ============================================================ */

/* Wider card for the registration form (3 fields) */
.signup-card {
    max-width: 520px !important;
}

/* Even wider for the choice screen */
.signup-choice-card {
    max-width: 520px !important;
}

/* Role choice options */
.signup-choice__options {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.signup-choice__option {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1rem;
    padding: 1.1rem 1.1rem 1.1rem 1rem;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none !important;
    color: #101d26 !important;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    cursor: pointer;
}

.signup-choice__option:hover {
    border-color: #004e9f;
    background: #eef4ff;
    box-shadow: 0 2px 12px rgba(0, 78, 159, 0.08);
    color: #101d26 !important;
}

.signup-choice__option-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}

.signup-choice__option-icon--blue {
    background: #dce9ff;
    color: #004e9f;
}

.signup-choice__option-icon--indigo {
    background: #ede9fe;
    color: #4f46e5;
}

.signup-choice__option-body {
    flex: 1;
    min-width: 0;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.2rem;
}

.signup-choice__option-body strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #101d26;
    display: block;
}

.signup-choice__option-body span {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.45;
}

.signup-choice__option-arrow {
    color: #94a3b8;
    flex-shrink: 0;
    transition: color 0.15s, transform 0.15s;
}

.signup-choice__option:hover .signup-choice__option-arrow {
    color: #004e9f;
    transform: translateX(3px);
}

/* PA note */
.signup-choice__pa-note {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
}

.signup-choice__pa-note svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #94a3b8;
}

.signup-choice__pa-note strong {
    color: #334155;
}

@media (max-width: 575px) {
    .signup-card,
    .signup-choice-card {
        max-width: 100% !important;
    }

    .signup-choice__option-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
}

/* ============================================================
   CHI SIAMO PAGE
   ============================================================ */

.chi-siamo-body {
    background: #f8fafc;
}

/* ── Hero ─────────────────────────────────────────────────── */
.cs-hero {
    background: linear-gradient(155deg, #003b7a 0%, #004e9f 50%, #0066cc 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.cs-hero .container {
    position: relative;
}

.cs-hero__inner {
    max-width: 680px;
    position: relative;
    z-index: 2;
}

.cs-hero__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.55);
    margin: 0 0 1rem;
}

.cs-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0 0 1.25rem;
}

.cs-hero__lead {
    font-size: 1rem;
    color: rgba(210, 225, 255, 0.88);
    line-height: 1.7;
    margin: 0 0 2rem;
    max-width: 56ch;
}

.cs-hero__actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cs-hero__btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.7rem 1.4rem;
    border-radius: 7px;
    text-decoration: none !important;
    transition: all 0.15s;
    white-space: nowrap;
}

.cs-hero__btn--primary {
    background: #fff;
    color: #004e9f !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.cs-hero__btn--primary:hover {
    background: #eef4ff;
    color: #003d7a !important;
}

.cs-hero__btn--outline {
    border: 1.5px solid rgba(255,255,255,0.4);
    color: #fff !important;
    background: transparent;
}

.cs-hero__btn--outline:hover {
    border-color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.08);
}

.cs-hero__dots {
    position: absolute;
    top: 0;
    right: 5%;
    width: 160px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.2) 2px, transparent 2px);
    background-size: 18px 18px;
    pointer-events: none;
    z-index: 1;
}

/* ── Shared section styles ────────────────────────────────── */
.cs-section {
    padding: 5rem 0;
}

.cs-section--white { background: #fff; }
.cs-section--light { background: #f8fafc; }
.cs-section--blue  { background: #0d2d5e; color: #fff; }

.cs-section__heading {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.cs-section__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #004e9f;
    margin: 0 0 0.5rem;
}

.cs-section--blue .cs-section__eyebrow {
    color: rgba(255,255,255,0.55);
}

.cs-section__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #101d26;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem;
    line-height: 1.2;
}

.cs-section--blue .cs-section__title {
    color: #fff;
}

.cs-section__subtitle {
    font-size: 0.95rem;
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

.cs-section__body {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 1rem;
}

/* ── Mission two-col ──────────────────────────────────────── */
.cs-two-col {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 4rem;
    align-items: center;
}

.cs-two-col__text .cs-section__eyebrow { text-align: left; }
.cs-two-col__text .cs-section__title   { text-align: left; }

/* Stat grid */
.cs-stat-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.25rem;
}

.cs-stat {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem;
}

.cs-stat__num {
    font-size: 1.75rem;
    font-weight: 800;
    color: #004e9f;
    letter-spacing: -0.02em;
    line-height: 1;
}

.cs-stat__label {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
}

/* ── Actors ───────────────────────────────────────────────── */
.cs-actors {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem;
}

.cs-actor {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.cs-actor:hover {
    box-shadow: 0 8px 24px rgba(0,78,159,0.08);
    border-color: rgba(0,78,159,0.15);
}

.cs-actor__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.1rem;
    flex-shrink: 0;
}

.cs-actor__icon--blue   { background: #dce9ff; color: #004e9f; }
.cs-actor__icon--indigo { background: #ede9fe; color: #4f46e5; }
.cs-actor__icon--teal   { background: #d1fae5; color: #065f46; }

.cs-actor__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #101d26;
    margin: 0 0 0.5rem;
}

.cs-actor__text {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 1rem;
    flex: 1;
}

.cs-actor__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem;
}

.cs-actor__list li {
    font-size: 0.82rem;
    color: #64748b;
    padding-left: 1.1rem;
    position: relative;
}

.cs-actor__list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #004e9f;
    font-weight: 700;
}

/* ── Values ───────────────────────────────────────────────── */
.cs-values {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem;
}

.cs-value {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem;
}

.cs-value__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eef4ff;
    color: #004e9f;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

.cs-value h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #101d26;
    margin: 0;
}

.cs-value p {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ── Institution ──────────────────────────────────────────── */
.cs-institution {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.cs-institution__logo {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.cs-institution__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.5);
    margin: 0 0 0.4rem;
}

.cs-institution__title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.cs-institution__text {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.cs-institution__actions {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cs-institution__btn {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.55rem 1.2rem;
    border-radius: 7px;
    text-decoration: none !important;
    transition: all 0.15s;
    white-space: nowrap;
    background: #fff;
    color: #004e9f !important;
}

.cs-institution__btn:hover {
    background: #eef4ff;
    color: #003d7a !important;
}

.cs-institution__btn--ghost {
    background: transparent;
    color: rgba(255,255,255,0.8) !important;
    border: 1.5px solid rgba(255,255,255,0.3);
}

.cs-institution__btn--ghost:hover {
    background: rgba(255,255,255,0.08);
    color: #fff !important;
    border-color: rgba(255,255,255,0.6);
}

/* ── CTA section ──────────────────────────────────────────── */
.cs-cta-section {
    border-top: 1px solid #e2e8f0;
}

.cs-cta {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.cs-cta__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #101d26;
    letter-spacing: -0.02em;
    margin: 0 0 0.6rem;
}

.cs-cta__text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 1.75rem;
}

.cs-cta__actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cs-cta__btn {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: 7px;
    text-decoration: none !important;
    transition: all 0.15s;
    white-space: nowrap;
}

.cs-cta__btn--primary {
    background: #004e9f;
    color: #fff !important;
}

.cs-cta__btn--primary:hover {
    background: #003d7a;
    color: #fff !important;
}

.cs-cta__btn--secondary {
    background: #fff;
    color: #004e9f !important;
    border: 1.5px solid #c7d9f5;
}

.cs-cta__btn--secondary:hover {
    background: #eef4ff;
    border-color: #004e9f;
    color: #004e9f !important;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
    .cs-two-col {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    .cs-actors {
        grid-template-columns: 1fr !important;
    }

    .cs-values {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .cs-institution {
        flex-direction: column !important;
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .cs-hero {
        padding: 3.5rem 0 3rem;
    }

    .cs-section {
        padding: 3.5rem 0;
    }

    .cs-stat-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .cs-values {
        grid-template-columns: 1fr 1fr !important;
    }

    .cs-hero__dots {
        display: none;
    }
}

@media (max-width: 575px) {
    .cs-values {
        grid-template-columns: 1fr !important;
    }

    .cs-stat-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ============================================================
   CONTATTI PA PAGE
   ============================================================ */

.contatti-body {
    background: #f8fafc;
}

/* ── Hero ─────────────────────────────────────────────────── */
.contatti-hero {
    background: linear-gradient(155deg, #003b7a 0%, #004e9f 50%, #0066cc 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.contatti-hero .container {
    position: relative;
    z-index: 2;
}

.contatti-hero__dots {
    position: absolute;
    top: 0;
    right: 6%;
    width: 140px;
    height: 180px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.18) 2px, transparent 2px);
    background-size: 16px 16px;
    pointer-events: none;
    z-index: 1;
}

.contatti-breadcrumb {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.5rem;
}

.contatti-breadcrumb a {
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    transition: color 0.15s;
}

.contatti-breadcrumb a:hover {
    color: #fff !important;
}

.contatti-breadcrumb svg {
    color: rgba(255,255,255,0.35);
    flex-shrink: 0;
}

.contatti-hero__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.5);
    margin: 0 0 0.5rem;
}

.contatti-hero__title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.025em;
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.contatti-hero__lead {
    font-size: 0.95rem;
    color: rgba(210,225,255,0.85);
    line-height: 1.65;
    margin: 0;
    max-width: 56ch;
}

/* ── Contact cards ────────────────────────────────────────── */
.contatti-section {
    padding: 3rem 0 2rem;
}

.contatti-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem;
}

.contatti-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.contatti-card:hover {
    box-shadow: 0 8px 24px rgba(0,78,159,0.08);
    border-color: rgba(0,78,159,0.15);
}

.contatti-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.1rem;
    flex-shrink: 0;
}

.contatti-card__icon--blue   { background: #dce9ff; color: #004e9f; }
.contatti-card__icon--indigo { background: #ede9fe; color: #4f46e5; }
.contatti-card__icon--teal   { background: #d1fae5; color: #065f46; }

.contatti-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #101d26;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.contatti-card__desc {
    font-size: 0.83rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 1.25rem;
}

.contatti-card__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem;
    flex: 1;
}

.contatti-card__list li {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.contatti-card__list-label {
    font-weight: 700;
    color: #334155;
    min-width: 72px;
    flex-shrink: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.contatti-card__list-value {
    color: #475569;
    word-break: break-word;
}

.contatti-card__list-value a,
a.contatti-card__list-value {
    color: #004e9f !important;
    text-decoration: none !important;
}

.contatti-card__list-value a:hover,
a.contatti-card__list-value:hover {
    text-decoration: underline !important;
}

.contatti-card__address {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.7;
    font-style: normal;
    margin: 0 0 1.5rem;
    flex: 1;
}

.contatti-card__address strong {
    color: #101d26;
}

.contatti-card__cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #004e9f !important;
    background: #eef4ff;
    border: 1.5px solid #c7d9f5;
    padding: 0.5rem 1rem;
    border-radius: 7px;
    text-decoration: none !important;
    transition: all 0.15s;
    align-self: flex-start;
    margin-top: auto;
}

.contatti-card__cta:hover {
    background: #004e9f;
    color: #fff !important;
    border-color: #004e9f;
}

/* ── FOIA banner ──────────────────────────────────────────── */
.contatti-foia {
    padding: 0 0 2rem;
}

.contatti-foia__inner {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.contatti-foia__icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 14px;
    background: #fef3c7;
    color: #92400e;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}

.contatti-foia__body {
    flex: 1;
    min-width: 0;
}

.contatti-foia__title {
    font-size: 1rem;
    font-weight: 700;
    color: #101d26;
    margin: 0 0 0.25rem;
}

.contatti-foia__text {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
    line-height: 1.55;
}

.contatti-foia__btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #004e9f !important;
    background: #eef4ff;
    border: 1.5px solid #c7d9f5;
    padding: 0.6rem 1.1rem;
    border-radius: 7px;
    text-decoration: none !important;
    transition: all 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}

.contatti-foia__btn:hover {
    background: #004e9f;
    color: #fff !important;
    border-color: #004e9f;
}

/* ── Info strip ───────────────────────────────────────────── */
.contatti-strip {
    padding: 0 0 3.5rem;
}

.contatti-strip__grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1rem;
}

.contatti-strip__item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.1rem 1.1rem;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.75rem;
}

.contatti-strip__item svg {
    flex-shrink: 0;
    color: #004e9f;
    margin-top: 2px;
}

.contatti-strip__item div {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.15rem;
}

.contatti-strip__item strong {
    font-size: 0.82rem;
    font-weight: 700;
    color: #101d26;
    display: block;
}

.contatti-strip__item span,
.contatti-strip__item a {
    font-size: 0.78rem;
    color: #64748b;
}

.contatti-strip__item a {
    color: #004e9f !important;
    text-decoration: none !important;
}

.contatti-strip__item a:hover {
    text-decoration: underline !important;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
    .contatti-cards {
        grid-template-columns: 1fr 1fr !important;
    }

    .contatti-strip__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .contatti-cards {
        grid-template-columns: 1fr !important;
    }

    .contatti-foia__inner {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .contatti-strip__grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .contatti-hero__dots {
        display: none;
    }
}

@media (max-width: 575px) {
    .contatti-strip__grid {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================================
   MOBILE MENU – full-screen overlay
   ============================================================ */

/* Show toggle on small screens */
@media (max-width: 991px) {
    .home-navbar__toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

/* The overlay panel — hidden by default, sits below the navbar */
.home-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 999;
    display: flex !important;
    flex-direction: column !important;
    padding: 5rem 2rem 2.5rem;
    /* hidden state */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    overflow-y: auto;
}

.home-mobile-menu.is-open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

/* Nav links */
.home-mobile-menu__nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem;
    flex: 1;
}

.home-mobile-menu__link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #101d26 !important;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
    border-bottom: 1px solid #f1f5f9;
}

.home-mobile-menu__link:last-child {
    border-bottom: none;
}

.home-mobile-menu__link svg {
    color: #64748b;
    flex-shrink: 0;
    transition: color 0.15s;
}

.home-mobile-menu__link:hover,
.home-mobile-menu__link:focus {
    background: #eef4ff;
    color: #004e9f !important;
}

.home-mobile-menu__link:hover svg,
.home-mobile-menu__link:focus svg {
    color: #004e9f;
}

/* Action buttons */
.home-mobile-menu__actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.home-mobile-menu__btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.15s;
    text-align: center;
}

.home-mobile-menu__btn--outline {
    color: #004e9f !important;
    border: 2px solid #004e9f;
    background: transparent;
}

.home-mobile-menu__btn--outline:hover {
    background: #eef4ff;
}

.home-mobile-menu__btn--solid {
    color: #fff !important;
    background: #004e9f;
    border: 2px solid #004e9f;
}

.home-mobile-menu__btn--solid:hover {
    background: #003d7a;
    border-color: #003d7a;
}

/* Footer text */
.home-mobile-menu__footer {
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 1.25rem 0 0;
}

/* Keep the navbar on top of the overlay */
.home-navbar {
    z-index: 1000;
}

/* On desktop, never show the mobile menu */
@media (min-width: 992px) {
    .home-mobile-menu {
        display: none !important;
    }
}

/* ============================================================
   MATCHING RESULTS PAGE
   ============================================================ */

.matching-page-body {
    background: var(--youngme-surface, #f6faff);
}

/* ── Page header ──────────────────────────────────────────── */
.matching-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.matching-header__title {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: #101d26;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
    line-height: 1.2;
}

.matching-header__lead {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
    line-height: 1.55;
}

/* ── Banners ──────────────────────────────────────────────── */
.matching-banner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.6rem;
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.matching-banner--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.matching-banner--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* ── Filter card ──────────────────────────────────────────── */
.matching-filter-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.matching-filter-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    gap: 1rem;
    flex-wrap: wrap;
}

.matching-filter-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.3rem;
    min-width: 140px;
}

.matching-filter-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.matching-filter-input {
    padding: 0.5rem 0.75rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 7px;
    font-size: 0.88rem;
    color: #101d26;
    background: #fff;
    outline: none;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
    width: 100%;
}

.matching-filter-input:focus {
    border-color: #004e9f;
    box-shadow: 0 0 0 3px rgba(0,78,159,0.1);
}

.matching-filter-input--sm {
    max-width: 80px;
    text-transform: uppercase;
}

.matching-filter-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem;
    padding-bottom: 1px;
}

.matching-filter-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.15s;
    font-family: inherit;
    white-space: nowrap;
}

.matching-filter-btn--primary {
    background: #004e9f;
    color: #fff !important;
}

.matching-filter-btn--primary:hover {
    background: #003d7a;
    color: #fff !important;
}

.matching-filter-btn--ghost {
    background: #f1f5f9;
    color: #475569 !important;
    border: 1.5px solid #e2e8f0;
}

.matching-filter-btn--ghost:hover {
    background: #e2e8f0;
    color: #101d26 !important;
}

.matching-filter-count {
    margin-left: auto;
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
    padding-bottom: 2px;
}

/* ── Results table ────────────────────────────────────────── */
.matching-results {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

/* Table header row */
.matching-table-head {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0.65rem 1.25rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    gap: 0;
}

.matching-table-head .matching-col {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

/* Data row */
.matching-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    gap: 0;
    transition: background 0.12s;
}

.matching-row:last-child {
    border-bottom: none;
}

.matching-row:hover {
    background: #fafcff;
}

/* Column widths */
.matching-col--offer    { flex: 2.5; min-width: 0; padding-right: 1rem; }
.matching-col--company  { flex: 1.5; min-width: 0; padding-right: 0.75rem; }
.matching-col--location { flex: 1.2; min-width: 0; padding-right: 0.75rem; display: flex !important; align-items: center !important; gap: 0.3rem; font-size: 0.82rem; color: #64748b; }
.matching-col--score    { flex: 0.7; min-width: 60px; }
.matching-col--detail   { flex: 2; min-width: 0; padding-right: 0.75rem; }
.matching-col--action   { flex: 0 0 80px; text-align: right; }

.matching-row__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #101d26 !important;
    text-decoration: none !important;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s;
}

.matching-row__title:hover {
    color: #004e9f !important;
}

.matching-row__contract {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    margin-top: 0.2rem;
}

.matching-row__contract--green  { background: #dcfce7; color: #166534; }
.matching-row__contract--orange { background: #fef3c7; color: #92400e; }

.matching-row__company {
    font-size: 0.85rem;
    color: #004e9f;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Score badge */
.matching-score {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    min-width: 44px;
}

.matching-score--high { background: #dcfce7; color: #166534; }
.matching-score--mid  { background: #fef3c7; color: #92400e; }
.matching-score--low  { background: #f1f5f9; color: #475569; }

/* Detail text */
.matching-detail {
    font-size: 0.75rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.matching-detail--empty {
    color: #cbd5e1;
}

/* CTA button */
.matching-row__cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #004e9f !important;
    background: #eef4ff;
    border: 1.5px solid #c7d9f5;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.15s;
    white-space: nowrap;
}

.matching-row__cta:hover {
    background: #004e9f;
    color: #fff !important;
    border-color: #004e9f;
}

/* ── Pagination ───────────────────────────────────────────── */
.matching-pagination {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-bottom: 0.5rem;
}

.matching-page-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #004e9f !important;
    background: #fff;
    border: 1.5px solid #c7d9f5;
    padding: 0.45rem 0.9rem;
    border-radius: 7px;
    text-decoration: none !important;
    transition: all 0.15s;
}

.matching-page-btn:hover {
    background: #eef4ff;
    border-color: #004e9f;
}

.matching-page-info {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}

/* ── Empty state ──────────────────────────────────────────── */
.matching-empty {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 3.5rem 2rem;
    text-align: center;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem;
}

.matching-empty__icon {
    margin-bottom: 0.25rem;
}

.matching-empty__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #101d26;
    margin: 0;
}

.matching-empty__text {
    font-size: 0.88rem;
    color: #64748b;
    max-width: 40ch;
    line-height: 1.6;
    margin: 0;
}

.matching-empty__btn {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff !important;
    background: #004e9f;
    padding: 0.6rem 1.25rem;
    border-radius: 7px;
    text-decoration: none !important;
    margin-top: 0.25rem;
    transition: background 0.15s;
}

.matching-empty__btn:hover {
    background: #003d7a;
    color: #fff !important;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
    .matching-table-head {
        display: none !important;
    }

    .matching-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem;
        padding: 1rem 1.1rem;
    }

    .matching-col--offer,
    .matching-col--company,
    .matching-col--location,
    .matching-col--score,
    .matching-col--detail,
    .matching-col--action {
        flex: none !important;
        width: 100%;
        padding-right: 0;
    }

    .matching-col--action {
        text-align: left !important;
    }

    .matching-filter-form {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .matching-filter-count {
        margin-left: 0;
    }

    .matching-filter-input--sm {
        max-width: 100%;
    }
}

/* ============================================================
   GLOBAL BADGE HOVER FIX
   Prevent Bootstrap Italia a:hover from overriding badge colors
   ============================================================ */

/* chip--compat (dashboard compatible offers) */
a:hover .chip--compat,
[class*="card"]:hover .chip--compat {
    background: rgba(0, 78, 159, 0.07) !important;
    color: var(--youngme-accent) !important;
}

/* Contract badges in offerta cards */
a:hover .offerta-card__contract--green,
.offerta-card:hover .offerta-card__contract--green {
    background: #dcfce7 !important;
    color: #166534 !important;
}

a:hover .offerta-card__contract--orange,
.offerta-card:hover .offerta-card__contract--orange {
    background: #fef3c7 !important;
    color: #92400e !important;
}

/* Home offer card contract badges */
a:hover .home-offer-card__contract--green,
.home-offer-card:hover .home-offer-card__contract--green {
    background: #dcfce7 !important;
    color: #166534 !important;
}

a:hover .home-offer-card__contract--orange,
.home-offer-card:hover .home-offer-card__contract--orange {
    background: #fef3c7 !important;
    color: #92400e !important;
}

/* chip--contract (old offerte list) */
a:hover .chip--contract,
[class*="card"]:hover .chip--contract {
    background: #cee2f8 !important;
    color: #526577 !important;
}

/* ============================================================
   CARD HOVER – blue background + white text
   ============================================================ */

/* ── offerta-card (offerte/lista.html) ────────────────────── */
.offerta-card:hover {
    background: #004e9f !important;
    border-color: #004e9f !important;
    box-shadow: 0 8px 24px rgba(0, 78, 159, 0.25) !important;
}

.offerta-card:hover .offerta-card__title,
.offerta-card:hover .offerta-card__title-link,
.offerta-card:hover .offerta-card__company,
.offerta-card:hover .offerta-card__meta-item,
.offerta-card:hover .offerta-card__date,
.offerta-card:hover .offerta-card__footer {
    color: #fff !important;
    border-color: rgba(255,255,255,0.15) !important;
}

.offerta-card:hover .offerta-card__save {
    color: rgba(255,255,255,0.6) !important;
}

.offerta-card:hover .offerta-card__btn {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.4) !important;
    color: #fff !important;
}

.offerta-card:hover .offerta-card__btn:hover {
    background: #fff !important;
    color: #004e9f !important;
}

.offerta-card:hover .offerta-card__contract--green,
.offerta-card:hover .offerta-card__contract--orange {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
}

.offerta-card:hover .offerta-card__match--high,
.offerta-card:hover .offerta-card__match--mid,
.offerta-card:hover .offerta-card__match--low {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
}

/* ── home-offer-card (homepage) ───────────────────────────── */
.home-offer-card:hover {
    background: #004e9f !important;
    border-color: #004e9f !important;
    box-shadow: 0 8px 24px rgba(0, 78, 159, 0.25) !important;
}

.home-offer-card:hover .home-offer-card__title,
.home-offer-card:hover .home-offer-card__company,
.home-offer-card:hover .home-offer-card__meta-item,
.home-offer-card:hover .home-offer-card__date,
.home-offer-card:hover .home-offer-card__footer {
    color: #fff !important;
    border-color: rgba(255,255,255,0.15) !important;
}

.home-offer-card:hover .home-offer-card__save {
    color: rgba(255,255,255,0.6) !important;
}

.home-offer-card:hover .home-offer-card__btn {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.4) !important;
    color: #fff !important;
}

.home-offer-card:hover .home-offer-card__contract--green,
.home-offer-card:hover .home-offer-card__contract--orange {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
}

/* ── offer-list-card (old offerte list) ───────────────────── */
.offer-list-card:hover {
    background: #004e9f !important;
    border-color: #004e9f !important;
    box-shadow: 0 8px 24px rgba(0, 78, 159, 0.25) !important;
}

.offer-list-card:hover h2,
.offer-list-card:hover h3,
.offer-list-card:hover .offer-list-card__company,
.offer-list-card:hover .offer-list-card__meta-item,
.offer-list-card:hover .offer-list-card__date,
.offer-list-card:hover .offer-list-card__footer,
.offer-list-card--link:hover h2,
.offer-list-card--link:hover .offer-list-card__company,
.offer-list-card--link:hover .offer-list-card__meta-item {
    color: #fff !important;
}

.offer-list-card:hover .offer-list-card__match.is-high,
.offer-list-card:hover .offer-list-card__match.is-mid,
.offer-list-card:hover .offer-list-card__match.is-low,
.offer-list-card--link:hover .offer-list-card__match.is-high,
.offer-list-card--link:hover .offer-list-card__match.is-mid,
.offer-list-card--link:hover .offer-list-card__match.is-low {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.offer-list-card:hover .chip--contract,
.offer-list-card--link:hover .chip--contract {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
}

.offer-list-card:hover .btn,
.offer-list-card--link:hover .btn {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.4) !important;
    color: #fff !important;
}

/* ── profile-offer-card (profile_review.html) ─────────────── */
.profile-offer-card:hover {
    background: #004e9f !important;
    border-color: #004e9f !important;
    box-shadow: 0 8px 24px rgba(0, 78, 159, 0.25) !important;
}

.profile-offer-card:hover .profile-offer-card__title,
.profile-offer-card:hover .profile-offer-card__meta,
.profile-offer-card:hover .profile-offer-card__desc,
.profile-offer-card:hover .profile-offer-card__scadenza {
    color: #fff !important;
}

.profile-offer-card:hover .profile-offer-card__link {
    color: rgba(255,255,255,0.85) !important;
}

.profile-offer-card:hover .profile-offer-card__badge.is-high,
.profile-offer-card:hover .profile-offer-card__badge.is-mid {
    background: rgba(255,255,255,0.2) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* ── dash-offer-compact (dashboard) – no hover effect ──────── */
