:root {
    --tl-primary: #0f5fff;
    --tl-primary-text: #ffffff;
    --tl-primary-rgb: 15, 95, 255;
    --tl-secondary: #6c63ff;
    --tl-secondary-text: #ffffff;
    --tl-accent: #12c2e9;
    --tl-gradient-start: #041b2d;
    --tl-gradient-end: #062c4c;
    --app-header-offset: 56px;
    --app-main-footer-offset: 64px;
    --bs-success: #22c55e;
    --bs-success-rgb: 34, 197, 94;
    --bs-success-text-emphasis: #166534;
    --bs-success-bg-subtle: #dcfce7;
    --bs-success-border-subtle: #86efac;
}

.employer-quick-qa-page {
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
    color: #152238;
}

.employer-quick-qa-active,
.employer-quick-qa-config,
.employer-quick-qa-panel,
.employer-quick-qa-footer {
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.07);
}

.employer-quick-qa-active {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    width: fit-content;
    max-width: 100%;
    padding: 0.75rem 0.95rem;
    text-align: left;
}

.employer-quick-qa-active__icon,
.employer-quick-qa-panel__title > span,
.employer-quick-qa-recruiter-card__head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #eef4ff;
    color: #0f5fff;
}

.employer-quick-qa-active span,
.employer-quick-qa-eyebrow,
.employer-quick-qa-field > span {
    display: block;
    color: #667085;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.employer-quick-qa-active strong {
    display: block;
    max-width: 34rem;
    overflow: hidden;
    color: #101828;
    font-size: 0.98rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employer-quick-qa-active__chevron {
    color: #98a2b3;
    font-size: 0.82rem;
}

.employer-quick-qa-config {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(420px, 1.1fr);
    gap: 1rem 1.25rem;
    padding: 1.15rem;
}

.employer-quick-qa-config__intro h4,
.employer-quick-qa-panel h5,
.employer-quick-qa-history h5,
.employer-quick-qa-recruiter-card h5 {
    margin: 0;
}

.employer-quick-qa-config__intro p,
.employer-quick-qa-panel__title p,
.employer-quick-qa-recruiter-card__head p,
.employer-quick-qa-history .employer-ops-panel__head p {
    margin: 0.25rem 0 0;
    color: #667085;
    font-size: 0.88rem;
}

.employer-quick-qa-config__intro h4 {
    margin-top: 0.2rem;
    color: #101828;
    font-weight: 800;
}

.employer-quick-qa-config__fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.75rem;
}

.employer-quick-qa-field {
    display: grid;
    gap: 0.38rem;
}

.employer-quick-qa-field > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0 0.75rem;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #f8fafc;
}

.employer-quick-qa-field i {
    color: #0f5fff;
}

.employer-quick-qa-field .form-control,
.employer-quick-qa-field .form-select {
    min-height: 42px;
    padding: 0;
    border: 0;
    background-color: transparent;
    box-shadow: none;
}

.employer-quick-qa-field--wide {
    grid-column: 1 / -1;
}

.employer-quick-qa-field textarea.form-control {
    min-height: 72px;
    padding-top: 0.55rem;
    resize: vertical;
}

.employer-quick-qa-config__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: 0.55rem;
}

.employer-quick-qa-page[data-qa-mode="edit"] [data-qa-mode-toggle="edit"],
.employer-quick-qa-page[data-qa-mode="recruiter"] [data-qa-mode-toggle="recruiter"] {
    display: none;
}

.employer-quick-qa-mode-btn,
.employer-quick-qa-share,
.employer-quick-qa-regenerate {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #ffffff;
    color: #344054;
    font-weight: 750;
}

.employer-quick-qa-share {
    border-color: rgba(235, 87, 87, 0.22);
    background: #fff1f3;
    color: #c73650;
}

.employer-quick-qa-selected-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 0.8rem;
    border-radius: 999px;
    background: #eef4ff;
    color: #1b3a8a;
    font-size: 0.86rem;
    font-weight: 800;
}

.employer-quick-qa-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.44fr);
    gap: 1rem;
    align-items: start;
}

.employer-quick-qa-panel {
    padding: 1rem;
}

.employer-quick-qa-panel__head,
.employer-quick-qa-panel__title,
.employer-quick-qa-recruiter-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.employer-quick-qa-panel__title,
.employer-quick-qa-recruiter-card__head {
    justify-content: flex-start;
}

.employer-quick-qa-create,
.employer-quick-qa-session__actions .btn-primary,
.employer-quick-qa-footer .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border: 0;
    border-radius: 8px;
    background: #0f5fff;
    color: #ffffff;
    font-weight: 800;
}

.employer-quick-qa-form {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #f8fbff;
}

.employer-quick-qa-switch {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.employer-quick-qa-form__actions,
.employer-quick-qa-session__actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.employer-quick-qa-list,
.employer-quick-qa-answer-list,
.employer-quick-qa-history__list,
.employer-quick-qa-suggestion-list,
.employer-quick-qa-proposal-list,
.employer-quick-qa-invitation-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.employer-quick-qa-list,
.employer-quick-qa-answer-list,
.employer-quick-qa-suggestion-list {
    margin-top: 1rem;
}

.employer-quick-qa-question,
.employer-quick-qa-answer,
.employer-quick-qa-session-card,
.employer-quick-qa-suggestion,
.employer-quick-qa-proposal,
.employer-quick-qa-invitation {
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #ffffff;
}

.employer-quick-qa-question {
    display: grid;
    grid-template-columns: 20px 34px minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
    padding: 0.86rem;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.employer-quick-qa-question.is-selected {
    border-color: rgba(15, 95, 255, 0.34);
    box-shadow: inset 3px 0 0 #0f5fff, 0 8px 24px rgba(15, 95, 255, 0.06);
}

.employer-quick-qa-question.is-dragging {
    opacity: 0.55;
}

.employer-quick-qa-question.is-drop-target {
    border-color: #0f5fff;
}

.employer-quick-qa-question__drag {
    color: #98a2b3;
    cursor: grab;
    text-align: center;
}

.employer-quick-qa-question__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #eff8ff;
    color: #0f5fff;
}

.employer-quick-qa-question__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
}

.employer-quick-qa-question__meta span,
.employer-quick-qa-session-card__top span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0.12rem 0.48rem;
    border-radius: 999px;
    background: #f2f4f7;
    color: #475467;
    font-size: 0.72rem;
    font-weight: 700;
}

.employer-quick-qa-question__body p {
    margin: 0;
    color: #1d2939;
    font-weight: 650;
    line-height: 1.42;
}

.employer-quick-qa-question__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
}

.employer-quick-qa-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #ffffff;
    color: #667085;
}

.employer-quick-qa-icon-btn:hover,
.employer-quick-qa-icon-btn.is-primary {
    border-color: rgba(15, 95, 255, 0.22);
    background: #eef4ff;
    color: #0f5fff;
}

.employer-quick-qa-more-menu .dropdown-item {
    display: flex;
    align-items: center;
    font-weight: 650;
}

.employer-quick-qa-recruiter-card {
    padding: 0.35rem;
}

.employer-quick-qa-interview__candidate {
    margin: 1rem 0;
}

.employer-quick-qa-answer {
    padding: 1rem;
    background: #fbfcff;
}

.employer-quick-qa-answer__head {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.employer-quick-qa-answer__head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #0f5fff;
    color: #ffffff;
    font-weight: 800;
}

.employer-quick-qa-answer__head strong,
.employer-quick-qa-session-card__top strong {
    display: block;
    color: #101828;
}

.employer-quick-qa-answer__head small {
    display: block;
    color: #667085;
    margin-top: 0.15rem;
}

.employer-quick-qa-answer__dictation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.65rem;
}

.employer-quick-qa-answer__dictation span {
    color: #667085;
    font-size: 0.82rem;
}

.employer-quick-qa-dictate {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    border-radius: 999px;
    background: #fff1f3;
    color: #c73650;
    font-weight: 800;
}

.employer-quick-qa-ai {
    position: sticky;
    top: calc(var(--app-header-offset) + 1rem);
}

.employer-quick-qa-regenerate {
    min-height: 36px;
    font-size: 0.85rem;
}

.employer-quick-qa-ai-criteria {
    margin-top: 1rem;
    padding: 0.85rem;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #f8fafc;
}

.employer-quick-qa-ai-criteria strong {
    display: block;
    color: #101828;
    font-size: 0.9rem;
}

.employer-quick-qa-ai-criteria p {
    margin: 0.28rem 0 0.65rem;
    color: #667085;
    font-size: 0.82rem;
}

.employer-quick-qa-ai-criteria div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.employer-quick-qa-ai-criteria span,
.employer-quick-qa-suggestion__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #eef4ff;
    color: #1b3a8a;
    font-size: 0.74rem;
    font-weight: 800;
}

.employer-quick-qa-suggestion {
    padding: 0.85rem;
}

.employer-quick-qa-suggestion p {
    margin: 0.5rem 0 0.75rem;
    color: #1d2939;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.4;
}

.employer-quick-qa-suggestion__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
}

.employer-quick-qa-ai-note {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 0.55rem;
    margin-top: 1rem;
    padding: 0.8rem;
    border: 1px solid #f2c94c;
    border-radius: 8px;
    background: #fffbeb;
    color: #7a5300;
}

.employer-quick-qa-ai-note p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.38;
}

.employer-quick-qa-session-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.9rem;
}

.employer-quick-qa-session-card.is-completed {
    border-color: rgba(47, 191, 113, 0.45);
}

.employer-quick-qa-session-card__top,
.employer-quick-qa-session-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.employer-quick-qa-session-card__meta {
    margin-top: 0.3rem;
    color: #667085;
    font-size: 0.86rem;
}

.employer-quick-qa-session-card__meta span {
    display: inline-flex;
    align-items: center;
}

.employer-quick-qa-history {
    padding: 1rem;
}

.employer-quick-qa-proposals,
.employer-quick-qa-invitations {
    padding: 1rem;
}

.employer-quick-qa-proposal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 0.9rem;
}

.employer-quick-qa-proposal__actions,
.employer-quick-qa-invitation__actions {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.employer-quick-qa-invitation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.9rem;
}

.employer-quick-qa-invitation.is-active {
    border-color: rgba(47, 191, 113, 0.42);
}

.employer-quick-qa-invitation__main strong,
.employer-quick-qa-invitation__main span,
.employer-quick-qa-invitation__main small {
    display: block;
}

.employer-quick-qa-invitation__main span,
.employer-quick-qa-invitation__main small {
    color: #667085;
    font-size: 0.84rem;
}

.employer-quick-qa-expiry-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.employer-quick-qa-share-result {
    padding: 0.85rem;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #f8fafc;
}

.employer-quick-qa-footer {
    position: sticky;
    bottom: 0.75rem;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    padding: 0.65rem;
}

@media (max-width: 1199.98px) {
    .employer-quick-qa-config {
        grid-template-columns: 1fr;
    }

    .employer-quick-qa-grid {
        grid-template-columns: 1fr;
    }

    .employer-quick-qa-ai {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .employer-quick-qa-active,
    .employer-quick-qa-config__fields,
    .employer-quick-qa-panel__head,
    .employer-quick-qa-question,
    .employer-quick-qa-session-card,
    .employer-quick-qa-proposal,
    .employer-quick-qa-invitation {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .employer-quick-qa-active {
        width: 100%;
    }

    .employer-quick-qa-config__actions,
    .employer-quick-qa-footer {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .employer-quick-qa-question__actions,
    .employer-quick-qa-session__actions {
        justify-content: stretch;
    }

    .employer-quick-qa-question__actions .btn,
    .employer-quick-qa-session__actions .btn,
    .employer-quick-qa-session-card .btn,
    .employer-quick-qa-config__actions .btn,
    .employer-quick-qa-footer .btn,
    .employer-quick-qa-proposal__actions .btn,
    .employer-quick-qa-invitation__actions .btn {
        width: 100%;
    }

    .employer-quick-qa-question__drag,
    .employer-quick-qa-question__check {
        align-self: flex-start;
    }
}

.quick-qa-public-page {
    min-height: calc(100vh - 120px);
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
    background: #f5f7fa;
}

.quick-qa-public-card {
    width: min(760px, 100%);
    padding: 1.5rem;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.08);
}

.quick-qa-public-head span {
    color: #0f5fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.quick-qa-public-head h1 {
    margin: 0.25rem 0 0;
    color: #101828;
    font-weight: 850;
}

.quick-qa-public-head p {
    margin: 0.45rem 0 0;
    color: #667085;
}

.quick-qa-public-context {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.25rem 0;
}

.quick-qa-public-context > div {
    padding: 0.85rem;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background: #f8fafc;
}

.quick-qa-public-context span {
    display: block;
    color: #667085;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.quick-qa-public-context strong {
    display: block;
    margin-top: 0.25rem;
    color: #101828;
}

.quick-qa-public-actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 767.98px) {
    .quick-qa-public-context {
        grid-template-columns: 1fr;
    }

    .quick-qa-public-actions .btn {
        width: 100%;
    }
}

.public-share-page {
    min-height: 100vh;
    background: #f5f7fa;
}

.public-share-page__hero {
    background: transparent;
    border-bottom: 0;
}

.public-share-page__hero-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.public-share-page__card {
    background: #ffffff;
    border: 0;
    border-radius: 1.25rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    padding: 1.25rem 1.5rem;
}

.public-share-page__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #526173;
}

.public-share-page__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #edf4ff;
    color: #17325c;
}

.public-share-review-toolbar {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(15, 42, 95, 0.10);
    border-radius: 1.15rem;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    padding: 1rem;
}

.public-share-review-toolbar__summary,
.public-share-review-toolbar__filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.public-share-review-toolbar__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.public-share-review-stat {
    display: grid;
    min-width: 8.2rem;
    border: 1px solid #e4e7ec;
    border-radius: 0.85rem;
    background: #f8fafc;
    padding: 0.62rem 0.75rem;
}

.public-share-review-stat strong {
    color: #101828;
    font-size: 1.25rem;
    line-height: 1;
}

.public-share-review-stat span {
    color: #667085;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.public-share-review-stat--pending {
    border-color: #fed7aa;
    background: #fff7ed;
}

.public-share-review-stat--commented {
    border-color: #99f6e4;
    background: #f0fdfa;
}

.public-share-review-progress {
    width: min(24rem, 100%);
    height: 0.42rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e4e7ec;
}

.public-share-review-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f2a5f 0%, #2ec4b6 100%);
    transition: width 0.2s ease;
}

.public-share-review-search {
    max-width: 28rem;
}

.public-share-review-sort {
    max-width: 14rem;
}

.public-share-review-filter {
    display: inline-flex;
    gap: 0.3rem;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #f8fafc;
    padding: 0.25rem;
}

.public-share-review-filter__button {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #516072;
    font-size: 0.82rem;
    font-weight: 750;
    padding: 0.42rem 0.72rem;
}

.public-share-review-filter__button:hover,
.public-share-review-filter__button:focus {
    color: #0f2a5f;
    outline: 0;
}

.public-share-review-filter__button.is-active {
    background: #0f2a5f;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 42, 95, 0.16);
}

.public-share-review-toolbar__result {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #667085;
    font-size: 0.82rem;
    font-weight: 700;
}

.public-share-review-toolbar__result [data-public-visible-count] {
    color: #0f2a5f;
}

.public-ai-compare-launch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(15, 42, 95, 0.12);
    border-radius: 1.15rem;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    padding: 1rem;
}

.public-ai-compare-launch__button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 0.85rem;
    background: #2ec4b6;
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 12px 22px rgba(46, 196, 182, 0.22);
}

.public-ai-compare {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(15, 42, 95, 0.12);
    border-radius: 1.15rem;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    padding: 1rem;
}

.public-ai-compare.ai-compare-workspace {
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.public-ai-compare-dialog .modal-content {
    border: 0;
    border-radius: 1rem;
    overflow: hidden;
}

.public-ai-compare-dialog .modal-body {
    background: #f8fafc;
}

.public-ai-compare__head,
.public-ai-compare__panel-head,
.public-ai-compare__tools,
.public-ai-compare__run {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.public-ai-compare__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.8fr) minmax(0, 1.15fr);
    gap: 0.9rem;
}

.public-ai-compare__panel {
    min-width: 0;
    border: 1px solid #e4e7ec;
    border-radius: 0.9rem;
    background: #fbfdff;
    padding: 0.85rem;
}

.public-ai-compare__panel h3 {
    margin: 0;
    color: #101828;
    font-size: 0.95rem;
    font-weight: 800;
}

.public-ai-compare__tools {
    align-items: stretch;
    margin: 0.75rem 0;
}

.public-ai-compare__tools .input-group {
    min-width: 0;
}

.public-ai-compare__candidate-list,
.public-ai-compare__history,
.public-ai-compare__result {
    display: grid;
    gap: 0.55rem;
}

.public-ai-compare__candidate-list,
.public-ai-compare__history {
    max-height: 23rem;
    overflow: auto;
    padding-right: 0.15rem;
}

.public-ai-compare-candidate,
.public-ai-compare-history-item,
.public-ai-compare-result-card {
    border: 1px solid #e4e7ec;
    border-radius: 0.75rem;
    background: #ffffff;
    padding: 0.7rem;
}

.public-ai-compare-candidate {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
}

.public-ai-compare-candidate.is-selected {
    border-color: #2ec4b6;
    background: #f0fdfa;
}

.public-ai-compare-candidate input {
    flex: 0 0 auto;
}

.public-ai-compare-candidate img,
.public-ai-compare-result-card img {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 0.7rem;
    object-fit: cover;
    background: #edf4ff;
}

.public-ai-compare-candidate__body,
.public-ai-compare-result-card__body {
    min-width: 0;
    flex: 1 1 auto;
}

.public-ai-compare-candidate__body strong,
.public-ai-compare-result-card__body strong {
    display: block;
    overflow: hidden;
    color: #101828;
    font-size: 0.9rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-ai-compare-candidate__body small,
.public-ai-compare-result-card__body small {
    display: block;
    overflow: hidden;
    color: #667085;
    font-size: 0.76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-ai-compare__run {
    align-items: end;
    margin-top: 0.8rem;
}

.public-ai-compare__run .form-control {
    max-width: 7rem;
}

.public-ai-compare-history-item {
    width: 100%;
    color: inherit;
    text-align: left;
}

.public-ai-compare-history-item:hover,
.public-ai-compare-history-item:focus {
    border-color: #2ec4b6;
    outline: 0;
}

.public-ai-compare-history-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.public-ai-compare-history-item__meta span,
.public-ai-compare-confidential {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f2f4f7;
    color: #667085;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.24rem 0.52rem;
}

.public-ai-compare-result-card__head {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.public-ai-compare-result-card__rank {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #0f2a5f;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 0.28rem 0.55rem;
}

.public-ai-compare-result-card.is-confidential {
    background: #f8fafc;
}

.public-ai-compare-result-card__detail {
    margin-top: 0.65rem;
    color: #344054;
    font-size: 0.82rem;
    line-height: 1.45;
}

.public-ai-compare-empty {
    border: 1px dashed #d0d5dd;
    border-radius: 0.75rem;
    color: #667085;
    font-size: 0.86rem;
    padding: 0.85rem;
    text-align: center;
}

.public-share-candidate__header {
    display: flex;
    gap: 1rem;
    flex: 1 1 0;
    min-width: 0;
}

.public-share-candidate__avatar {
    width: 84px;
    height: 84px;
    border-radius: 1rem;
    object-fit: cover;
    border: 1px solid rgba(15, 95, 255, 0.12);
    background: #f3f7ff;
    flex: 0 0 auto;
}

.public-share-candidate__copy {
    min-width: 0;
}

.public-share-candidate__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.public-share-candidate__chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: #f4f7fb;
    color: #516072;
    font-size: 0.875rem;
}

.public-share-candidate__content {
    flex: 1 1 420px;
    min-width: 0;
}

.public-share-video video {
    min-height: 220px;
    max-height: 360px;
    object-fit: contain;
}

.public-share-comments__list {
    display: grid;
    gap: 0.75rem;
}

.public-share-comments__item {
    background: #f8fafc;
    border: 1px solid rgba(15, 95, 255, 0.08);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
}

.public-share-comments__item-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
    color: #516072;
}

.candidate-share-public-comments-check {
    padding: 0.8rem 1rem;
    border: 1px solid rgba(15, 95, 255, 0.12);
    border-radius: 1rem;
    background: #f8fbff;
}

.public-share-candidate-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(15, 95, 255, 0.1);
    border-radius: 1.25rem;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.public-share-candidate-card.is-reviewed {
    border-color: rgba(34, 197, 94, 0.42);
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(240, 253, 244, 0.94) 42%),
        #ffffff;
    box-shadow: 0 18px 38px rgba(22, 163, 74, 0.16);
}

.public-share-candidate-card.is-reviewed::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.35rem;
    border-radius: 1.25rem 0 0 1.25rem;
    background: linear-gradient(180deg, #22c55e, #0f766e);
}

.public-share-candidate-card__main {
    display: block;
    flex: 1 1 auto;
    color: inherit;
}

.public-share-candidate-card__main:hover,
.public-share-candidate-card__main:focus {
    color: inherit;
}

.public-share-candidate-card__footer {
    padding: 0 1.5rem 1.5rem;
}

.public-share-candidate-card:hover,
.public-share-candidate-card:focus-within {
    border-color: rgba(15, 95, 255, 0.24);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
    color: inherit;
}

.public-share-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 2rem;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    background: #f8fafc;
    color: #516072;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.36rem 0.45rem 0.36rem 0.7rem;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.public-share-review-badge i {
    font-size: 0.72rem;
}

.public-share-review-badge strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    border-radius: 999px;
    background: #ffffff;
    color: inherit;
    font-size: 0.68rem;
}

.public-share-review-badge.is-pending {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #9a3412;
}

.public-share-review-badge.is-commented {
    border-color: rgba(20, 184, 166, 0.5);
    background: linear-gradient(135deg, #ccfbf1, #ffffff);
    color: #0f766e;
}

.public-share-review-badge.is-reviewed {
    border-color: rgba(34, 197, 94, 0.56);
    background: linear-gradient(135deg, #bbf7d0, #f0fdf4);
    color: #166534;
    box-shadow: 0 12px 28px rgba(22, 163, 74, 0.2);
}

.public-share-review-toggle {
    width: 100%;
    margin-top: 0;
    border-radius: 0.85rem;
    font-weight: 750;
}

.public-share-review-empty {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 1rem;
    background: #ffffff;
    color: #667085;
    padding: 1.4rem;
    text-align: center;
}

.public-share-review-empty i {
    color: #0f2a5f;
    font-size: 1.4rem;
}

.public-share-review-empty strong {
    color: #101828;
}

@media (max-width: 767.98px) {
    .public-share-page__hero-header {
        flex-direction: column;
        align-items: stretch;
    }

    .public-share-review-toolbar__summary,
    .public-share-review-toolbar__filters {
        align-items: stretch;
        flex-direction: column;
    }

    .public-share-review-toolbar__stats,
    .public-share-review-search,
    .public-share-review-sort {
        width: 100%;
        max-width: none;
    }

    .public-share-review-stat {
        flex: 1 1 calc(50% - 0.3rem);
        min-width: 0;
    }

    .public-share-review-filter {
        width: 100%;
        border-radius: 0.85rem;
    }

    .public-share-review-filter__button {
        flex: 1 1 0;
        padding-right: 0.45rem;
        padding-left: 0.45rem;
    }

    .public-ai-compare-launch {
        align-items: stretch;
        flex-direction: column;
    }

    .public-ai-compare-launch__button {
        width: 100%;
    }

    .public-ai-compare__head,
    .public-ai-compare__panel-head,
    .public-ai-compare__tools,
    .public-ai-compare__run {
        align-items: stretch;
        flex-direction: column;
    }

    .public-ai-compare__grid {
        grid-template-columns: 1fr;
    }

    .public-ai-compare__run .form-control {
        max-width: none;
    }
}

.public-share-candidate-card__avatar,
.public-share-modal__avatar {
    width: 72px;
    height: 72px;
    border-radius: 1rem;
    object-fit: cover;
    border: 1px solid rgba(15, 95, 255, 0.14);
    background: #f3f7ff;
    flex: 0 0 auto;
}

.public-share-modal__section {
    border-radius: 1.1rem;
}

.public-share-section-list {
    display: grid;
    gap: 0.75rem;
}

.public-share-section-item {
    border: 1px solid rgba(15, 95, 255, 0.08);
    border-radius: 1rem;
    background: #f8fafc;
    padding: 0.85rem 0.95rem;
}

body {
    margin: 0;
    background-color: #f5f7fb;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[hidden],
.d-none,
.collapse:not(.show),
.modal.fade:not(.show):not([style*="display: block"]) {
    display: none !important;
}

#app-toast-container {
    position: fixed !important;
    inset: 0 0 auto auto !important;
    width: auto !important;
    max-width: min(380px, 100vw) !important;
    padding: 0.75rem !important;
    z-index: 2147483000 !important;
    pointer-events: none;
}

#app-toast-container > *,
body > .swal2-container.swal2-top-end .swal2-popup {
    pointer-events: auto;
}

body > .swal2-container.swal2-top-end {
    position: fixed !important;
    inset: 0 0 auto auto !important;
    width: auto !important;
    max-width: min(390px, 100vw) !important;
    min-height: 0 !important;
    padding: 0.75rem !important;
    overflow: visible !important;
    z-index: 2147483000 !important;
}

[data-bs-toggle="tooltip"],
[data-bs-toggle="tooltip"] * {
    cursor: pointer;
}

.tooltip,
.tooltip *,
.tooltip .tooltip-inner,
.swal2-popup.swal2-toast,
.swal2-popup.swal2-toast *,
.swal2-popup.swal2-toast .swal2-timer-progress-bar {
    cursor: pointer !important;
}

.tooltip.app-tooltip-dynamic {
    --bs-tooltip-opacity: 1;
}

.tooltip.app-tooltip-dynamic .tooltip-inner {
    background: var(--bs-tooltip-bg);
    color: var(--bs-tooltip-color);
    border: 1px solid var(--bs-tooltip-border-color);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.tooltip.app-tooltip-dynamic[data-popper-placement^="top"] .tooltip-arrow::before {
    border-top-color: var(--bs-tooltip-border-color);
}

.tooltip.app-tooltip-dynamic[data-popper-placement^="bottom"] .tooltip-arrow::before {
    border-bottom-color: var(--bs-tooltip-border-color);
}

.tooltip.app-tooltip-dynamic[data-popper-placement^="start"] .tooltip-arrow::before {
    border-left-color: var(--bs-tooltip-border-color);
}

.tooltip.app-tooltip-dynamic[data-popper-placement^="end"] .tooltip-arrow::before {
    border-right-color: var(--bs-tooltip-border-color);
}

.bg-purple {
    background-color: #6f42c1 !important;
    color: #ffffff !important;
}

.company-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.company-row:hover {
    background-color: rgba(15, 95, 255, 0.05);
}

.company-row .company-expand-arrow {
    transition: transform 0.2s ease;
}

.company-row.is-expanded .company-expand-arrow {
    transform: rotate(180deg);
}

.company-expand-inner {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.25s ease, opacity 0.2s ease;
}

.company-expand-inner.is-open {
    opacity: 1;
}

.main-content {
    padding-top: 0.4rem !important;
}

.app-main-column {
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--app-header-offset, 56px));
}

.main-content > footer {
    margin-top: auto;
}

.app-duplicate-page-title {
    display: none !important;
}

.onboarding-section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.onboarding-section-title {
    flex: 1;
    min-width: 0;
}

.onboarding-section-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .onboarding-section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
    }
}

.onboarding-section-body {
    margin-top: 1rem;
}

.onboarding-section-panel {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 16px;
    background: #ffffff;
    padding: 1.15rem;
}

.onboarding-section-panel.bg-danger-subtle {
    background-color: var(--bs-danger-bg-subtle) !important;
}

.onboarding-section-panel.bg-warning-subtle {
    background-color: var(--bs-warning-bg-subtle) !important;
}

.onboarding-section-panel.bg-success-subtle {
    background-color: var(--bs-success-bg-subtle) !important;
}

.onboarding-helper-panel {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #f8fafc;
    padding: 1rem;
}

.onboarding-record-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1.25rem;
    background-color: #ffffff;
}

.onboarding-record-card.is-draggable {
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.onboarding-record-card.is-draggable:hover {
    border-color: rgba(46, 196, 182, 0.45);
    box-shadow: 0 0.75rem 1.75rem rgba(16, 24, 40, 0.08);
}

.onboarding-empty-state {
    border-radius: 16px;
}

.onboarding-order-fallback {
    opacity: 0.78;
}

.onboarding-order-fallback .btn {
    width: 2rem;
    padding-left: 0;
    padding-right: 0;
}

#onboarding-education .education-list,
#onboarding-certifications .certification-list,
#onboarding-languages .language-list,
#onboarding-skills .skill-list,
#onboarding-achievements .achievement-list {
    margin-top: 0 !important;
}

#onboarding-achievements .achievement-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#onboarding-achievements .achievement-list > .onboarding-collection-empty {
    width: 100%;
}

/* Ajuste visual de paneles de skills en editar cargo (admin/labor_sectors) */
.role-skill-collapse-card {
    border-radius: 0.65rem;
    overflow: hidden;
}

.role-skill-collapse-body {
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    border-bottom-left-radius: 0.65rem;
    border-bottom-right-radius: 0.65rem;
}

.role-skill-selected-wrap {
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
    background: rgba(15, 23, 42, 0.02);
}

.role-skill-selected-wrap .badge {
    padding: 0.4rem 0.55rem;
}

.role-skill-remove-btn {
    text-decoration: none;
}

.role-skill-remove-btn:hover,
.role-skill-remove-btn:focus {
    text-decoration: none;
    color: #dc2626 !important;
}

/* Step 3 compact content inside expanded panels */
#onboarding-education .education-card,
#onboarding-certifications .certification-card,
#onboarding-languages .language-card,
#onboarding-skills .skill-card {
    padding: 1rem;
    border-radius: 0.85rem;
}

#onboarding-languages .language-card {
    padding: 0.75rem;
}

#onboarding-certifications .certification-list {
    display: grid;
    gap: 0.85rem;
}

#onboarding-certifications .certification-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(15, 42, 95, 0.12);
    border-radius: 1rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.94)),
        #fff;
    box-shadow: 0 14px 34px rgba(11, 31, 68, 0.08);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

#onboarding-certifications .certification-card:hover {
    border-color: rgba(46, 196, 182, 0.46);
    box-shadow: 0 18px 42px rgba(11, 31, 68, 0.13);
    transform: translateY(-1px);
}

.certification-card__accent {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.36rem;
    background: linear-gradient(180deg, #2ec4b6 0%, #0f2a5f 100%);
}

.certification-card__main {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.15rem 1.15rem 1.15rem 1.35rem;
}

.certification-card__mark {
    display: inline-grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border: 1px solid rgba(46, 196, 182, 0.34);
    border-radius: 0.9rem;
    color: #0f2a5f;
    background:
        radial-gradient(circle at 30% 20%, rgba(94, 218, 208, 0.38), transparent 58%),
        linear-gradient(145deg, rgba(46, 196, 182, 0.16), rgba(15, 42, 95, 0.06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.certification-card__mark i {
    font-size: 1.18rem;
}

.certification-card__content {
    min-width: 0;
}

.certification-card__header {
    display: flex;
    justify-content: space-between;
    gap: 0.85rem;
    align-items: flex-start;
}

.certification-card__title {
    margin: 0;
    color: #0b1f44;
    font-size: 1.04rem;
    font-weight: 800;
    line-height: 1.28;
}

.certification-card__year {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 1.85rem;
    border: 1px solid rgba(15, 42, 95, 0.1);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.1;
    flex: 0 0 auto;
    padding: 0.35rem 0.68rem;
    color: #0f2a5f;
    background: rgba(46, 196, 182, 0.11);
}

.certification-card__year i,
.certification-card__meta-icon i {
    color: #22afa3;
}

.certification-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.9rem;
}

.certification-card__meta-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.62rem;
    align-items: center;
    min-width: 0;
    padding: 0.72rem 0.78rem;
    border: 1px solid rgba(15, 42, 95, 0.1);
    border-radius: 0.82rem;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.certification-card__meta-icon {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 0.65rem;
    background: rgba(46, 196, 182, 0.12);
}

.certification-card__meta-label {
    display: block;
    margin-bottom: 0.12rem;
    color: #667085;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.certification-card__meta-item strong {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    color: #0b1f44;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.22;
}

.certification-card__notes {
    margin: 0.8rem 0 0;
    color: #667085;
    font-size: 0.86rem;
    line-height: 1.5;
}

.certification-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    padding: 0.48rem 0.78rem;
    border: 1px solid rgba(15, 42, 95, 0.12);
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #0f2a5f, #22afa3);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(15, 42, 95, 0.16);
}

.certification-card__link:hover,
.certification-card__link:focus {
    color: #fff;
    background: linear-gradient(135deg, #0b1f44, #2ec4b6);
    text-decoration: none;
}

.certification-card__actions {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    padding: 0.28rem;
    border: 1px solid rgba(15, 42, 95, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 22px rgba(11, 31, 68, 0.08);
}

.certification-card__action {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: #0f2a5f;
    background: transparent;
    transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.certification-card__action:hover,
.certification-card__action:focus {
    color: #0b1f44;
    background: rgba(46, 196, 182, 0.16);
    transform: translateY(-1px);
}

.certification-card__action--danger {
    color: #b42318;
}

.certification-card__action--danger:hover,
.certification-card__action--danger:focus {
    color: #fff;
    background: #eb5757;
}

.certification-card__action-divider {
    width: 1px;
    height: 1.25rem;
    background: rgba(15, 42, 95, 0.12);
}

.certification-drag-handle {
    cursor: grab;
}

.certification-drag-handle:active {
    cursor: grabbing;
}

.certification-card--chosen,
.certification-card.is-draggable:hover {
    border-color: rgba(46, 196, 182, 0.45);
    box-shadow: 0 18px 38px rgba(11, 31, 68, 0.12);
}

.certification-card--dragging {
    opacity: 0.88;
    transform: scale(0.995);
}

.certification-card--ghost {
    background-color: #f5fffd;
    border-color: rgba(46, 196, 182, 0.55);
}

@media (max-width: 767.98px) {
    .certification-card__main {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 1rem 1rem 1rem 1.25rem;
    }

    .certification-card__actions {
        grid-column: 1 / -1;
        justify-self: flex-start;
        margin-left: 4rem;
    }

    .certification-card__header {
        flex-direction: column;
        gap: 0.55rem;
    }

    .certification-card__meta {
        grid-template-columns: 1fr;
    }
}

.legal-policy-table-wrap {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.85rem;
    background: #fff;
    overflow: hidden;
}

.legal-policy-table thead th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.legal-policy-col-handle,
.legal-policy-cell-handle {
    width: 44px;
}

.legal-policy-drag {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
    cursor: grab;
    transition: all 0.2s ease;
}

.legal-policy-table tbody tr:hover .legal-policy-drag {
    color: var(--tl-primary);
    border-color: rgba(var(--tl-primary-rgb), 0.35);
    background: rgba(var(--tl-primary-rgb), 0.08);
}

.legal-policy-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.legal-policy-pagination {
    display: inline-flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.legal-policy-meta-card {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.litepicker {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    z-index: 1200;
}

.litepicker .container__main {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.15);
}

.litepicker .container__months .month-item-name,
.litepicker .container__months .month-item-year {
    font-weight: 600;
    color: #0f172a;
}

.litepicker .container__months select.month-item-name,
.litepicker .container__months select.month-item-year {
    border: 1px solid #d0d5dd;
    border-radius: 4px;
    background-color: #ffffff;
    color: #344054;
    box-shadow: none;
}

.litepicker .container__months select.month-item-name:focus,
.litepicker .container__months select.month-item-year:focus {
    border-color: #9db7df;
    outline: 0;
    box-shadow: 0 0 0 0.18rem rgba(15, 42, 95, 0.12);
}

.litepicker .container__days .day-item {
    border-radius: 10px;
}

.litepicker .container__days .day-item.is-today {
    color: var(--tl-primary);
    font-weight: 600;
}

.litepicker .container__days .day-item.is-start-date,
.litepicker .container__days .day-item.is-end-date,
.litepicker .container__days .day-item.is-in-range {
    background: rgba(var(--tl-primary-rgb), 0.12);
}

.litepicker .container__days .day-item.is-start-date,
.litepicker .container__days .day-item.is-end-date {
    background: var(--tl-primary);
    color: #fff;
}

.btn-primary {
    background-color: var(--tl-primary);
    border-color: var(--tl-primary);
    color: var(--tl-primary-text);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--tl-primary);
    border-color: var(--tl-primary);
    filter: brightness(0.9);
    color: var(--tl-primary-text);
}

.btn-outline-secondary {
    color: var(--tl-secondary);
    border-color: var(--tl-secondary);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: var(--tl-secondary);
    border-color: var(--tl-secondary);
    color: var(--tl-secondary-text);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
}

.btn-cv-download {
    background: linear-gradient(135deg, #f03d3d, #c81e1e);
    border: 1px solid #b61b1b;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.6rem 1.15rem;
    border-radius: 0.6rem;
    box-shadow: 0 10px 18px rgba(200, 30, 30, 0.25);
    letter-spacing: 0.2px;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-cv-download:hover,
.btn-cv-download:focus {
    background: linear-gradient(135deg, #ff4a4a, #b51616);
    border-color: #a51414;
    color: #ffffff;
    box-shadow: 0 12px 20px rgba(200, 30, 30, 0.35);
    transform: translateY(-1px);
}

.btn-cv-secondary {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.15rem;
    border-radius: 0.6rem;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.1);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.candidate-profile-body .btn-cv-secondary,
.candidate-profile-body .btn-cv-download {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.candidate-profile-body .btn-cv-secondary:hover,
.candidate-profile-body .btn-cv-secondary:focus-visible,
.candidate-profile-body .btn-cv-download:hover,
.candidate-profile-body .btn-cv-download:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.2);
}

.candidate-profile-body .btn-outline-primary.btn-cv-secondary:hover,
.candidate-profile-body .btn-outline-primary.btn-cv-secondary:focus-visible {
    background-color: #eaf2ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.candidate-profile-body .btn-primary.btn-cv-secondary:hover,
.candidate-profile-body .btn-primary.btn-cv-secondary:focus-visible {
    background-color: #0b4fd6;
    border-color: #0b4fd6;
    color: #ffffff;
    filter: none;
}

.candidate-profile-body .btn-cv-download:hover,
.candidate-profile-body .btn-cv-download:focus-visible {
    background: linear-gradient(135deg, #ff5252, #c61e1e);
    border-color: #ad1b1b;
    color: #ffffff;
}

.candidate-profile-body .btn-cv-secondary:active,
.candidate-profile-body .btn-cv-download:active {
    transform: translateY(0);
    box-shadow: 0 8px 14px rgba(15, 23, 42, 0.16);
}

.swal2-popup.swal2-toast.app-toast {
    width: min(360px, calc(100vw - 1.25rem));
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
    display: flex !important;
    align-items: center !important;
    gap: 0.42rem;
    cursor: pointer;
}

.swal2-popup.swal2-toast.app-toast .swal2-title {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.25;
    font-weight: 600;
    display: flex;
    align-items: center;
    min-height: 1.15rem;
}

.swal2-popup.swal2-toast.app-toast .swal2-html-container {
    margin-top: 0.2rem;
    font-size: 0.81rem;
    line-height: 1.2;
}

.swal2-popup.swal2-toast.app-toast .swal2-icon {
    margin: 0 0.36rem 0 0 !important;
    transform: scale(0.84);
    align-self: center !important;
}

.swal2-popup.swal2-toast.app-toast .swal2-timer-progress-bar-container {
    height: 5px;
    background: rgba(15, 23, 42, 0.2);
}

.swal2-popup.swal2-toast.app-toast .swal2-timer-progress-bar {
    opacity: 1;
    background: rgba(15, 23, 42, 0.72);
}

.swal2-popup.swal2-toast.app-toast.app-toast--success {
    background: #147d54;
    color: #ffffff;
}

.swal2-popup.swal2-toast.app-toast.app-toast--danger {
    background: #b42318;
    color: #ffffff;
}

.swal2-popup.swal2-toast.app-toast.app-toast--warning {
    background: #b54708;
    color: #ffffff;
}

.swal2-popup.swal2-toast.app-toast.app-toast--info {
    background: #175cd3;
    color: #ffffff;
}

.toast {
    cursor: pointer;
}

.vacancy-bulk-btn {
    min-width: 156px;
    white-space: nowrap;
}

.vacancy-template-btn {
    min-width: 220px;
    font-size: 0.98rem;
    font-weight: 700;
    padding: 0.62rem 1rem;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.24);
}

#bulkVacanciesModal .bulk-vacancies-modal-dialog {
    max-width: min(760px, 92vw);
    transition: max-width 0.2s ease;
}

#bulkVacanciesModal .bulk-vacancies-modal-dialog.bulk-vacancies-modal-dialog--expanded {
    max-width: min(1400px, 96vw);
}

.login-section {
    min-height: 100vh;
    background:
        linear-gradient(120deg, rgba(15, 23, 42, 0.85), rgba(var(--tl-primary-rgb), 0.55)),
        linear-gradient(240deg, rgba(18, 194, 233, 0.4), transparent 50%),
        url('https://images.pexels.com/photos/380768/pexels-photo-380768.jpeg?cs=srgb&dl=pexels-seven11nash-380768.jpg&fm=jpg&_gl=1*4ka9t2*_ga*NjI5NzI1OTQ1LjE3NjcxMDQzNzA.*_ga_8JE65Q40S6*czE3NjcxMDQzNzAkbzEkZzEkdDE3NjcxMDQzNzUkajU1JGwwJGgw');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vh, 2.5rem) 0;
    color: #fff;
}

.login-container {
    width: 100%;
    padding-block: clamp(1rem, 3vh, 2rem);
}

.login-container > .row {
    width: 100%;
    margin: 0;
    min-height: 0;
}

@media (min-width: 992px) {
    .login-section {
        padding: 0;
    }

    .login-container {
        min-height: 100vh;
        padding-block: 0;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 991.98px) {
    .login-section {
        min-height: auto;
        height: auto;
        padding: 2.5rem 0;
    }

    .login-container {
        padding-block: 2rem;
    }
}

.login-hero-copy h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(6px);
}

.modal-content.commercial-completion-modal,
.commercial-completion-modal .modal-content {
    border: none;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(10, 17, 34, 0.45);
    background-color: transparent;
}

.commercial-completion-modal {
    background:
        linear-gradient(130deg, rgba(15, 23, 42, 0.92), rgba(var(--tl-primary-rgb), 0.58)),
        linear-gradient(250deg, rgba(18, 194, 233, 0.4), transparent 52%),
        url('https://images.pexels.com/photos/380768/pexels-photo-380768.jpeg?cs=srgb&dl=pexels-seven11nash-380768.jpg&fm=jpg&_gl=1*4ka9t2*_ga*NjI5NzI1OTQ1LjE3NjcxMDQzNzA.*_ga_8JE65Q40S6*czE3NjcxMDQzNzAkbzEkZzEkdDE3NjcxMDQzNzUkajU1JGwwJGgw');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.commercial-completion-modal__topbar {
    position: relative;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.42));
    padding: 1.6rem clamp(1rem, 4vw, 2rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(2px);
}

.commercial-completion-modal__topbar-content {
    max-width: 640px;
}

.commercial-completion-modal__surface {
    position: relative;
    background: transparent;
}

.commercial-completion-modal .modal-title {
    text-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
}

.commercial-completion-modal .login-card--compact {
    margin-top: 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.commercial-completion-modal .login-card--compact .badge {
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.commercial-completion-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    filter: invert(1);
    opacity: 0.9;
    z-index: 5;
}

.commercial-completion-modal__close:hover {
    opacity: 1;
}

.commercial-completion-modal .login-card--compact {
    border-radius: 18px;
    padding: 1.45rem;
}

.commercial-completion-modal .input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.login-card .badge {
    border-radius: 999px;
    background: rgba(var(--tl-primary-rgb), 0.12);
    color: var(--tl-primary);
}

.register-updates-block {
    min-height: 58px;
    display: flex;
    align-items: center;
}

.register-updates-block.is-hidden-space {
    visibility: hidden;
    pointer-events: none;
}

.login-input {
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
}

.login-input::placeholder {
    color: rgba(15, 23, 42, 0.45);
    opacity: 0.95;
}

.password-toggle-group .login-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.password-toggle-group .login-input::placeholder {
    color: rgba(15, 23, 42, 0.3);
    opacity: 0.6;
}

.password-toggle-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-color: rgba(15, 23, 42, 0.12);
    color: #64748b;
    width: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus {
    color: var(--tl-primary);
    border-color: rgba(var(--tl-primary-rgb), 0.4);
    background-color: rgba(var(--tl-primary-rgb), 0.08);
}

.password-hint-card {
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.9rem 1rem;
}

.password-rules {
    padding-left: 0;
}

.password-rules li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.2rem;
    color: rgba(15, 23, 42, 0.65);
    transition: color 0.2s ease;
}

.password-rules li:last-child {
    margin-bottom: 0;
}

.password-rules .rule-icon {
    width: 1rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.password-rules .rule-icon i {
    font-size: 0.8rem;
    color: rgba(15, 23, 42, 0.4);
    transition: color 0.2s ease;
}

.password-rules li.is-valid {
    color: #15803d;
}

.password-rules li.is-valid .rule-icon i {
    color: #22c55e;
}

.password-rules li.is-invalid .rule-icon i {
    color: rgba(15, 23, 42, 0.35);
}

.login-input:focus {
    border-color: rgba(var(--tl-primary-rgb), 0.7);
    box-shadow: 0 0 0 0.15rem rgba(var(--tl-primary-rgb), 0.2);
}

.login-destination {
    border-radius: 14px;
}

.login-secondary-links {
    text-align: center;
    margin-top: 1.25rem;
}

.login-secondary-links a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
}

.login-secondary-links a:hover {
    color: var(--tl-primary);
}

.login-create-card {
    margin: 1.25rem 0;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem;
}


.landing-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.55)),
        linear-gradient(240deg, rgba(var(--tl-primary-rgb), 0.4), rgba(var(--tl-primary-rgb), 0.1)),
        url('https://images.pexels.com/photos/380768/pexels-photo-380768.jpeg?cs=srgb&dl=pexels-seven11nash-380768.jpg&fm=jpg&_gl=1*4ka9t2*_ga*NjI5NzI1OTQ1LjE3NjcxMDQzNzA.*_ga_8JE65Q40S6*czE3NjcxMDQzNzAkbzEkZzEkdDE3NjcxMDQzNzUkajU1JGwwJGgw');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.brand-pill {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.landing-preview {
    border-radius: 20px;
}

.landing-language-switch .dropdown-toggle {
    border-radius: 999px;
    padding-inline: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.landing-language-switch .dropdown-menu {
    min-width: 11rem;
}

.branding-logo-wrapper {
    border: 1px dashed rgba(15, 23, 42, 0.2);
    border-radius: 14px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.02);
}

.branding-logo-preview {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

.branding-logo-placeholder {
    text-align: center;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.branding-logo-placeholder i {
    font-size: 1.5rem;
}

.collapse-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.collapse-card-icon {
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--tl-primary-rgb), 0.10);
    color: var(--tl-primary);
}

.collapse-card-title {
    flex: 1 1 18rem;
    min-width: 0;
}

.collapse-card-title small {
    display: block;
    margin-top: 0.15rem;
}

.collapse-card-actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.collapse-card-chevron {
    flex: 0 0 auto;
    margin-left: 0.25rem;
    color: #64748b;
    transition: transform 0.2s ease;
}

.collapse-card-header[aria-expanded="true"] .collapse-card-chevron {
    transform: rotate(180deg);
}

@media (max-width: 767.98px) {
    .collapse-card-actions {
        margin-left: 0;
        width: 100%;
    }

    .collapse-card-chevron {
        margin-left: auto;
    }
}

.config-preview-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.config-preview-logo.placeholder {
    height: 48px;
    width: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.35rem;
}

.navbar-brand .app-brand-logo {
    height: 28px;
    width: auto;
    max-width: var(--admin-logo-width, 120px);
    object-fit: contain;
}

.navbar-brand .app-brand-text {
    font-weight: 600;
}

.brand-pill img {
    height: 28px;
    width: auto;
    border-radius: 8px;
}

.landing-cta {
    border-radius: 24px;
    padding: 2.5rem;
}

.landing-cta .btn {
    border-radius: 16px;
    padding: 0.95rem 1rem;
}

.landing-checklist li {
    margin-bottom: 0.65rem;
    color: #475569;
    font-size: 0.95rem;
}

.landing-step,
.landing-highlight {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 18px;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.landing-step .icon-circle,
.landing-highlight .icon-circle {
    background: rgba(var(--tl-primary-rgb), 0.12);
    color: var(--tl-primary);
}

.landing-step .step-index {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    background: rgba(var(--tl-primary-rgb), 0.1);
    color: var(--tl-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.landing-metrics {
    border-radius: 24px;
    background: #fff;
}

.landing-stack {
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.landing-stack:last-of-type {
    border-bottom: none;
}

.landing-stack-main {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.landing-stack-soft {
    background: #f7f9fc;
}

.landing-stack-lines {
    background: #fff;
}

.landing-stack-cta {
    background: linear-gradient(180deg, #ffffff 0%, #f2f6ff 100%);
}

.landing-label {
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

.landing-slab {
    border-radius: 18px;
    padding: 1.75rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.landing-slab h5 {
    font-weight: 600;
}

.landing-benefits {
    background:
        linear-gradient(120deg, rgba(8, 13, 25, 0.92) 0%, rgba(var(--tl-primary-rgb), 0.55) 55%),
        linear-gradient(250deg, rgba(18, 194, 233, 0.28) 0%, transparent 65%),
        url('https://images.pexels.com/photos/840996/pexels-photo-840996.jpeg?cs=srgb&dl=pexels-olly-840996.jpg&fm=jpg&_gl=1*1fgfyop*_ga*NjI5NzI1OTQ1LjE3NjcxMDQzNzA.*_ga_8JE65Q40S6*czE3NjcxMDgxMzMkbzIkZzEkdDE3NjcxMDgyMzIkajU5JGwwJGgw');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.landing-benefits-panel {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 35px 60px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.landing-benefits-copy {
    margin-top: 1.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.benefit-line + .benefit-line {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.benefit-line h5 {
    font-weight: 600;
    color: #0f172a;
}

.benefit-line p {
    color: #475569;
}

.landing-split {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(var(--tl-primary-rgb), 0.08), rgba(18, 194, 233, 0.1));
    border: 1px solid rgba(var(--tl-primary-rgb), 0.15);
}

.landing-stack-cta .btn {
    min-width: 210px;
}

.landing-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(var(--tl-primary-rgb), 0.08);
}

.landing-card .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--tl-primary-rgb), 0.1);
    color: var(--tl-primary);
    margin-bottom: 1rem;
}

.landing-job {
    border-radius: 16px;
    background: #fff;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.sidebar {
    min-height: 100vh;
    background: var(--sidebar-bg, #f8f9fa);
    color: var(--sidebar-text, #111827);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.app-layout-sidebar {
    --bs-offcanvas-width: min(88vw, 348px);
}

@media (min-width: 768px) {
    .app-layout-sidebar.offcanvas-md {
        position: sticky;
        top: 0;
        align-self: flex-start;
        height: 100vh;
    }

    .app-layout-sidebar.offcanvas-md .offcanvas-body {
        display: block;
        height: 100%;
        overflow: visible;
        padding: 0;
    }

    .app-layout-sidebar.offcanvas-md .sidebar-sticky {
        position: relative;
        top: auto;
        min-height: 100%;
        max-height: 100%;
    }
}

.sidebar-sticky {
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow: visible;
    padding-bottom: 0;
    min-height: 100vh;
}

.sidebar-nav-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 0.5rem;
}

.sidebar .nav-link {
    color: var(--sidebar-text, #111827);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    position: relative;
    border-radius: 0.75rem;
    margin: 0.15rem 0.75rem;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    white-space: normal;
    overflow-wrap: anywhere;
}

.sidebar .sidebar-group-toggle {
    width: calc(100% - 1.5rem);
}

.sidebar .sidebar-legal-link {
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
    margin: 0.15rem 0.75rem;
    display: block;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: var(--sidebar-hover, rgba(255, 255, 255, 0.12));
    color: var(--sidebar-text, #ffffff);
}

.sidebar .nav-link.active,
.sidebar .nav-link.active:hover {
    background: var(--sidebar-text, #ffffff) !important;
    color: var(--sidebar-bg, #111827) !important;
    border: 1px solid var(--sidebar-text, #ffffff) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    font-weight: 700;
    box-shadow: inset 4px 0 0 var(--sidebar-text, #ffffff), 0 10px 24px rgba(15, 23, 42, 0.18);
}

.sidebar .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    border-radius: 999px;
    background: var(--sidebar-text, #ffffff);
}

.sidebar .nav-link .fa-chevron-down {
    transition: transform 0.2s ease;
}

.sidebar .nav-link[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.sidebar-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    margin-left: auto;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(239, 68, 68, 0.35);
}

.sidebar-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
}

.sidebar-count-badge--icon {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    margin: 0;
    font-size: 0.65rem;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
}

.onboarding-inline-field-tools {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.onboarding-inline-field-tools .btn {
    line-height: 1;
}

.company-inline-group {
    position: relative;
}

.company-inline-group [data-inline-group-tools] {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
}

.company-inline-group.inline-group-locked .role-chip-remove {
    display: none;
}

.company-profile-logo-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.company-profile-logo-card__media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    height: 4.25rem;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.company-profile-logo-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-profile-logo-card__body {
    min-width: 0;
}

.company-profile-logo-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    border: 1px solid rgba(14, 165, 233, 0.45);
    border-radius: 10px;
    background: #ffffff;
    color: #075985;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(14, 165, 233, 0.12);
    white-space: nowrap;
}

.company-profile-logo-card__button:hover,
.company-profile-logo-card__button:focus-visible {
    border-color: #0ea5e9;
    background: #e0f2fe;
    color: #0c4a6e;
    outline: 0;
}

.company-profile-section-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    border-color: #2fbf71;
    background: #2fbf71;
    color: #ffffff;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 16px rgba(47, 191, 113, 0.18);
}

.company-profile-section-save:hover,
.company-profile-section-save:focus-visible {
    border-color: #249b5b;
    background: #249b5b;
    color: #ffffff;
    outline: 0;
}

.company-profile-stepper {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.company-profile-stepper__nav {
    display: flex;
    align-items: stretch;
    gap: 0.55rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin-inline: 0;
    padding-inline: 0;
}

.company-profile-stepper__nav-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.6rem;
    min-height: 3.45rem;
    border: 1px solid rgba(46, 196, 182, 0.42);
    border-radius: 14px;
    background: linear-gradient(135deg, #0f2a5f 0%, #0f766e 100%);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 42, 95, 0.16);
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.company-profile-stepper__nav-control:hover,
.company-profile-stepper__nav-control:focus-visible {
    border-color: rgba(46, 196, 182, 0.75);
    background: linear-gradient(135deg, #123574 0%, #0f8b80 100%);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(15, 42, 95, 0.22);
    outline: 0;
}

.company-profile-stepper__nav-control:disabled {
    opacity: 0.36;
    pointer-events: none;
    background: #eef2f7;
    border-color: #dbe4f0;
    color: #94a3b8;
    box-shadow: none;
}

.company-profile-stepper__rail {
    display: flex;
    justify-content: center;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 0.55rem;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.55rem;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.company-profile-stepper__rail::-webkit-scrollbar {
    display: none;
}

.company-profile-stepper__step {
    display: grid;
    grid-template-columns: auto minmax(0, auto);
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex: 1 1 0;
    min-width: 8rem;
    max-width: none;
    min-height: 2.95rem;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    background: #ffffff;
    color: #475569;
    padding: 0.46rem 0.55rem;
    text-align: center;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.company-profile-stepper__step:hover,
.company-profile-stepper__step:focus-visible {
    border-color: rgba(46, 196, 182, 0.52);
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 42, 95, 0.08);
    outline: 0;
}

.company-profile-stepper__step.is-active {
    border-color: rgba(46, 196, 182, 0.48);
    background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
    color: #0f2a5f;
    box-shadow: 0 8px 18px rgba(15, 42, 95, 0.10);
}

.company-profile-stepper__step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.82rem;
    height: 1.82rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f766e;
    font-size: 0.82rem;
    line-height: 1;
}

.company-profile-stepper__step.is-complete .company-profile-stepper__step-icon {
    background: #dcfce7;
    color: #0f766e;
}

.company-profile-stepper__step-title {
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.18;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-profile-stepper__mobile-head {
    display: none;
}

.company-profile-stepper__panel {
    min-width: 0;
}

.company-profile-stepper__panel[hidden] {
    display: none;
}

.company-profile-stepper__footer {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.25rem;
}

@media (max-width: 575.98px) {
    .company-profile-stepper {
        gap: 0.9rem;
    }

    .company-profile-logo-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .company-profile-logo-card__button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .company-profile-stepper__nav {
        display: none;
    }

    .company-profile-stepper__mobile-head {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 2.75rem;
        border: 1px solid #dbe4f0;
        border-radius: 14px;
        background: #f8fafc;
        color: #0f172a;
        font-size: 0.9rem;
        font-weight: 800;
        padding: 0.75rem;
        text-align: center;
    }

    .company-profile-stepper__footer {
        flex-direction: column-reverse;
    }

    .company-profile-stepper__footer .btn {
        width: 100%;
    }
}

.company-profile-admin__logo {
    width: 58px;
    height: 58px;
    object-fit: cover;
}

.company-profile-admin__summary {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.company-profile-admin__header {
    position: sticky;
    top: var(--app-header-offset);
    z-index: 30;
    margin: -0.75rem -0.75rem 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.company-profile-admin__back-btn {
    flex-shrink: 0;
}

.company-profile-admin__summary-stack {
    display: grid;
    gap: 0.9rem;
}

.company-profile-admin__summary-item {
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.company-profile-admin__summary-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.company-profile-admin__summary-label,
.company-profile-admin__kv-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.company-profile-admin__card {
    background: #fff;
}

.company-profile-admin__icon-btn {
    padding: 0.2rem 0.35rem;
    border: 0;
    color: #0d6efd;
}

.company-profile-admin__icon-btn:hover,
.company-profile-admin__icon-btn:focus {
    color: #0b5ed7;
}

.company-profile-admin__icon-btn--save {
    color: #198754;
}

.company-profile-admin__icon-btn--save:hover,
.company-profile-admin__icon-btn--save:focus {
    color: #157347;
}

.company-profile-admin__icon-btn--cancel {
    color: #dc3545;
}

.company-profile-admin__icon-btn--cancel:hover,
.company-profile-admin__icon-btn--cancel:focus {
    color: #bb2d3b;
}

.company-profile-admin__kv-list {
    display: grid;
    gap: 0.9rem;
}

.company-profile-admin__kv-list--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.company-profile-admin__kv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.company-profile-admin__contact-box,
.company-profile-admin__responsible-preview {
    border: 1px solid rgba(37, 99, 235, 0.14);
    background: #f8fbff;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    height: 100%;
}

.company-profile-admin__description {
    white-space: pre-line;
    min-height: 3rem;
}

.app-secret-input--masked {
    -webkit-text-security: disc;
    text-security: disc;
}

@media (max-width: 991.98px) {
    .company-profile-admin__kv-list--compact {
        grid-template-columns: 1fr;
    }

    .company-profile-admin__kv-grid {
        grid-template-columns: 1fr;
    }
}

.legal-archive-toggle {
    width: 100%;
    justify-content: space-between;
}

.legal-archive-toggle .fa-chevron-down {
    transition: transform 0.2s ease;
}

.legal-archive-toggle[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.sidebar-brand {
    padding-top: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.sidebar-brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 700;
}

.sidebar-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.sidebar-brand--right {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-brand--right .sidebar-brand-link {
    margin-bottom: 0;
}

.sidebar-brand--below {
    flex-direction: column;
    align-items: flex-start;
}

.sidebar-brand-logo {
    max-height: 68px;
    max-width: min(100%, var(--sidebar-logo-width, 120px));
    width: auto;
    object-fit: contain;
}

.sidebar-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.sidebar-brand-text {
    font-size: var(--sidebar-brand-font-size, 1rem);
    letter-spacing: 0.01em;
}

.sidebar-footer {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.app-sidebar-offcanvas__header {
    display: none;
}

.app-sidebar-offcanvas__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.72;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.app-sidebar-offcanvas__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: inherit;
}

.app-sidebar-offcanvas__close {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.app-sidebar-offcanvas__close:hover,
.app-sidebar-offcanvas__close:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
    color: inherit;
}

.sidebar-language .btn {
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--sidebar-text, #111827);
}

.sidebar-language .btn:hover,
.sidebar-language .btn:focus {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.12);
    color: var(--sidebar-text, #111827);
}

.sidebar-language .dropdown-menu {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    min-width: 220px;
    max-width: 320px;
    width: max-content;
    padding: 0.35rem 0;
    margin-left: 0.5rem;
    z-index: 3000;
    inset: auto !important;
    top: auto !important;
    bottom: -14% !important;
    left: 100% !important;
    right: auto !important;
    transform: translate(0.6rem, -0.1rem) !important;
}

.sidebar-language .dropdown-item {
    color: #111827;
    white-space: normal;
}

.sidebar-language .dropdown-item.active,
.sidebar-language .dropdown-item:hover {
    background: rgba(15, 23, 42, 0.08);
    color: #111827;
}

.sidebar-user {
    padding: 0.85rem;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-user-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: #111827;
}

.sidebar-user-avatar--logo {
    border-radius: 12px;
    padding: 6px;
    background: #fff;
}

.sidebar-user-name {
    font-weight: 700;
    color: var(--sidebar-text, #111827);
}

.sidebar-user-role {
    font-size: 0.75rem;
    color: var(--sidebar-text, #111827);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sidebar-user-actions {
    display: grid;
    gap: 0.5rem;
}

.sidebar-action-btn {
    border: 1px solid var(--sidebar-text, #111827);
    color: var(--sidebar-text, #111827);
    background: transparent;
}

.sidebar-action-btn:hover,
.sidebar-action-btn:focus {
    border-color: var(--sidebar-text, #111827);
    background: var(--sidebar-hover, rgba(255, 255, 255, 0.12));
    color: var(--sidebar-text, #111827);
}

.sidebar-action-btn--primary {
    background: var(--sidebar-text, #111827);
    border-color: var(--sidebar-text, #111827);
    color: var(--sidebar-bg, #ffffff);
}

.sidebar-action-btn--primary:hover,
.sidebar-action-btn--primary:focus {
    background: var(--sidebar-text, #111827);
    border-color: var(--sidebar-text, #111827);
    color: var(--sidebar-bg, #ffffff);
    filter: brightness(0.95);
}

.language-select {
    position: relative;
}

.language-select-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0.5rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    max-height: 240px;
    overflow-y: auto;
    z-index: 1055;
    display: none;
}

[data-business-lines-menu].language-select-menu,
[data-business-lines-menu] {
    max-height: 320px;
}

[data-job-sector-menu],
[data-job-role-menu] {
    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;
}

[data-job-business-lines-menu] {
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
}

.language-select-menu.show {
    display: block;
}

.language-select-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 0.4rem 0.65rem;
    color: #111827;
}

.language-select-item:hover,
.language-select-item:focus {
    background: rgba(var(--tl-primary-rgb), 0.08);
}

.language-select-item__flag {
    width: 1.5rem;
    height: 1.125rem;
    border-radius: 0.3rem;
    overflow: hidden;
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.language-select-item__flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.language-select-item__flag-fallback {
    font-size: 0.7rem;
    line-height: 1;
}

.language-select-item__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.language-select-item__name {
    font-weight: 600;
    color: #0f172a;
    line-height: 1.1;
}

.language-select-separator {
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}

.main-content {
    min-height: calc(100vh - var(--app-header-offset, 56px));
}

.card-shadow {
    box-shadow: 0 8px 20px rgba(var(--tl-primary-rgb), 0.08);
    border: none;
}

.employer-dashboard-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.employer-dashboard-alert {
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.employer-dashboard-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.3rem;
    background: linear-gradient(130deg, #0f172a 0%, #1d4ed8 58%, #38bdf8 100%);
    color: #ffffff;
    padding: 1.2rem 1.4rem;
}

.employer-dashboard-hero::after {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0) 70%);
}

.employer-dashboard-hero__subtitle {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.72rem;
    opacity: 0.78;
    margin-bottom: 0.45rem !important;
}

.employer-dashboard-hero__copy {
    max-width: 64ch;
    margin-bottom: 0;
    opacity: 0.9;
    overflow-wrap: anywhere;
}

.employer-dashboard-role-badge {
    display: inline-flex;
}

.employer-dashboard-hero .badge {
    border-color: rgba(255, 255, 255, 0.35);
}

.employer-dashboard-kpis {
    margin-top: 0.15rem;
}

.employer-dashboard-kpi {
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    background: #ffffff;
    min-height: 118px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    min-width: 0;
}

.employer-dashboard-kpi--link {
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.employer-dashboard-kpi--link:hover,
.employer-dashboard-kpi--link:focus {
    color: inherit;
    border-color: rgba(46, 196, 182, 0.42);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.employer-dashboard-kpi > div {
    min-width: 0;
}

.employer-dashboard-kpi__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.45rem;
    overflow-wrap: anywhere;
}

.employer-dashboard-kpi__value {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    color: #0f172a;
}

.employer-dashboard-kpi__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    flex: 0 0 auto;
}

.employer-dashboard-kpi__icon--primary {
    background: linear-gradient(130deg, #2563eb, #4f46e5);
}

.employer-dashboard-kpi__icon--success {
    background: linear-gradient(130deg, #16a34a, #22c55e);
}

.employer-dashboard-kpi__icon--warning {
    background: linear-gradient(130deg, #f59e0b, #d97706);
}

.employer-dashboard-kpi__icon--danger {
    background: linear-gradient(130deg, #ef4444, #f87171);
}

.employer-dashboard-kpi__icon--info {
    background: linear-gradient(130deg, #0ea5e9, #06b6d4);
}

.employer-dashboard-kpi__icon--secondary {
    background: linear-gradient(130deg, #64748b, #475569);
}

.employer-dashboard-panel {
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #ffffff;
}

.employer-dashboard-panel .card-body {
    padding: 1rem 1.1rem;
}

.employer-dashboard-pill {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #334155;
    background: #f8fafc;
    font-size: 0.74rem;
    padding: 0.12rem 0.58rem;
    line-height: 1.2;
}

.employer-dashboard-funnel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.employer-dashboard-status-layout {
    display: grid;
    grid-template-columns: minmax(190px, 0.48fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.employer-dashboard-status-chart-wrap {
    display: grid;
    place-items: center;
    min-width: 0;
    gap: 0.75rem;
}

.employer-dashboard-status-chart {
    width: min(100%, 17rem);
    aspect-ratio: 1;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), inset 0 0 0 10px rgba(255, 255, 255, 0.5), 0 18px 36px rgba(15, 23, 42, 0.1);
    position: relative;
    isolation: isolate;
    transition: box-shadow 0.18s ease;
}

.employer-dashboard-status-chart:hover,
.employer-dashboard-status-chart:focus-visible {
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), inset 0 0 0 10px rgba(255, 255, 255, 0.56), 0 22px 42px rgba(15, 42, 95, 0.16);
    outline: 0;
}

.employer-dashboard-status-chart::before {
    content: "";
    position: absolute;
    inset: 17%;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
    z-index: -1;
}

.employer-dashboard-status-chart::after {
    content: "";
    position: absolute;
    inset: 9%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.72);
    pointer-events: none;
}

.employer-dashboard-status-chart.is-animating {
    animation: employerDashboardChartEnter 0.95s ease-out both;
}

.employer-dashboard-status-chart.is-animating::after {
    animation: employerDashboardChartPulse 0.95s ease-out both;
}

.employer-dashboard-status-chart__canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 3;
}

.employer-dashboard-status-chart__total,
.employer-dashboard-status-chart__label {
    display: block;
    line-height: 1;
    position: absolute;
    left: 50%;
    z-index: 2;
    width: 58%;
    text-align: center;
    pointer-events: none;
}

.employer-dashboard-status-chart__total {
    top: 50%;
    transform: translate(-50%, -72%);
    color: #0f172a;
    font-size: 2.35rem;
    font-weight: 850;
}

.employer-dashboard-status-chart__label {
    top: 50%;
    transform: translate(-50%, 74%);
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.employer-dashboard-status-chart-meta {
    display: grid;
    gap: 0.18rem;
    width: min(100%, 17rem);
    border: 1px solid rgba(15, 42, 95, 0.1);
    border-radius: 0.85rem;
    background: #f8fafc;
    padding: 0.65rem 0.8rem;
    text-align: center;
}

.employer-dashboard-status-chart-meta span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.employer-dashboard-status-chart-meta strong {
    color: #0f172a;
    font-size: 0.9rem;
    line-height: 1.25;
}

@keyframes employerDashboardChartEnter {
    0% {
        opacity: 0;
        transform: scale(0.92);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes employerDashboardChartPulse {
    0% {
        opacity: 0;
        transform: scale(0.86);
    }
    62% {
        opacity: 1;
        transform: scale(1.03);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .employer-dashboard-status-chart.is-animating,
    .employer-dashboard-status-chart.is-animating::after {
        animation: none;
    }
}

.employer-dashboard-funnel-item {
    appearance: none;
    text-align: left;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.8rem;
    padding: 0.78rem 0.7rem;
    min-height: 84px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--stage-color, #2563eb) 10%, #ffffff), #ffffff);
    min-width: 0;
    overflow-wrap: anywhere;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.employer-dashboard-funnel-item:hover,
.employer-dashboard-funnel-item:focus {
    border-color: color-mix(in srgb, var(--stage-color, #2563eb) 46%, #ffffff);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--stage-color, #2563eb) 14%, transparent);
    transform: translateY(-1px);
}

.employer-dashboard-funnel-item__head {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.employer-dashboard-funnel-item__dot {
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
    background: var(--stage-color, #2563eb);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--stage-color, #2563eb) 16%, transparent);
    flex: 0 0 auto;
}

.employer-dashboard-funnel-item strong {
    display: block;
    margin-top: 0.4rem;
    color: #0f172a;
    font-size: 1.45rem;
    line-height: 1;
}

.employer-dashboard-funnel-item__bar {
    display: block;
    width: 100%;
    height: 0.36rem;
    margin-top: 0.65rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
}

.employer-dashboard-funnel-item__bar span {
    display: block;
    height: 100%;
    min-width: 0.24rem;
    border-radius: inherit;
    background: var(--stage-color, #2563eb);
}

.employer-dashboard-funnel-item__percent {
    display: block;
    margin-top: 0.28rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.employer-dashboard-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    min-width: 0;
}

.employer-dashboard-activity-list {
    --activity-gap: 0.6rem;
}

.employer-dashboard-activity-list > li {
    min-width: 0;
}

.employer-dashboard-activity-list > li + li {
    margin-top: 0.72rem;
}

.employer-dashboard-activity-icon {
    margin-right: 0.75rem;
    margin-top: 0.06rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background-color: rgba(15, 23, 42, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 0.82rem;
}

.employer-dashboard-activity-list p {
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
}

.employer-dashboard-avatar {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    object-fit: cover;
    background: #e2e8f0;
    flex: 0 0 auto;
}

.employer-dashboard-evaluations,
.employer-dashboard-stage-modal__list,
.employer-dashboard-stage-modal__jobs {
    display: grid;
    gap: 0.62rem;
}

.employer-dashboard-calendar {
    display: grid;
    gap: 0.8rem;
    max-height: 34rem;
    min-width: 0;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.employer-dashboard-calendar-month {
    display: grid;
    gap: 0.58rem;
    min-width: 0;
    overflow-x: auto;
}

.employer-dashboard-calendar-month__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.55rem;
}

.employer-dashboard-calendar-month__head h6 {
    margin: 0;
    color: #0f2a5f;
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1.2;
    text-transform: capitalize;
}

.employer-dashboard-calendar-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(15, 42, 95, 0.14);
    border-radius: 0.72rem;
    background: #ffffff;
    color: #0f2a5f;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.employer-dashboard-calendar-nav:hover,
.employer-dashboard-calendar-nav:focus {
    border-color: rgba(46, 196, 182, 0.52);
    background: rgba(46, 196, 182, 0.1);
    color: #0b1f44;
}

.employer-dashboard-calendar-weekdays,
.employer-dashboard-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(4.7rem, 1fr));
    min-width: 35rem;
}

.employer-dashboard-calendar-weekdays {
    gap: 0.35rem;
}

.employer-dashboard-calendar-weekdays span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.employer-dashboard-calendar-grid {
    gap: 0.35rem;
    padding-bottom: 0.1rem;
}

.employer-dashboard-calendar-day {
    display: grid;
    align-content: start;
    gap: 0.28rem;
    min-height: 5rem;
    min-width: 0;
    border: 1px solid rgba(15, 42, 95, 0.12);
    border-radius: 0.72rem;
    background: #ffffff;
    padding: 0.38rem;
}

button.employer-dashboard-calendar-day {
    width: 100%;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

button.employer-dashboard-calendar-day:hover,
button.employer-dashboard-calendar-day:focus {
    border-color: rgba(46, 196, 182, 0.58);
    outline: 0;
    box-shadow: inset 0 0 0 1px rgba(46, 196, 182, 0.18), 0 12px 22px rgba(15, 23, 42, 0.08);
}

.employer-dashboard-calendar-day--empty {
    border-color: rgba(148, 163, 184, 0.08);
    background: repeating-linear-gradient(135deg, #f8fafc 0 0.45rem, #ffffff 0.45rem 0.9rem);
}

.employer-dashboard-calendar-day.has-events {
    border-color: rgba(46, 196, 182, 0.42);
    background: linear-gradient(180deg, rgba(46, 196, 182, 0.08) 0%, #ffffff 45%);
    box-shadow: inset 0 0 0 1px rgba(46, 196, 182, 0.08);
}

.employer-dashboard-calendar-day.is-today {
    border-color: rgba(15, 42, 95, 0.38);
    box-shadow: inset 0 0 0 1px rgba(15, 42, 95, 0.12);
}

.employer-dashboard-calendar-day__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    min-width: 0;
}

.employer-dashboard-calendar-day__date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    color: #0f2a5f;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.2;
}

.employer-dashboard-calendar-day.is-today .employer-dashboard-calendar-day__date {
    background: #0f2a5f;
    color: #ffffff;
}

.employer-dashboard-calendar-day__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: #2ec4b6;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
}

.employer-dashboard-calendar-day__events {
    display: grid;
    gap: 0.24rem;
    min-width: 0;
}

.employer-dashboard-evaluation-item,
.employer-dashboard-stage-candidate,
.employer-dashboard-stage-job {
    display: grid;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.9rem;
    background: #ffffff;
    padding: 0.68rem;
    min-width: 0;
}

.employer-dashboard-calendar-item {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    min-width: 0;
    border: 1px solid rgba(15, 42, 95, 0.12);
    border-left: 3px solid #2ec4b6;
    border-radius: 0.58rem;
    background: #ffffff;
    padding: 0.22rem 0.3rem;
    color: inherit;
    text-align: left;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.employer-dashboard-calendar-item:hover,
.employer-dashboard-calendar-item:focus {
    border-color: rgba(46, 196, 182, 0.54);
    background: rgba(46, 196, 182, 0.08);
    outline: 0;
    transform: translateY(-1px);
}

.employer-dashboard-calendar-item__time,
.employer-dashboard-calendar-item__body span,
.employer-dashboard-evaluation-item small,
.employer-dashboard-stage-candidate__body span {
    color: #64748b;
    font-size: 0.78rem;
}

.employer-dashboard-calendar-item__time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-height: 1.24rem;
    border-radius: 999px;
    background: rgba(15, 42, 95, 0.08);
    color: #0f2a5f;
    font-size: 0.66rem;
    font-weight: 850;
    line-height: 1.15;
    padding: 0.12rem 0.34rem;
    text-align: center;
    white-space: nowrap;
}

.employer-dashboard-calendar-item__body,
.employer-dashboard-evaluation-item__body,
.employer-dashboard-stage-candidate__body {
    display: grid;
    min-width: 0;
}

.employer-dashboard-calendar-item__body {
    grid-column: 1 / -1;
    gap: 0.08rem;
}

.employer-dashboard-calendar-item__body strong,
.employer-dashboard-evaluation-item__body strong,
.employer-dashboard-stage-candidate__body strong {
    overflow: hidden;
    color: #0f172a;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employer-dashboard-calendar-item__body strong {
    font-size: 0.74rem;
}

.employer-dashboard-calendar-item > .employer-dashboard-avatar {
    width: 1.4rem;
    height: 1.4rem;
}

.employer-interview-calendar-more,
.employer-interview-calendar-empty {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 750;
}

.employer-interview-calendar-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.4rem;
    border-radius: 999px;
    background: rgba(15, 42, 95, 0.08);
}

.employer-interviews-page-calendar {
    max-height: none;
    overflow: visible;
}

.employer-interviews-board {
    display: grid;
    gap: 0.85rem;
}

.employer-interviews-board__head {
    align-items: flex-start;
    margin-bottom: 0;
}

.employer-interviews-board__head p {
    margin: 0.24rem 0 0;
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.42;
}

.employer-interviews-board__actions,
.employer-interviews-board__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.employer-interviews-filter {
    border: 1px solid rgba(15, 42, 95, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 0.42rem 0.72rem;
}

.employer-interviews-filter:hover,
.employer-interviews-filter:focus,
.employer-interviews-filter.is-active {
    border-color: rgba(46, 196, 182, 0.55);
    background: #f0fdfa;
    color: #0f766e;
    outline: 0;
}

.employer-interviews-table {
    display: grid;
    gap: 0.55rem;
}

.employer-interviews-row {
    display: grid;
    grid-template-columns: minmax(9rem, 0.82fr) minmax(13rem, 1.2fr) minmax(12rem, 1fr) auto minmax(16rem, auto);
    gap: 0.8rem;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.95rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 0.78rem 0.85rem;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.employer-interviews-row:hover,
.employer-interviews-row:focus {
    border-color: rgba(46, 196, 182, 0.55);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    outline: 0;
    transform: translateY(-1px);
}

.employer-interviews-row__time,
.employer-interviews-row__candidate span,
.employer-interviews-row__vacancy {
    display: grid;
    min-width: 0;
    gap: 0.14rem;
}

.employer-interviews-row__time span,
.employer-interviews-row__candidate strong,
.employer-interviews-row__vacancy strong {
    overflow: hidden;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employer-interviews-row__time small,
.employer-interviews-row__candidate small,
.employer-interviews-row__vacancy small {
    overflow: hidden;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employer-interviews-row__candidate {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.62rem;
    min-width: 0;
}

.employer-interviews-row__candidate img {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: #e2e8f0;
    object-fit: cover;
}

.employer-interviews-row__status {
    justify-self: start;
}

.employer-interviews-status {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.1;
    padding: 0.25rem 0.58rem;
    white-space: nowrap;
}

.employer-interviews-status.is-scheduled {
    background: #eff6ff;
    color: #1d4ed8;
}

.employer-interviews-status.is-completed {
    background: #ecfdf5;
    color: #047857;
}

.employer-interviews-status.is-cancelled {
    background: #f1f5f9;
    color: #475569;
}

.employer-interviews-status.is-no-show {
    background: #fff7ed;
    color: #c2410c;
}

.employer-interviews-row__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.42rem;
}

.employer-interview-day-layout {
    display: grid;
    grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
    gap: 1rem;
    align-items: start;
}

.employer-interview-day-list {
    display: grid;
    gap: 0.58rem;
    max-height: 68vh;
    overflow-y: auto;
    padding-right: 0.18rem;
}

.employer-interview-day-layout.is-empty-day .employer-interview-editor {
    grid-column: 1 / -1;
}

.employer-interview-day-create {
    justify-content: center;
    width: 100%;
    min-height: 2.55rem;
    border-radius: 0.85rem;
}

.employer-interview-day-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 0.95rem;
    background: #ffffff;
    padding: 0.68rem;
    color: inherit;
    text-align: left;
}

.employer-interview-day-card:hover,
.employer-interview-day-card:focus,
.employer-interview-day-card.is-active {
    border-color: rgba(46, 196, 182, 0.54);
    background: #f0fdfa;
    outline: 0;
}

.employer-interview-day-card img,
.employer-interview-editor__head img {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    object-fit: cover;
    background: #e2e8f0;
}

.employer-interview-day-card span {
    display: grid;
    min-width: 0;
    gap: 0.1rem;
}

.employer-interview-day-card strong,
.employer-interview-editor__head strong {
    overflow: hidden;
    color: #0f172a;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employer-interview-day-card small,
.employer-interview-editor__head small,
.employer-interview-editor__head span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 650;
}

.employer-interview-day-card em {
    justify-self: end;
    padding: 0.22rem 0.52rem;
    border-radius: 999px;
    background: rgba(15, 42, 95, 0.08);
    color: #0f2a5f;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 850;
    white-space: nowrap;
}

.employer-interview-day-empty,
.employer-interview-editor__empty {
    display: grid;
    place-items: center;
    min-height: 12rem;
    border: 1px dashed rgba(148, 163, 184, 0.42);
    border-radius: 1rem;
    background: #f8fafc;
    color: #64748b;
    text-align: center;
    padding: 1.25rem;
}

.employer-interview-editor {
    min-width: 0;
}

.employer-interview-editor__form {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(15, 42, 95, 0.1);
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.employer-interview-create-form__intro {
    display: grid;
    gap: 0.22rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.employer-interview-create-form__intro span {
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 850;
}

.employer-interview-create-form__intro p {
    margin: 0;
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 600;
}

.employer-interview-editor__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.72rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.employer-interview-editor__head div {
    display: grid;
    min-width: 0;
}

.employer-interview-editor__links,
.employer-interview-editor__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.employer-dashboard-calendar-item__actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-end;
    gap: 0.3rem;
}

.employer-dashboard-calendar-item__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    padding: 0;
}

.employer-dashboard-interview-modal .modal-body {
    display: grid;
    gap: 1rem;
}

.employer-dashboard-interview-detail {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
}

.employer-dashboard-interview-detail__avatar {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 999px;
    object-fit: cover;
    background: #e2e8f0;
    border: 2px solid rgba(46, 196, 182, 0.34);
}

.employer-dashboard-interview-detail__main {
    min-width: 0;
}

.employer-dashboard-interview-detail__main h6,
.employer-dashboard-interview-detail__main p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employer-dashboard-interview-detail__main h6 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 850;
}

.employer-dashboard-interview-detail__main p {
    color: #64748b;
    font-size: 0.88rem;
}

.employer-dashboard-interview-detail__meta {
    display: grid;
    gap: 0.55rem;
    padding: 0.9rem;
    border: 1px solid rgba(15, 42, 95, 0.1);
    border-radius: 0.95rem;
    background: #f8fbff;
}

.employer-dashboard-interview-detail__meta span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.48rem;
    color: #334155;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.employer-dashboard-interview-detail__meta i {
    color: #0f2a5f;
    width: 1rem;
    flex: 0 0 auto;
}

.employer-dashboard-interview-detail__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.employer-dashboard-interview-detail__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.employer-dashboard-evaluation-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.employer-dashboard-evaluation-item:hover,
.employer-dashboard-evaluation-item:focus {
    color: inherit;
    border-color: rgba(37, 99, 235, 0.28);
    background: #f8fbff;
}

.employer-dashboard-score {
    min-width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0f2a5f;
    color: #ffffff;
    font-weight: 800;
}

.employer-dashboard-stage-modal .modal-content,
.employer-dashboard-stage-modal {
    border: 0;
    border-radius: 1.1rem;
}

.employer-dashboard-stage-modal-dialog {
    max-width: min(96vw, 82rem);
}

.employer-dashboard-modal-eyebrow {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.employer-dashboard-stage-modal__summary {
    border-radius: 0.95rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(130deg, color-mix(in srgb, var(--stage-color, #2563eb) 16%, #ffffff), #ffffff);
    border: 1px solid color-mix(in srgb, var(--stage-color, #2563eb) 24%, #ffffff);
    color: #0f172a;
    font-weight: 700;
}

.employer-dashboard-stage-modal__jobs {
    margin: 0.85rem 0;
}

.employer-dashboard-stage-modal__toolbar {
    display: grid;
    gap: 0.75rem;
}

.employer-dashboard-stage-modal__search {
    position: relative;
}

.employer-dashboard-stage-modal__search i {
    position: absolute;
    top: 50%;
    left: 0.92rem;
    color: #64748b;
    transform: translateY(-50%);
    pointer-events: none;
}

.employer-dashboard-stage-modal__search .form-control {
    min-height: 2.65rem;
    padding-left: 2.55rem;
    border-color: rgba(15, 42, 95, 0.14);
    border-radius: 0.95rem;
    background: #f8fbff;
    font-weight: 700;
}

.employer-dashboard-stage-modal__search .form-control:focus {
    border-color: rgba(46, 196, 182, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(46, 196, 182, 0.14);
}

.employer-dashboard-stage-tabs {
    display: flex;
    gap: 0.5rem;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.15rem 0.2rem 0.35rem;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.employer-dashboard-stage-tabs::-webkit-scrollbar {
    display: none;
}

.employer-dashboard-stage-tabs-shell {
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.employer-dashboard-stage-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.46rem;
    flex: 0 0 auto;
    max-width: 22rem;
    min-height: 2.55rem;
    border: 1px solid rgba(15, 42, 95, 0.12);
    border-radius: 0.78rem;
    background: #ffffff;
    color: #0f172a;
    padding: 0.42rem 0.52rem 0.42rem 0.68rem;
    text-align: left;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.employer-dashboard-stage-tab--all {
    justify-content: center;
    padding-left: 0.62rem;
}

.employer-dashboard-stage-tab:hover,
.employer-dashboard-stage-tab:focus-visible,
.employer-dashboard-stage-tab.is-active {
    border-color: color-mix(in srgb, var(--stage-color, #2563eb) 46%, #ffffff);
    background: linear-gradient(180deg, color-mix(in srgb, var(--stage-color, #2563eb) 10%, #ffffff), #ffffff);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--stage-color, #2563eb) 14%, transparent);
    outline: 0;
}

.employer-dashboard-stage-tab span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employer-dashboard-stage-tab--all span {
    flex: 0 0 auto;
}

.employer-dashboard-stage-tab small {
    display: inline-flex;
    flex: 0 1 auto;
    max-width: 100%;
    overflow: hidden;
    border-radius: 999px;
    padding: 0.14rem 0.42rem;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employer-dashboard-stage-tab strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--stage-color, #2563eb) 14%, #ffffff);
    color: color-mix(in srgb, var(--stage-color, #2563eb) 82%, #111827);
    font-size: 0.72rem;
    font-weight: 900;
}

.employer-dashboard-stage-detail {
    display: grid;
    gap: 0.75rem;
}

.employer-dashboard-stage-detail__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border: 1px solid rgba(15, 42, 95, 0.1);
    border-radius: 0.95rem;
    background: #ffffff;
    padding: 0.7rem 0.85rem;
}

.employer-dashboard-stage-detail__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    min-width: 0;
}

.employer-dashboard-stage-detail__title strong {
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 850;
}

.employer-dashboard-stage-detail__title span:not(.badge) {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 750;
}

.employer-dashboard-stage-detail__actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.employer-dashboard-stage-candidate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
    gap: 0.62rem;
}

.employer-dashboard-stage-job {
    background: #f8fafc;
    padding: 0;
    overflow: hidden;
}

.employer-dashboard-stage-job strong {
    color: #0f172a;
}

.employer-dashboard-stage-job__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 0.72rem 0.85rem;
}

.employer-dashboard-stage-job__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    text-align: left;
}

.employer-dashboard-stage-job__toggle:hover {
    background: rgba(255, 255, 255, 0.72);
}

.employer-dashboard-stage-job__summary:focus-visible {
    border-radius: 0.55rem;
    outline: 0;
    box-shadow: 0 0 0 0.18rem rgba(46, 196, 182, 0.22);
}

.employer-dashboard-stage-job__title-block {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.employer-dashboard-stage-job__title-block strong,
.employer-dashboard-stage-job__title-block small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employer-dashboard-stage-job__title-block small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.employer-dashboard-stage-job__meta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    flex: 0 0 auto;
}

.employer-dashboard-stage-job__status {
    max-width: 12rem;
    white-space: normal;
    text-align: center;
    line-height: 1.14;
}

.employer-dashboard-stage-job__header-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.employer-dashboard-stage-job__meta .fa-chevron-down {
    color: #64748b;
    transition: transform 0.18s ease;
}

.employer-dashboard-stage-job.is-open .employer-dashboard-stage-job__meta .fa-chevron-down {
    transform: rotate(180deg);
}

.employer-dashboard-stage-job__panel {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    background: #ffffff;
    padding: 0.85rem;
}

.employer-dashboard-stage-job__candidates {
    display: grid;
    gap: 0.55rem;
}

.employer-dashboard-stage-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    white-space: nowrap;
}

.employer-dashboard-stage-candidate {
    grid-template-columns: auto minmax(0, 1fr);
    background: #f8fafc;
    border-color: rgba(15, 42, 95, 0.1);
    padding: 0.62rem 0.68rem;
}

.employer-dashboard-stage-candidate--link {
    color: inherit;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.employer-dashboard-stage-candidate--link:hover,
.employer-dashboard-stage-candidate--link:focus {
    background: #ffffff;
    border-color: rgba(46, 196, 182, 0.42);
    box-shadow: 0 0.65rem 1.5rem rgba(15, 42, 95, 0.08);
    color: inherit;
    outline: 0;
}

.employer-dashboard-stage-candidate--link:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(46, 196, 182, 0.22), 0 0.65rem 1.5rem rgba(15, 42, 95, 0.08);
}

.employer-dashboard-stage-candidate .employer-dashboard-avatar {
    width: 2rem;
    height: 2rem;
}

.employer-dashboard-stage-candidate__job,
.employer-dashboard-stage-candidate__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employer-dashboard-stage-candidate__job {
    color: #0f2a5f !important;
    font-weight: 800;
}

.employer-dashboard-stage-candidate__job i,
.employer-dashboard-stage-candidate__meta i {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 0.72rem;
}

.employer-dashboard-stage-candidate__body {
    gap: 0.08rem;
    overflow: hidden;
}

.employer-dashboard-stage-empty {
    border: 1px dashed rgba(148, 163, 184, 0.35);
    border-radius: 0.95rem;
    padding: 1rem;
    color: #64748b;
    background: #f8fafc;
}

@media (max-width: 1199.98px) {
    .employer-dashboard-funnel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .employer-dashboard-status-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .employer-dashboard-shell .row,
    .employer-dashboard-shell .row > [class*="col-"] {
        min-width: 0;
    }

    .employer-dashboard-kpi {
        min-height: auto;
    }

    .employer-dashboard-funnel-grid {
        grid-template-columns: 1fr 1fr;
    }

    .employer-dashboard-panel__head {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .employer-dashboard-calendar-weekdays,
    .employer-dashboard-calendar-grid {
        min-width: 35rem;
    }

    .employer-interview-day-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .employer-interview-day-list {
        max-height: 18rem;
    }

    .employer-dashboard-stage-candidate {
        grid-template-columns: minmax(0, 1fr);
    }

    .employer-dashboard-stage-detail__header,
    .employer-dashboard-stage-detail__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .employer-dashboard-stage-candidate-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .employer-dashboard-stage-job__toggle,
    .employer-dashboard-stage-job__summary,
    .employer-dashboard-stage-job__meta,
    .employer-dashboard-stage-job__header-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .employer-dashboard-stage-job__summary,
    .employer-dashboard-stage-job__meta,
    .employer-dashboard-stage-job__header-actions {
        width: 100%;
    }

    .employer-dashboard-stage-action-btn {
        width: 100%;
    }
}

.stat-pill {
    border-radius: 16px;
    padding: 0.75rem 1rem;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.wizard-step {
    border-left: 3px solid transparent;
}

.wizard-step.active {
    border-color: var(--tl-primary);
    background: rgba(var(--tl-primary-rgb), 0.08);
}

/* Kanban board (Mockup postulantes) */
.kanban-board .kanban-column {
    background: color-mix(in srgb, var(--stage-column-color, rgba(var(--tl-primary-rgb), 0.45)) 16%, #ffffff);
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--stage-column-color, rgba(var(--tl-primary-rgb), 0.45)) 28%, #ffffff);
    padding: 0.85rem 0.85rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
    overflow: visible;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--stage-column-color, rgba(var(--tl-primary-rgb), 0.45)) 10%, transparent);
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.kanban-board .kanban-row:first-child .kanban-column,
.kanban-board .kanban-row:first-of-type .kanban-column {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.kanban-column.has-top-radius {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.kanban-column-header h6 {
    font-weight: 600;
}

.candidate-stage-actions {
    position: relative;
    z-index: auto;
}

.candidate-stage-actions.show {
    isolation: isolate;
    z-index: 3010;
}

.candidate-stage-actions__toggle {
    position: relative;
    z-index: 0 !important;
}

.candidate-stage-actions .dropdown-menu {
    z-index: 2 !important;
    margin-top: 0.35rem;
}

.candidate-stage-actions .dropdown-menu.show {
    z-index: 2 !important;
}

.candidate-stage-actions.show .candidate-stage-actions__toggle,
.candidate-stage-actions__toggle.show,
.candidate-stage-actions__toggle:focus,
.candidate-stage-actions__toggle:focus-visible {
    z-index: 0 !important;
}

.kanban-column--stage-actions-open,
.kanban-stage-grid__cell--actions-open {
    position: relative;
    z-index: 3020;
    overflow: visible;
}

.kanban-column-header--stage {
    align-items: center;
    gap: 0.75rem;
}

.kanban-column-header__title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    flex: 1 1 auto;
}

.kanban-column-header__actions {
    flex: 0 0 auto;
}

.kanban-column-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    border-radius: 0.8rem;
    border: 1px solid color-mix(in srgb, var(--stage-column-color, #2563eb) 28%, #ffffff);
    background: color-mix(in srgb, var(--stage-column-color, #2563eb) 12%, #ffffff);
    color: var(--stage-column-color, #2563eb);
    box-shadow: 0 6px 14px color-mix(in srgb, var(--stage-column-color, #2563eb) 14%, transparent);
}

.kanban-column-header__icon i {
    font-size: 0.9rem;
    line-height: 1;
}

.kanban-column-header__copy {
    min-width: 0;
    flex: 1 1 auto;
}

.kanban-column-header__stage-name {
    color: #1f2937;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.kanban-column-header__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 1.55rem;
    height: 1.55rem;
    padding: 0 0.38rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--stage-column-color, #2563eb) 28%, #ffffff);
    background: color-mix(in srgb, var(--stage-column-color, #2563eb) 15%, #ffffff);
    color: color-mix(in srgb, var(--stage-column-color, #2563eb) 82%, #111827);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
}

.kanban-column-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kanban-board .kanban-column-body {
    max-height: 17rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding-right: 0.15rem;
    scrollbar-width: thin;
    scrollbar-color:
        color-mix(in srgb, var(--stage-column-color, #2563eb) 72%, #ffffff)
        color-mix(in srgb, var(--stage-column-color, #2563eb) 12%, #ffffff);
}

.kanban-board .kanban-column-body::-webkit-scrollbar {
    width: 0.55rem;
}

.kanban-board .kanban-column-body::-webkit-scrollbar-track {
    border-radius: 999px;
    background: color-mix(in srgb, var(--stage-column-color, #2563eb) 10%, #ffffff);
}

.kanban-board .kanban-column-body::-webkit-scrollbar-thumb {
    border: 2px solid color-mix(in srgb, var(--stage-column-color, #2563eb) 10%, #ffffff);
    border-radius: 999px;
    background: color-mix(in srgb, var(--stage-column-color, #2563eb) 76%, #ffffff);
}

.kanban-board .kanban-column-body::-webkit-scrollbar-thumb:hover {
    background: color-mix(in srgb, var(--stage-column-color, #2563eb) 88%, #111827);
}

.kanban-board .kanban-column-body--stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    align-items: start;
    overflow-x: hidden;
    padding: 0.8rem 1.05rem 1.45rem;
    margin: -0.8rem -1.05rem 0;
    scroll-padding-bottom: 1.45rem;
    scrollbar-gutter: stable;
}

.kanban-board .kanban-column-body--stage .kanban-card {
    min-width: 0;
}

.kanban-board .kanban-column-body--stage .kanban-card--highlight {
    isolation: isolate;
    margin-inline: 0.15rem;
    border-color: #0f5fff;
    box-shadow:
        inset 0 0 0 2px rgba(15, 95, 255, 0.55),
        inset 0 0 0 5px rgba(46, 196, 182, 0.16),
        0 8px 18px rgba(15, 95, 255, 0.18);
    animation: candidate-highlight-pulse-contained 2.4s ease-out 2;
    z-index: 3;
}

.kanban-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1rem;
    cursor: pointer;
    position: relative;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.kanban-card strong {
    font-size: 0.95rem;
}

.kanban-card:hover {
    border-color: rgba(var(--tl-primary-rgb), 0.45);
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

.kanban-card--highlight {
    border-color: #0f5fff;
    background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
    box-shadow:
        0 0 0 3px rgba(15, 95, 255, 0.42),
        0 0 0 9px rgba(46, 196, 182, 0.18),
        0 26px 48px rgba(15, 95, 255, 0.28);
    animation: candidate-highlight-pulse 2.4s ease-out 2;
    z-index: 2;
}

@keyframes candidate-highlight-pulse {
    0% {
        box-shadow:
            0 0 0 0 rgba(15, 95, 255, 0.48),
            0 0 0 0 rgba(46, 196, 182, 0.26),
            0 18px 32px rgba(15, 23, 42, 0.14);
    }
    55% {
        box-shadow:
            0 0 0 4px rgba(15, 95, 255, 0.44),
            0 0 0 14px rgba(46, 196, 182, 0.2),
            0 30px 54px rgba(15, 95, 255, 0.3);
    }
    100% {
        box-shadow:
            0 0 0 3px rgba(15, 95, 255, 0.42),
            0 0 0 9px rgba(46, 196, 182, 0.18),
            0 26px 48px rgba(15, 95, 255, 0.28);
    }
}

@keyframes candidate-highlight-pulse-contained {
    0% {
        box-shadow:
            inset 0 0 0 0 rgba(15, 95, 255, 0.5),
            inset 0 0 0 0 rgba(46, 196, 182, 0.22),
            0 6px 14px rgba(15, 95, 255, 0.12);
    }
    55% {
        box-shadow:
            inset 0 0 0 3px rgba(15, 95, 255, 0.58),
            inset 0 0 0 7px rgba(46, 196, 182, 0.2),
            0 10px 20px rgba(15, 95, 255, 0.2);
    }
    100% {
        box-shadow:
            inset 0 0 0 2px rgba(15, 95, 255, 0.55),
            inset 0 0 0 5px rgba(46, 196, 182, 0.16),
            0 8px 18px rgba(15, 95, 255, 0.18);
    }
}

.recent-application-card {
    color: inherit;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    transform: translateY(0);
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.recent-application-card .card-body {
    position: relative;
    transform: none;
    transition: none;
}

.recent-application-card .admin-gestion-avatar {
    width: 36px;
    height: 36px;
}

.recent-application-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.recent-application-card__identity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1 1 100%;
}

.recent-application-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-start;
    flex: 1 1 100%;
}

.recent-application-card__badges .badge {
    white-space: nowrap;
}

@media (min-width: 992px) {
    .recent-application-card__header {
        flex-wrap: nowrap;
    }

    .recent-application-card__identity {
        flex: 1 1 auto;
    }

    .recent-application-card__badges {
        flex: 0 0 auto;
        justify-content: flex-end;
        max-width: 56%;
    }
}

.recent-application-card:hover {
    border-color: rgba(37, 99, 235, 0.35);
    transform: none;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
    background: #ffffff;
}

.recent-application-card:hover .card-body {
    transform: none;
}

.recent-application-card__applied-at {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    gap: 0.45rem;
    padding: 0.34rem 0.62rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
}

.recent-application-card__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.recent-application-card__cta {
    position: absolute;
    right: 1rem;
    bottom: 0.9rem;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
    white-space: nowrap;
}

.recent-application-card:hover .recent-application-card__cta {
    opacity: 1;
    transform: translateY(0);
}

.kanban-card-hint {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
    opacity: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(2px);
}

.kanban-card:hover .kanban-card-hint {
    opacity: 1;
    transform: translateY(0);
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #1e1b4b;
    font-weight: 500;
}

.candidate-profile-skills-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.55rem;
}

.candidate-profile-skills-grid .skill-pill {
    flex: 1 1 calc(50% - 0.55rem);
    min-width: min(100%, 10.5rem);
    max-width: 100%;
    min-height: 2.35rem;
    border: 1px solid rgba(30, 27, 75, 0.08);
    border-radius: 12px;
    background: #f3f6ff;
    padding: 0.42rem 0.55rem;
    font-size: 0.82rem;
    line-height: 1.2;
}

.candidate-profile-skills-grid .skill-pill-icon {
    flex: 0 0 1.45rem;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.candidate-profile-skills-grid .skill-pill-label {
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
}

.candidate-profile-skills-grid .skill-level-bars,
.candidate-profile-skills-grid .badge {
    flex: 0 0 auto;
}

/* Unified tabs style (global default = style 3) */
.app-tabs {
    --app-tabs-accent: #2563eb;
    --app-tabs-surface: #f8fafc;
    --app-tabs-border: #cbd5e1;
    --app-tabs-text: #334155;
    --app-tabs-active-text: #f8fafc;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    margin: 0 !important;
    margin-right: auto !important;
    padding: 0;
    border-bottom: 2px solid var(--app-tabs-accent) !important;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.nav-tabs.app-tabs {
    border-bottom: 2px solid var(--app-tabs-accent) !important;
}

.app-tabs + .tab-content {
    border-top: 0;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.app-tabs .nav-item {
    margin-bottom: 0;
    flex: 0 0 auto;
}

.app-tabs .nav-link {
    border: 1px solid var(--app-tabs-border);
    border-bottom: none;
    background: var(--app-tabs-surface);
    color: var(--app-tabs-text);
    border-radius: 10px 10px 0 0;
    padding: 0.44rem 0.9rem;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    line-height: 1.2;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 0;
    position: relative;
}

.app-tabs::-webkit-scrollbar {
    display: none;
}

.app-tabs .nav-link:not(.active) {
    border-bottom-color: transparent;
}

.app-tabs .nav-link:hover {
    background: #eff6ff;
    color: #1e3a8a;
    border-color: #93c5fd;
}

.app-tabs .nav-link.active,
.app-tabs .nav-item.show .nav-link {
    padding: 0.44rem 0.9rem !important;
    background: var(--app-tabs-accent);
    color: var(--app-tabs-active-text);
    border-color: var(--app-tabs-accent);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
    margin-bottom: -2px;
    z-index: 2;
}

.app-tabs .tab-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.app-tabs .nav-link.active .tab-count-badge,
.app-tabs .nav-item.show .nav-link .tab-count-badge {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.app-tabs .tab-count-badge--alert {
    min-width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    border: 0;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
    padding: 0 0.35rem;
}

.app-tabs .subscriptions-pending-tab-link {
    position: relative;
    display: inline-block;
    padding-right: 0.9rem !important;
}

.app-tabs .tab-alert-link {
    position: relative;
    padding-right: 0.9rem !important;
}

.app-tabs .subscriptions-pending-tab-label {
    display: inline-block;
    padding-right: 1.45rem;
    white-space: nowrap;
}

.app-tabs .tab-alert-label {
    display: inline-block;
    padding-right: 1.45rem;
    white-space: nowrap;
}

.app-tabs .subscriptions-pending-tab-link > .tab-count-badge--alert {
    position: absolute;
    top: 50%;
    right: 0.7rem;
    transform: translateY(-50%);
    margin: 0;
    line-height: 1;
    pointer-events: none;
}

.app-tabs .tab-alert-link > .tab-count-badge--alert {
    position: absolute;
    top: 50%;
    right: 0.7rem;
    transform: translateY(-50%);
    margin: 0;
    line-height: 1;
    pointer-events: none;
}

.app-tabs .nav-link.active .tab-count-badge--alert,
.app-tabs .nav-item.show .nav-link .tab-count-badge--alert {
    background: #ef4444;
    color: #ffffff;
    border: 0;
}

.app-tabs .nav-link > .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

.app-tabs--scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.app-tabs--scroll .nav-item,
.app-tabs--scroll .nav-link {
    flex: 0 0 auto;
}

.driver-popover-footer button,
.driver-popover-navigation-btns button {
    border: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.driver-popover-footer .driver-popover-next-btn:hover,
.driver-popover-footer .driver-popover-next-btn:focus,
.driver-popover-navigation-btns .driver-popover-next-btn:hover,
.driver-popover-navigation-btns .driver-popover-next-btn:focus {
    background-color: var(--tl-primary) !important;
    color: #ffffff !important;
}

.btn.app-guide-trigger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 11rem;
    padding-inline: 1rem;
    background: #7dd3fc;
    border-color: #38bdf8;
    color: #0f172a;
    box-shadow: 0 8px 18px rgba(56, 189, 248, 0.18);
    white-space: nowrap;
}

.btn.app-guide-trigger-btn:hover,
.btn.app-guide-trigger-btn:focus {
    background: #38bdf8;
    border-color: #0ea5e9;
    color: #0f172a;
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.24);
}

.btn.btn-sm.app-guide-trigger-btn {
    min-width: 9.5rem;
    padding-inline: 0.85rem;
}

.candidate-video-preview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0f172a;
    display: block;
}

.app-video-player {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #050816;
    border-radius: inherit;
    color: #ffffff;
    overflow: hidden;
    isolation: isolate;
}

.ratio > .app-video-player {
    position: absolute;
    inset: 0;
}

.app-video-player:focus-visible {
    outline: 3px solid rgba(46, 196, 182, 0.72);
    outline-offset: 3px;
}

.app-video-player__frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #050816;
}

.app-video-player__frame::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 38%;
    background: linear-gradient(180deg, rgba(5, 8, 22, 0), rgba(5, 8, 22, 0.72));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease;
    z-index: 2;
}

.app-video-player video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #050816;
}

.app-video-player__overlay-play {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(11, 31, 68, 0.7);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
    transition: opacity 0.16s ease, transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
    backdrop-filter: blur(8px);
    z-index: 3;
}

.app-video-player__overlay-play:hover,
.app-video-player__overlay-play:focus-visible {
    border-color: rgba(46, 196, 182, 0.72);
    background: rgba(15, 42, 95, 0.86);
    transform: translate(-50%, -50%) scale(1.03);
}

.app-video-player.is-playing .app-video-player__overlay-play {
    opacity: 0;
    pointer-events: none;
}

.app-video-player.has-error .app-video-player__overlay-play,
.app-video-player.is-loading .app-video-player__overlay-play {
    opacity: 0;
    pointer-events: none;
}

.app-video-player__status {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 1rem;
    z-index: 4;
    display: none;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 0.55rem 0.8rem;
    backdrop-filter: blur(8px);
}

.app-video-player.is-loading .app-video-player__status,
.app-video-player.has-error .app-video-player__status {
    display: inline-flex;
}

.app-video-player.is-loading .app-video-player__status::before {
    content: "";
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.34);
    border-top-color: #2ec4b6;
    animation: app-video-spin 0.8s linear infinite;
}

.app-video-player.has-error .app-video-player__status {
    background: rgba(127, 29, 29, 0.92);
}

.app-video-player__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.34rem;
    min-height: 2.35rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    background: rgba(5, 8, 22, 0.78);
    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.2);
    padding: 0.3rem 0.45rem;
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
    backdrop-filter: blur(12px);
}

.app-video-player.is-controls-visible .app-video-player__controls,
.app-video-player:focus-within .app-video-player__controls,
.app-video-player:hover .app-video-player__controls,
.app-video-player.has-error .app-video-player__controls {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.app-video-player.is-controls-visible .app-video-player__frame::after,
.app-video-player:focus-within .app-video-player__frame::after,
.app-video-player:hover .app-video-player__frame::after,
.app-video-player.has-error .app-video-player__frame::after {
    opacity: 1;
}

.app-video-player__btn {
    flex: 0 0 auto;
    width: 1.85rem;
    height: 1.85rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: background-color 0.14s ease, color 0.14s ease;
}

.app-video-player__btn:hover,
.app-video-player__btn:focus-visible {
    background: rgba(46, 196, 182, 0.24);
    color: #ffffff;
}

.app-video-player__volume-icon {
    width: 1.08em;
    height: 1.08em;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.app-video-player__time {
    flex: 0 0 auto;
    min-width: 4.85rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.app-video-player__scrubber-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    height: 1.85rem;
}

.app-video-player__scrubber {
    appearance: none;
    --app-video-progress: 0%;
    width: 100%;
    height: 0.22rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #2ec4b6 0%, #2ec4b6 var(--app-video-progress), rgba(255, 255, 255, 0.24) var(--app-video-progress), rgba(255, 255, 255, 0.24) 100%);
    accent-color: #2ec4b6;
    cursor: pointer;
}

.app-video-player__scrubber::-webkit-slider-runnable-track {
    height: 0.22rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #2ec4b6 0%, #2ec4b6 var(--app-video-progress), rgba(255, 255, 255, 0.24) var(--app-video-progress), rgba(255, 255, 255, 0.24) 100%);
}

.app-video-player__scrubber::-webkit-slider-thumb {
    appearance: none;
    width: 0.68rem;
    height: 0.68rem;
    margin-top: -0.23rem;
    border-radius: 999px;
    background: #2ec4b6;
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.2);
}

.app-video-player__scrubber::-moz-range-track {
    height: 0.22rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
}

.app-video-player__scrubber::-moz-range-progress {
    height: 0.22rem;
    border-radius: 999px;
    background: #2ec4b6;
}

.app-video-player__scrubber::-moz-range-thumb {
    width: 0.68rem;
    height: 0.68rem;
    border: 0;
    border-radius: 999px;
    background: #2ec4b6;
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.2);
}

.app-video-player__scrubber:focus-visible,
.app-video-player__volume:focus-visible {
    outline: 2px solid rgba(94, 218, 208, 0.95);
    outline-offset: 4px;
}

.app-video-player__volume-group {
    position: relative;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-video-player__volume-group::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 2.6rem;
    height: 0.7rem;
    transform: translateX(-50%);
}

.app-video-player__volume-panel {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.12rem);
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 5.65rem;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(5, 8, 22, 0.86);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 0.4rem);
    transition: opacity 0.14s ease, transform 0.14s ease;
    backdrop-filter: blur(12px);
}

.app-video-player__volume-group.is-volume-open .app-video-player__volume-panel,
.app-video-player__volume-group:focus-within .app-video-player__volume-panel,
.app-video-player__volume-group:hover .app-video-player__volume-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.app-video-player__volume {
    appearance: none;
    --app-video-volume: 100%;
    width: 4.35rem;
    height: 0.54rem;
    accent-color: #2ec4b6;
    cursor: pointer;
    transform: rotate(-90deg);
    background: transparent;
}

.app-video-player__volume::-webkit-slider-runnable-track {
    height: 0.16rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #2ec4b6 0%, #2ec4b6 var(--app-video-volume), rgba(255, 255, 255, 0.22) var(--app-video-volume), rgba(255, 255, 255, 0.22) 100%);
}

.app-video-player__volume::-webkit-slider-thumb {
    appearance: none;
    width: 0.54rem;
    height: 0.54rem;
    margin-top: -0.19rem;
    border-radius: 999px;
    background: #2ec4b6;
    box-shadow: 0 0 0 2px rgba(46, 196, 182, 0.22);
}

.app-video-player__volume::-moz-range-track {
    height: 0.16rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.app-video-player__volume::-moz-range-progress {
    height: 0.16rem;
    border-radius: 999px;
    background: #2ec4b6;
}

.app-video-player__volume::-moz-range-thumb {
    width: 0.54rem;
    height: 0.54rem;
    border: 0;
    border-radius: 999px;
    background: #2ec4b6;
    box-shadow: 0 0 0 2px rgba(46, 196, 182, 0.22);
}

@keyframes app-video-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 575.98px) {
    .app-video-player__overlay-play {
        width: 2.85rem;
        height: 2.85rem;
    }

    .app-video-player__controls {
        gap: 0.24rem;
        min-height: 2.15rem;
        padding: 0.24rem 0.3rem;
    }

    .app-video-player__time {
        min-width: 4.25rem;
        font-size: 0.66rem;
    }

    .app-video-player__btn {
        width: 1.65rem;
        height: 1.65rem;
        font-size: 0.75rem;
    }

    .app-video-player__volume-panel {
        height: 5.2rem;
    }

    .app-video-player__volume {
        width: 4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-video-player__overlay-play,
    .app-video-player__controls,
    .app-video-player__volume-panel {
        transition: none;
    }
}

.candidate-video-workspace {
    align-items: stretch;
}

.candidate-video-card {
    border: 1px solid #d7dfeb;
    border-radius: 16px;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 8px 22px rgba(15, 42, 95, 0.08);
}

.candidate-video-frame {
    border-radius: 14px;
    overflow: hidden;
    background: #050816;
    border: 1px solid rgba(15, 42, 95, 0.16);
}

.candidate-video-format-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid rgba(15, 42, 95, 0.16);
    color: #0f2a5f;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.42rem 0.62rem;
}

.candidate-video-format-pill i {
    color: #2ec4b6;
}

.candidate-video-orientation-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.84rem;
    padding: 0.72rem 0.82rem;
}

.candidate-video-orientation-note i {
    color: #0f2a5f;
    margin-top: 0.12rem;
}

.candidate-video-mode-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.candidate-video-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: end;
}

.candidate-video-upload-control {
    min-width: 0;
}

.candidate-video-record-open {
    min-height: 2.4rem;
    white-space: nowrap;
}

.candidate-video-record-panel {
    border: 1px solid #d7dfeb;
    border-radius: 14px;
    background: #f8fafc;
    padding: 0.8rem;
}

.candidate-video-record-modal .modal-header {
    align-items: flex-start;
}

.candidate-video-record-modal .candidate-video-record-panel {
    background: #ffffff;
}

.candidate-video-record-modal .candidate-video-ai-guide {
    position: static;
}

.candidate-video-timer {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.28rem 0.62rem;
}

.candidate-video-orientation-warning {
    display: block;
    margin-top: 0.5rem;
    color: #b45309;
    font-size: 0.82rem;
    font-weight: 700;
}

.candidate-video-ai-guide {
    position: sticky;
    top: 1rem;
    border-color: rgba(46, 196, 182, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, #f8fffe 100%);
}

.candidate-video-ai-guide #videoPitchAiTipsList li + li {
    margin-top: 0.34rem;
}

@media (max-width: 575.98px) {
    .candidate-video-actions {
        grid-template-columns: 1fr;
    }

    .candidate-video-record-open {
        width: 100%;
    }
}

.vacancy-tabs-shell {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.vacancy-tabs-attached-card {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.vacancy-filters-card {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.vacancy-filter-primary-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 1.45fr) minmax(16rem, 1fr) minmax(18rem, 0.85fr);
    gap: 1rem;
    align-items: end;
}

.vacancy-filter-search-field,
.vacancy-filter-search-field .global-search-inline {
    width: 100%;
    max-width: none;
}

.vacancy-filter-more-action {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    align-items: end;
}

.vacancy-filter-action-btn,
.vacancy-filter-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 2.5rem;
    font-weight: 700;
    white-space: nowrap;
}

.vacancy-filter-action-btn--more {
    background: #0f5fff;
    border-color: #0f5fff;
    color: #fff;
}

.vacancy-filter-action-btn--more:hover,
.vacancy-filter-action-btn--more:focus,
.vacancy-filter-more-btn[aria-expanded="true"] {
    background: #0b4fd4;
    border-color: #0b4fd4;
    color: #fff;
}

.vacancy-filter-action-btn--clear {
    background: #f8fafc;
    border-color: #d7e0ea;
    color: #334155;
}

.vacancy-filter-action-btn--clear:hover,
.vacancy-filter-action-btn--clear:focus {
    background: #eef4fb;
    border-color: #b8c7d9;
    color: #0f172a;
}

.hunting-filter-primary-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 1.55fr) minmax(14rem, 1fr) minmax(12rem, 0.85fr) auto;
    gap: 1rem;
    align-items: end;
}

.hunting-filter-primary-field,
.hunting-filter-primary-field .global-search-inline {
    width: 100%;
    max-width: none;
}

.hunting-filter-more-action {
    display: flex;
    align-items: end;
}

.hunting-filter-more-btn {
    min-width: 10rem;
}

.hunting-filter-drawer .form-check {
    margin-bottom: 0;
}

.vacancy-filter-advanced {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    width: min(92vw, 28rem);
    height: 100dvh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-left: 1px solid #dbe4f0;
    box-shadow: -24px 0 52px rgba(15, 23, 42, 0.2);
    transform: translateX(100%);
    transition: transform 0.22s ease;
}

.vacancy-filter-advanced.is-open {
    transform: translateX(0);
}

.vacancy-filter-drawer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.vacancy-filter-drawer__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 1.25rem;
}

.vacancy-filter-drawer__footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 -12px 24px rgba(15, 23, 42, 0.05);
}

.vacancy-filter-drawer__footer-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0.75rem;
}

.vacancy-filter-drawer__footer-actions .btn {
    min-height: 2.65rem;
    font-weight: 700;
}

.vacancy-filter-advanced .row > [class*="col-"] {
    width: 100%;
    flex: 0 0 auto;
}

.vacancy-filter-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1055;
    background: rgba(15, 23, 42, 0.42);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.vacancy-filter-drawer-backdrop.is-open {
    opacity: 1;
}

body.vacancy-filter-drawer-open {
    overflow: hidden;
}

.vacancy-filter-range {
    --range-min: 0%;
    --range-max: 100%;
}

.vacancy-filter-range__slider {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1.2rem;
    row-gap: 0.12rem;
    align-items: center;
}

.vacancy-filter-range__track,
.vacancy-filter-range__fill {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    height: 0.32rem;
    border-radius: 999px;
    align-self: center;
    width: 100%;
}

.vacancy-filter-range__track {
    background: #dbe4f0;
    z-index: 1;
}

.vacancy-filter-range__fill {
    margin-left: var(--range-min);
    width: calc(var(--range-max) - var(--range-min));
    background: linear-gradient(90deg, #0f5fff, #38bdf8);
    box-shadow: 0 0 0 1px rgba(15, 95, 255, 0.08);
    z-index: 2;
}

.vacancy-filter-range__markers {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    pointer-events: none;
    z-index: 1;
}

.vacancy-filter-range__marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    min-width: 1.45rem;
    height: 0.85rem;
    color: #cbd5e1;
    opacity: 0.82;
    transform: scale(0.92);
    transition: color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.vacancy-filter-range__marker-number {
    color: currentColor;
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1;
}

.vacancy-filter-range__marker i {
    font-size: 0.72rem;
    line-height: 1;
}

.vacancy-filter-range__marker.is-selected {
    color: #f59e0b;
    opacity: 1;
    transform: scale(1.02);
}

.vacancy-filter-range__marker.is-before-selected {
    color: #94a3b8;
    opacity: 0.9;
}

.vacancy-filter-range__marker.is-after-selected {
    color: #d8e1eb;
    opacity: 0.7;
}

.vacancy-filter-range--rating .vacancy-filter-range__track {
    background: linear-gradient(90deg, #e2e8f0 0%, #dbe4f0 100%);
}

.vacancy-filter-range--rating .vacancy-filter-range__fill {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.12);
}

.vacancy-filter-range__input {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    height: 1.2rem;
    margin: 0;
    background: transparent;
    pointer-events: none;
}

.vacancy-filter-range--reversed .vacancy-filter-range__input {
    direction: rtl;
}

.vacancy-filter-range__input:first-of-type {
    z-index: 2;
}

.vacancy-filter-range__input:last-of-type {
    z-index: 3;
}

.vacancy-filter-range__input::-webkit-slider-thumb {
    pointer-events: auto;
}

.vacancy-filter-range__input::-webkit-slider-runnable-track {
    background: transparent;
    border-color: transparent;
}

.vacancy-filter-range__input::-moz-range-thumb {
    pointer-events: auto;
}

.vacancy-filter-range__input::-moz-range-track {
    background: transparent;
    border-color: transparent;
}

.vacancy-filter-rating-value {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.vacancy-filter-rating-value__stars {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
    color: #f59e0b;
}

.vacancy-filter-rating-value__count {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 600;
}

@media (max-width: 1199.98px) {
    .vacancy-filter-primary-grid,
    .hunting-filter-primary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .vacancy-filter-primary-grid,
    .hunting-filter-primary-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vacancy-filter-action-btn,
    .vacancy-filter-more-btn {
        min-height: 2.75rem;
    }
}

.vacancy-applicants-content-shell {
    position: relative;
    min-height: 14rem;
}

.vacancy-applicants-content-stage {
    position: relative;
    z-index: 1;
    transition: filter 0.18s ease, opacity 0.18s ease;
}

.vacancy-applicants-content-shell.is-loading .vacancy-applicants-content-stage {
    filter: blur(4px);
    opacity: 0.42;
    pointer-events: none;
    user-select: none;
}

.app-ajax-tab-loading-overlay.vacancy-applicants-loading-overlay {
    inset: 0;
    z-index: 7;
    align-items: flex-start;
    justify-content: stretch;
    padding: 0;
    background: rgba(248, 250, 252, 0.22);
    backdrop-filter: blur(2px);
}

.vacancy-applicants-loading-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.vacancy-applicants-loading-card__spinner {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vacancy-applicants-loading-card__copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.vacancy-applicants-loading-card__copy strong {
    font-size: 0.98rem;
    color: #0f172a;
}

.vacancy-applicants-loading-card__copy span {
    font-size: 0.84rem;
    color: #64748b;
}

.vacancy-tabs {
    display: flex;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-right: 0 !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.vacancy-tabs::-webkit-scrollbar {
    display: none;
}

.vacancy-tabs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border: 1px solid #1d4ed8;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(29, 78, 216, 0.35);
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

.vacancy-tabs-nav[data-vacancy-tabs-nav="left"] {
    left: 0.25rem;
}

.vacancy-tabs-nav[data-vacancy-tabs-nav="right"] {
    right: 0.25rem;
}

.vacancy-tabs-shell.is-scrollable .vacancy-tabs-nav {
    opacity: 1;
    pointer-events: auto;
}

.vacancy-tabs-shell.is-scrollable .vacancy-tabs-nav:disabled,
.vacancy-tabs-shell.is-scrollable .vacancy-tabs-nav.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.vacancy-tabs-nav:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border-color: #1e40af;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.42);
}

.vacancy-tabs-nav:active {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    border-color: #1e3a8a;
    box-shadow: 0 5px 12px rgba(30, 64, 175, 0.35);
    transform: translateY(-50%) scale(0.97);
}

[data-employer-applications-tour-tabs] .vacancy-tabs-shell .vacancy-tabs .nav-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    max-width: 16.5rem;
    min-height: 0;
    padding: 0.48rem 0.95rem 0.55rem;
    text-align: center;
    white-space: normal;
    line-height: 1.1;
}

.vacancy-tabs .nav-item {
    display: flex;
    align-self: stretch;
    min-width: 0;
}

[data-employer-applications-tour-tabs] .vacancy-tabs-shell .vacancy-tabs .nav-link.active,
[data-employer-applications-tour-tabs] .vacancy-tabs-shell .vacancy-tabs .nav-item.show .nav-link {
    padding: 0.48rem 0.95rem 0.55rem !important;
    margin-bottom: -2px !important;
}

[data-employer-applications-tour-tabs] .vacancy-tabs-shell .vacancy-tabs .nav-link .vacancy-tab-title {
    display: block;
    width: 100%;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    text-wrap: balance;
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    [data-employer-applications-tour-tabs] .vacancy-tabs-shell .vacancy-tabs .nav-link {
        height: 100%;
        flex-basis: auto;
        width: auto;
        min-width: 0;
        max-width: 14.5rem;
        min-height: 0;
        padding: 0.42rem 0.8rem 0.5rem;
    }

    [data-employer-applications-tour-tabs] .vacancy-tabs-shell .vacancy-tabs .nav-link.active,
    [data-employer-applications-tour-tabs] .vacancy-tabs-shell .vacancy-tabs .nav-item.show .nav-link {
        padding: 0.42rem 0.8rem 0.5rem !important;
        margin-bottom: -2px !important;
    }
}

.candidate-tab-style-switcher {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.candidate-tab-style-switcher__label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
}

.candidate-tab-style-switcher__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.candidate-app-tabs.tabs-variant-1 {
    gap: 0.6rem;
    border-bottom-color: rgba(15, 23, 42, 0.14);
}

.candidate-app-tabs.tabs-variant-1 .nav-link {
    border: none;
    background: transparent;
    color: #475569;
    border-radius: 10px 10px 0 0;
    padding: 0.45rem 0.75rem;
}

.candidate-app-tabs.tabs-variant-1 .nav-link:not(.active) {
    border-bottom: none;
}

.candidate-app-tabs.tabs-variant-1 .nav-link:hover {
    background: rgba(148, 163, 184, 0.16);
    color: #0f172a;
}

.candidate-app-tabs.tabs-variant-1 .nav-link.active,
.candidate-app-tabs.tabs-variant-1 .nav-item.show .nav-link {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-bottom-color: #ffffff;
    margin-bottom: -1px;
    box-shadow: none;
}

.candidate-app-tabs.tabs-variant-1 + .tab-content {
    border-top-color: rgba(15, 23, 42, 0.14);
}

.candidate-app-tabs.tabs-variant-2 {
    gap: 0.6rem;
    border-bottom-color: rgba(30, 41, 59, 0.14);
}

.candidate-app-tabs.tabs-variant-2 .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #475569;
    padding: 0.5rem 0.35rem;
}

.candidate-app-tabs.tabs-variant-2 .nav-link:not(.active) {
    border-bottom-color: transparent;
}

.candidate-app-tabs.tabs-variant-2 .nav-link.active,
.candidate-app-tabs.tabs-variant-2 .nav-item.show .nav-link {
    color: #0f172a;
    border-bottom-color: #0f172a;
    background: transparent;
    margin-bottom: -1px;
}

.candidate-app-tabs.tabs-variant-3 {
    gap: 0.5rem;
    border-bottom: none;
}

.candidate-app-tabs.tabs-variant-3 .nav-link {
    border: 1px solid #cbd5e1;
    border-radius: 10px 10px 0 0;
    background: #f8fafc;
    color: #334155;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.candidate-app-tabs.tabs-variant-3 .nav-link.active,
.candidate-app-tabs.tabs-variant-3 .nav-item.show .nav-link {
    background: #1e293b;
    color: #f8fafc;
    border-color: #1e293b;
    box-shadow: 0 10px 22px rgba(30, 41, 59, 0.28);
    margin-bottom: 0;
}

.candidate-app-tabs.tabs-variant-3 + .tab-content {
    border-top-color: #1e293b;
}

.candidate-app-tabs.tabs-variant-4 {
    gap: 0.5rem;
    border-bottom: none;
    background: #e2e8f0;
    border-radius: 14px;
    padding: 0.35rem;
}

.candidate-app-tabs.tabs-variant-4 .nav-link {
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #475569;
    padding: 0.45rem 0.95rem;
    font-weight: 600;
}

.candidate-app-tabs.tabs-variant-4 .nav-link.active,
.candidate-app-tabs.tabs-variant-4 .nav-item.show .nav-link {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

.candidate-app-tabs.tabs-variant-4 .nav-link:not(.active):hover {
    background: rgba(255, 255, 255, 0.45);
    color: #1e293b;
}

.candidate-app-tabs.tabs-variant-4 + .tab-content {
    border-top-color: rgba(15, 23, 42, 0.12);
    margin-top: 0 !important;
}

.candidate-app-tabs.tabs-variant-5 {
    gap: 0;
    border-bottom: none;
}

.candidate-app-tabs.tabs-variant-5 .nav-link {
    border: 1px solid #cbd5e1;
    border-right-width: 0;
    border-radius: 0;
    background: #f8fafc;
    color: #334155;
    padding: 0.5rem 1rem;
}

.candidate-app-tabs.tabs-variant-5 .nav-link.active,
.candidate-app-tabs.tabs-variant-5 .nav-item.show .nav-link {
    color: #0f172a;
    border-color: #94a3b8;
    background: #ffffff;
    border-bottom-color: #ffffff;
    box-shadow: none;
    position: relative;
    z-index: 2;
    margin-bottom: -1px;
}

.candidate-app-tabs.tabs-variant-5 .nav-item:first-child .nav-link {
    border-top-left-radius: 10px;
}

.candidate-app-tabs.tabs-variant-5 .nav-item:last-child .nav-link {
    border-right-width: 1px;
    border-top-right-radius: 10px;
}

.candidate-app-tabs.tabs-variant-5 + .tab-content {
    border-top-color: #94a3b8;
}

/* Admin gestion */
.admin-gestion-card {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.admin-gestion-tabs {
    gap: 0.35rem 0.5rem;
}

.admin-gestion-primary {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    box-shadow: 0 10px 16px rgba(var(--tl-primary-rgb), 0.18);
    font-weight: 600;
    font-size: 0.9rem;
    min-height: 40px;
}

.labor-toolbar-btn {
    height: 34px;
    min-height: 34px;
    padding: 0.34rem 0.9rem;
    line-height: 1.1;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 0.55rem !important;
}

.labor-toolbar-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.95rem;
    font-size: 0.84rem;
    line-height: 1;
    margin: 0 !important;
}

.labor-add-role-btn {
    font-weight: 600;
}

.skill-suggestions-header {
    margin-top: 0.45rem !important;
}

.admin-gestion-export-btn {
    min-height: 40px;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 10px 18px rgba(22, 163, 74, 0.2);
    white-space: nowrap;
    flex: 0 0 auto;
}

.admin-gestion-toolbar h6 {
    font-weight: 600;
}

.admin-gestion-summary {
    display: block;
    font-size: 0.875rem;
    line-height: 1.35;
}

.admin-gestion-toolbar-actions {
    min-width: 0;
    width: 100%;
    flex: 1 1 760px;
}

.admin-gestion-search {
    min-width: 0;
    flex: 1 1 360px;
}

.admin-gestion-controls {
    width: 100%;
    padding: 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    background: #f8fafc;
}

.admin-gestion-controls .global-search-inline {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.admin-gestion-controls-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    align-items: center;
}

.admin-gestion-filter-row {
    display: grid;
    gap: 0.5rem;
}

.admin-gestion-filter-row .form-select {
    min-width: 0;
}

.admin-gestion-filters-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-gestion-filters-grid--companies {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-gestion-filters-grid--candidates,
.admin-gestion-filters-grid--commercial-seller {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-gestion-filters-grid--commercial {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-gestion-filters-grid--admins {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-gestion-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.admin-gestion-table thead th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    background: #f8fafc;
}

.admin-gestion-table tbody td {
    vertical-align: middle;
}

.admin-gestion-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    object-fit: cover;
    background: #f1f5f9;
    border: 0;
}

.admin-avatar-debug {
    border-radius: 16px;
}

.admin-avatar-preview {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.admin-gestion-table .badge {
    border-radius: 999px;
    text-transform: lowercase;
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
    font-weight: 600;
}

.admin-gestion-table .btn-group .btn {
    border-radius: 0;
    padding: 0.35rem 0.75rem;
    font-weight: 600;
    text-align: center;
}

.admin-gestion-table .btn-group .btn + .btn {
    margin-left: 0;
}

.admin-gestion-table .admin-gestion-actions .admin-action-first {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.admin-gestion-table .admin-gestion-actions .admin-action-last {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.admin-gestion-table .admin-gestion-actions .admin-action-middle {
    border-radius: 0;
}

.admin-gestion-table .admin-gestion-actions .btn:only-child {
    border-radius: 8px;
}

.admin-gestion-table .admin-action-impersonate {
    order: 1;
}

.admin-roles-table .btn-group .btn {
    border-radius: 0;
}

.admin-roles-table .btn-group .admin-action-first {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.admin-roles-table .btn-group .admin-action-last {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.admin-roles-table .btn-group .btn:only-child {
    border-radius: 8px;
}

.admin-roles-table .admin-roles-actions > * + * .btn {
    margin-left: -1px;
}

.admin-roles-table .admin-roles-actions > * + * .btn:not(:last-child),
.admin-roles-table .admin-roles-actions > .btn + .btn,
.admin-roles-table .admin-roles-actions > form + form .btn,
.admin-roles-table .admin-roles-actions > .btn + form .btn,
.admin-roles-table .admin-roles-actions > form + .btn {
    margin-left: -1px !important;
}

.admin-gestion-table .admin-action-suspend {
    min-width: 102px;
}

.admin-gestion-table .admin-action-history {
    min-width: 0 !important;
    width: auto;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
}

.admin-gestion-table .admin-gestion-actions > * + * .btn {
    margin-left: -1px;
}

.admin-gestion-table .admin-gestion-actions > * + * .btn:not(:last-child),
.admin-gestion-table .admin-gestion-actions > .btn + .btn,
.admin-gestion-table .admin-gestion-actions > form + form .btn,
.admin-gestion-table .admin-gestion-actions > .btn + form .btn,
.admin-gestion-table .admin-gestion-actions > form + .btn {
    margin-left: -1px !important;
}

.admin-gestion-table .admin-creator-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    font-size: 0.9rem;
    cursor: help;
}

.admin-gestion-table .admin-creator-icon i {
    line-height: 1;
}

.tooltip.admin-creator-tooltip .tooltip-inner {
    background-color: #2563eb;
    color: #ffffff;
    font-weight: 600;
    padding: 0.45rem 0.65rem;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.18);
}

.tooltip.admin-creator-tooltip[data-popper-placement^="top"] .tooltip-arrow::before {
    border-top-color: #2563eb;
}

.tooltip.admin-creator-tooltip[data-popper-placement^="bottom"] .tooltip-arrow::before {
    border-bottom-color: #2563eb;
}

.tooltip.admin-creator-tooltip[data-popper-placement^="start"] .tooltip-arrow::before {
    border-left-color: #2563eb;
}

.tooltip.admin-creator-tooltip[data-popper-placement^="end"] .tooltip-arrow::before {
    border-right-color: #2563eb;
}


.admin-gestion-table.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg: #ffffff;
}

.admin-gestion-table.table-striped > tbody > tr:nth-of-type(even) > * {
    --bs-table-bg: #f7f9fc;
}

.pagination {
    margin-bottom: 0;
    --bs-pagination-color: var(--tl-primary);
    --bs-pagination-hover-color: var(--tl-primary);
    --bs-pagination-focus-color: var(--tl-primary);
    --bs-pagination-active-color: var(--tl-primary-text);
    --bs-pagination-active-bg: var(--tl-primary);
    --bs-pagination-active-border-color: var(--tl-primary);
    --bs-pagination-disabled-color: #94a3b8;
    --bs-pagination-border-color: rgba(15, 23, 42, 0.12);
    --bs-pagination-hover-bg: #ffffff;
    --bs-pagination-focus-bg: #ffffff;
}

.pagination .page-link,
.pagination .page-link:visited {
    border-radius: 0;
    border-color: rgba(15, 23, 42, 0.12);
}

.pagination .page-link,
.pagination .page-link:visited {
    color: var(--bs-pagination-color) !important;
}

.pagination .page-link:hover:not(.pagination-jump-btn),
.pagination .page-link:focus:not(.pagination-jump-btn) {
    color: var(--bs-pagination-color) !important;
}

.pagination .page-item.active .page-link {
    background-color: var(--tl-primary);
    border-color: var(--tl-primary);
    color: var(--tl-primary-text) !important;
}

.pagination .page-item.active .page-link:visited {
    color: var(--tl-primary-text) !important;
}

.pagination .pagination-jump .input-group-text,
.pagination .pagination-jump .form-control,
.pagination .pagination-jump .btn {
    border-color: rgba(15, 23, 42, 0.12);
}

.pagination .pagination-jump {
    display: flex;
    align-items: stretch;
    margin-left: 0.8rem;
}

.pagination .pagination-jump .pagination-jump-control {
    height: 100%;
    align-items: stretch;
}

.pagination .pagination-jump-input,
.pagination .pagination-jump-btn {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    border-color: rgba(15, 23, 42, 0.12);
}

.pagination .pagination-jump-input {
    max-width: 52px;
    border-top-left-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 1px solid rgba(15, 23, 42, 0.12);
}

.pagination .pagination-jump-input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}

.pagination .pagination-jump-input::-webkit-outer-spin-button,
.pagination .pagination-jump-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pagination .pagination-jump-input {
    -moz-appearance: textfield;
}

.pagination .pagination-jump-btn {
    background: #fff;
    color: #475569;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 1px solid rgba(15, 23, 42, 0.12);
    line-height: 1.5;
}

.vacancy-pagination-jump {
    width: auto;
}

.vacancy-pagination-jump .pagination-jump-input {
    width: 72px;
}

.vacancy-pagination {
    flex-wrap: nowrap;
    overflow-x: auto;
}

.vacancy-pagination .pagination {
    flex-wrap: nowrap;
}

.pagination .pagination-prev .page-link {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.pagination .pagination-next .page-link {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.pagination .pagination-prev .page-link,
.pagination .pagination-next .page-link {
    line-height: 1;
    height: calc(1.5em + 0.75rem + 2px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 0;
}

.pagination .pagination-arrow {
    font-size: 1.35rem;
}

.pagination .pagination-arrow-icon {
    font-size: 0.9rem;
    line-height: 1;
}

.pagination .pagination-jump-btn:hover,
.pagination .pagination-jump-btn:focus {
    background: var(--tl-primary) !important;
    border-color: var(--tl-primary) !important;
    color: var(--tl-primary-text) !important;
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 0.15rem rgba(var(--tl-primary-rgb), 0.2);
}

.admin-roles-card {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-roles-table thead th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    background: #f8fafc;
}

.admin-roles-table .badge {
    border-radius: 999px;
    font-weight: 600;
}

.role-color-preview {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    display: inline-block;
    border: 1px solid rgba(15, 23, 42, 0.18);
}

.admin-gestion-stats .stat-pill {
    border-radius: 14px;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-gestion-stats .badge {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
}

@media (max-width: 991.98px) {
    .admin-gestion-tabs {
        flex-wrap: nowrap;
    }

    .admin-gestion-search .form-control {
        min-width: 0;
        width: 100%;
    }

    .admin-gestion-toolbar-actions {
        width: 100%;
    }

    .admin-gestion-search {
        flex: 1 1 100%;
        width: 100%;
    }

    .admin-gestion-export-btn {
        margin-top: 0 !important;
    }

    .admin-gestion-primary,
    .admin-gestion-export-btn {
        min-height: 38px;
        padding: 0.45rem 0.8rem;
        font-size: 0.84rem;
    }

    .admin-gestion-filter-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-gestion-filters-grid--admins {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-gestion-filter-row .form-select {
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    .admin-gestion-controls-top {
        grid-template-columns: 1fr;
    }

    .admin-gestion-controls-top .admin-gestion-clear {
        width: 100%;
    }

    .admin-gestion-filter-row {
        grid-template-columns: 1fr;
    }

    .admin-gestion-primary,
    .admin-gestion-export-btn {
        min-height: 38px;
    }
}

.impersonation-bar {
    background: #1f2937;
    color: #f8fafc;
    padding: 0.65rem 0;
    font-size: 0.9rem;
    position: sticky;
    top: 56px;
    z-index: 1029;
}

.impersonation-bar .btn-outline-light {
    border-color: rgba(248, 250, 252, 0.6);
    color: #f8fafc;
}

.impersonation-bar .btn-outline-light:hover {
    background: rgba(248, 250, 252, 0.12);
    color: #f8fafc;
}

.sidebar-impersonation {
    padding: 0.95rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #f97316, #ef4444);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.25);
}

.sidebar-impersonation-label {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.sidebar-impersonation-user {
    font-weight: 600;
    margin: 0.2rem 0 0.75rem;
    color: #ffffff;
}

.hunting-send-cv-modal-dialog {
    max-width: min(1500px, 96vw);
    height: calc(100vh - 2rem);
    margin: 1rem auto;
}

#huntingCvActionsModal .modal-content {
    height: 100%;
    max-height: calc(100vh - 2rem);
}

#huntingCvActionsModal .modal-body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden !important;
}

#huntingCvActionsModal .hunting-send-cv-layout {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
}

#huntingCvActionsModal .hunting-send-cv-layout > [class*="col-"] {
    display: flex;
    min-height: 0;
}

.hunting-send-cv-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 1rem;
    border: 1px solid #dbe2ea;
    border-radius: 1rem;
    background: #f8fafc;
}

.hunting-send-cv-panel__header {
    margin-bottom: 0.85rem;
}

.hunting-send-cv-panel__message-block {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.hunting-send-cv-panel__textarea {
    flex: 1 1 auto;
    min-height: 10rem;
    resize: none;
}

.hunting-send-cv-panel__history-block {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.hunting-send-cv-history {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.8rem;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.hunting-send-cv-history__empty {
    border: 1px dashed #cbd5e1;
    border-radius: 0.9rem;
    background: #ffffff;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.45;
    padding: 0.8rem 0.9rem;
}

.hunting-send-cv-history__item {
    position: relative;
    border: 1px solid #dbe2ea;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    padding: 0.9rem;
    overflow: hidden;
}

.hunting-send-cv-history__item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.22rem;
    background: linear-gradient(180deg, #1b3a8a 0%, #2ec4b6 100%);
}

.hunting-send-cv-history__head {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
}

.hunting-send-cv-history__recipient-block {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    min-width: 0;
    flex: 1 1 auto;
}

.hunting-send-cv-history__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #e7f0ff 0%, #eefbf8 100%);
    border: 1px solid #d9e7fb;
    color: #1b3a8a;
    font-size: 0.82rem;
    flex: 0 0 auto;
}

.hunting-send-cv-history__recipient-copy {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.hunting-send-cv-history__detail-label {
    color: #64748b;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hunting-send-cv-history__recipient {
    min-width: 0;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.hunting-send-cv-history__details {
    display: grid;
    gap: 0.5rem;
}

.hunting-send-cv-history__detail-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
    padding: 0.65rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    background: #ffffff;
}

.hunting-send-cv-history__detail-value {
    min-width: 0;
    color: #0f172a;
    font-size: 0.79rem;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.hunting-send-cv-preview {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    border: 1px solid #dbe2ea;
    border-radius: 1rem;
    background: #f8fafc;
    height: 100%;
}

.hunting-send-cv-preview__frame {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

@media (max-width: 1199.98px) {
    .hunting-send-cv-modal-dialog {
        height: auto;
        margin: 0.5rem auto;
    }

    #huntingCvActionsModal .modal-content {
        height: auto;
        max-height: none;
    }

    #huntingCvActionsModal .modal-body {
        display: block;
        overflow: auto !important;
    }

    #huntingCvActionsModal .hunting-send-cv-layout > [class*="col-"] {
        display: block;
    }

    .hunting-send-cv-panel__textarea {
        min-height: 12rem;
        resize: vertical;
    }

    .hunting-send-cv-panel__history-block {
        display: block;
    }

    .hunting-send-cv-history {
        flex: 0 0 auto;
        max-height: none;
    }

    .hunting-send-cv-history__head {
        flex-direction: column;
        gap: 0.55rem;
    }

    .hunting-send-cv-preview__frame {
        height: 40rem;
        min-height: 40rem;
    }
}

.skill-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.skill-level-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    margin-left: 4px;
}

.skill-level-bars span {
    width: 4px;
    height: 12px;
    border-radius: 2px;
    background: #cbd5f5;
}

.skill-level-bars .is-filled {
    background: #1e1b4b;
}

.candidate-profile-skills-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.candidate-skill-level-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.7rem;
    height: 1.7rem;
    padding: 0;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.86rem;
    line-height: 1;
    box-shadow: none;
    cursor: help;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.candidate-skill-level-help:hover,
.candidate-skill-level-help:focus,
.candidate-skill-level-help:focus-visible {
    border-color: rgba(37, 99, 235, 0.34);
    background: #dbeafe;
    color: #1e40af;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.tooltip.candidate-skill-help-tooltip .tooltip-inner,
.candidate-skill-help-tooltip .tooltip-inner {
    max-width: min(18rem, calc(100vw - 2rem));
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.24);
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: left;
}

.candidate-skill-help-graph {
    display: grid;
    gap: 0.48rem;
    min-width: 10.8rem;
}

.candidate-skill-help-graph__title {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
}

.candidate-skill-help-graph__row {
    display: flex;
    align-items: center;
    gap: 0.62rem;
}

.candidate-skill-help-graph__bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.18rem;
    flex: 0 0 auto;
}

.candidate-skill-help-graph__bars span {
    width: 0.3rem;
    height: 0.88rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.42);
}

.candidate-skill-help-graph__bars span:nth-child(2) {
    height: 1.08rem;
}

.candidate-skill-help-graph__bars span:nth-child(3) {
    height: 1.28rem;
}

.candidate-skill-help-graph__bars .is-filled {
    background: #5edad0;
}

.candidate-skill-help-graph__label {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
}

.tooltip.candidate-skill-help-tooltip[data-popper-placement^="top"] .tooltip-arrow::before,
.candidate-skill-help-tooltip[data-popper-placement^="top"] .tooltip-arrow::before {
    border-top-color: #0f172a;
}

.tooltip.candidate-skill-help-tooltip[data-popper-placement^="bottom"] .tooltip-arrow::before,
.candidate-skill-help-tooltip[data-popper-placement^="bottom"] .tooltip-arrow::before {
    border-bottom-color: #0f172a;
}

.tooltip.candidate-skill-help-tooltip[data-popper-placement^="left"] .tooltip-arrow::before,
.candidate-skill-help-tooltip[data-popper-placement^="left"] .tooltip-arrow::before {
    border-left-color: #0f172a;
}

.tooltip.candidate-skill-help-tooltip[data-popper-placement^="right"] .tooltip-arrow::before,
.candidate-skill-help-tooltip[data-popper-placement^="right"] .tooltip-arrow::before {
    border-right-color: #0f172a;
}

.skill-pill .skill-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #475569;
}

.skill-pill button {
    border: none;
    background: transparent;
    color: #64748b;
    padding: 0;
    line-height: 1;
}

.skill-pill button:hover {
    color: #1e1b4b;
}

.empty-placeholder {
    color: #94a3b8;
    font-style: italic;
}

.requirement-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #fff;
}

[data-role-card][data-role-sector-id] .border {
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

[data-role-card][data-role-sector-id] .border:hover {
    border-color: rgba(37, 99, 235, 0.45) !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

/* Vacancies board */
.vacancies-hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.05), rgba(var(--tl-primary-rgb), 0.08));
}

.vacancies-hero-reference__surface {
    position: relative;
    overflow: hidden;
    padding: 2.3rem 2rem 1.45rem;
    color: #0f172a;
    border: 1px solid rgba(191, 219, 254, 0.72);
    background-color: #dde9ff;
    background-image: var(--vacancies-hero-bg);
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.16);
    display: flex;
    flex-direction: column;
}

.vacancies-hero-reference__header {
    padding-top: 0.6rem;
    padding-bottom: 2.2rem;
}

.vacancies-hero-reference__surface::before {
    content: none;
}

.vacancies-hero-reference__surface > * {
    position: relative;
    z-index: 1;
}

.vacancies-hero-reference__label {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1f2f56;
}

.vacancies-hero-reference__title {
    font-size: clamp(2rem, 2.8vw, 3.2rem);
    line-height: 1.12;
    max-width: 560px;
    text-wrap: balance;
    color: #13264c;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.45);
}

.vacancies-hero-reference__subtitle {
    max-width: 560px;
    font-size: 1.16rem;
    color: #273b66;
    font-weight: 500;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.4);
}

.vacancies-hero-reference__left-col {
    padding-right: 2rem;
}

.vacancies-hero-reference__right-col {
    color: #eef6ff;
}

.vacancies-hero-reference__visual {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.vacancies-hero-reference__metric-card {
    width: min(100%, 410px);
    border-radius: 20px;
    border: 1px solid rgba(191, 219, 254, 0.72);
    background: linear-gradient(154deg, rgba(25, 85, 214, 0.56), rgba(10, 37, 110, 0.62));
    backdrop-filter: blur(4px);
    padding: 1.05rem 1.2rem;
    box-shadow: 0 18px 34px rgba(16, 44, 126, 0.52), inset 0 0 14px rgba(56, 189, 248, 0.24);
}

.vacancies-hero-reference__metric-actions {
    display: flex;
    justify-content: flex-start;
}

.vacancies-hero-reference__metric-card p {
    color: rgba(239, 246, 255, 0.98);
    font-size: 0.96rem;
}

.vacancies-hero-reference__metric-card strong {
    color: #ffffff;
}

.vacancies-hero-reference__kpi {
    font-size: 1.12rem !important;
    line-height: 1.15;
}

.vacancies-hero-reference__kpi-strong {
    display: block;
    font-size: clamp(2rem, 2.4vw, 2.6rem);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.2rem;
}

.vacancies-hero-reference__kpi-inline {
    font-size: 1.8rem;
    letter-spacing: -0.01em;
}

.vacancies-hero-reference__country-flags {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.28rem;
    max-width: min(100%, 16rem);
    margin-right: 0.45rem;
    vertical-align: middle;
}

.vacancies-hero-reference__country-flag-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.vacancies-hero-reference__country-flag {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 1.35rem;
    line-height: 1;
    vertical-align: -0.12em;
}

.vacancies-hero-reference__country-flag-img {
    width: 32px;
    height: 22px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 4px 10px rgba(15, 23, 42, 0.38);
    vertical-align: -0.3em;
    display: inline-block;
}

.vacancies-hero-reference__country-flag--fallback {
    display: none;
}

.vacancies-hero-reference__filters {
    margin-top: auto;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.32);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(241, 247, 255, 0.68));
    backdrop-filter: blur(4px);
    padding: 1.05rem 1rem 0.95rem;
    overflow: visible;
}

.vacancies-hero-reference__filters .vacancy-filter-grid {
    display: grid !important;
    grid-template-columns: minmax(16rem, 2fr) minmax(12rem, 0.95fr) minmax(18rem, auto);
    align-items: end;
    gap: 0.85rem;
    margin-right: 0;
    margin-left: 0;
}

.vacancies-hero-reference__filters .vacancy-filter-grid > [class*="col-"] {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
}

.vacancy-filter-grid .form-label {
    color: #1f335d;
    font-weight: 600;
}

.vacancy-filter-grid .form-select,
.vacancy-filter-grid .form-control {
    border: 1px solid rgba(15, 23, 42, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
}

.vacancy-search__submit {
    background: #ffffff;
    color: #64748b;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.vacancy-search__submit:hover,
.vacancy-search__submit:focus-visible {
    background: #0f766e;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.vacancy-filter-clear-btn {
    border-color: #0f766e;
    background: #0f766e;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.18);
}

.vacancy-filter-clear-btn:hover,
.vacancy-filter-clear-btn:focus-visible {
    border-color: #115e59;
    background: #115e59;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.24);
}

.vacancies-highlight-card {
    background: var(--tl-primary);
    color: #fff;
    padding: 1.25rem;
}

.vacancies-highlight-card h4 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.vacancies-highlight-card .text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}

.vacancy-filter-grid .form-select,
.vacancy-filter-grid .form-control {
    border: 1px solid rgba(15, 23, 42, 0.15);
}

.phone-input-group .phone-flag {
    width: auto;
    justify-content: center;
    font-size: 1.1rem;
    border-right: 0;
    padding-right: 0;
}

.phone-input-group .phone-flag-icon {
    width: 24px;
    height: 18px;
    object-fit: cover;
    display: block;
}

.phone-input-group .phone-flag-emoji {
    width: 24px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
}

.phone-input-group .phone-prefix-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    --bs-btn-color: #0f172a;
    --bs-btn-bg: #ffffff;
    --bs-btn-border-color: var(--bs-border-color);
    --bs-btn-hover-color: #0f172a;
    --bs-btn-hover-bg: #ffffff;
    --bs-btn-hover-border-color: var(--bs-border-color);
    --bs-btn-active-color: #0f172a;
    --bs-btn-active-bg: #ffffff;
    --bs-btn-active-border-color: var(--bs-border-color);
    --bs-btn-focus-shadow-rgb: 148, 163, 184;
    color: #0f172a;
    background-color: #ffffff;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
}

.phone-input-group .phone-prefix-toggle:hover,
.phone-input-group .phone-prefix-toggle:focus,
.phone-input-group .phone-prefix-toggle:active {
    color: #0f172a;
    background-color: #ffffff;
    border-color: var(--bs-border-color);
}

.app-required-label::after {
    content: " *";
    color: var(--bs-danger, #dc3545);
    font-weight: 700;
}

.phone-input-group .phone-prefix-select {
    flex: 0 0 150px;
    max-width: 150px;
    color: #0f172a;
    background-color: #ffffff;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: 0;
    font-weight: 600;
}

.phone-input-group {
    position: relative;
}

.phone-country-menu {
    --bs-dropdown-color: #0f172a;
    --bs-dropdown-bg: #ffffff;
    --bs-dropdown-border-color: #dbe7f5;
    --bs-dropdown-link-color: #0f172a;
    --bs-dropdown-link-hover-color: #0f172a;
    --bs-dropdown-link-hover-bg: #eff6ff;
    --bs-dropdown-link-active-color: #0f172a;
    --bs-dropdown-link-active-bg: #dbeafe;
    --bs-dropdown-link-disabled-color: #94a3b8;
    --bs-dropdown-box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    color: #0f172a;
    background-color: #ffffff;
    border: 1px solid #dbe7f5;
    border-radius: 0.85rem;
    max-height: 300px;
    min-height: 200px;
    overflow: auto;
    z-index: 2000;
}

.phone-country-menu,
.phone-country-menu.show {
    color: #0f172a !important;
    background: #ffffff !important;
}

.phone-country-menu li {
    background: #ffffff;
}

.phone-country-menu .dropdown-item {
    color: #0f172a !important;
    background: #ffffff !important;
}

.phone-country-menu .dropdown-item span,
.phone-country-menu .dropdown-item small,
.phone-country-menu .dropdown-item img {
    color: inherit !important;
    opacity: 1;
}

.phone-country-menu .dropdown-item .phone-flag-emoji,
.phone-input-group .phone-flag-emoji {
    color: #0f172a !important;
}

.phone-country-menu .dropdown-item .text-muted {
    color: #64748b !important;
}

.phone-country-menu .dropdown-item:hover,
.phone-country-menu .dropdown-item:focus,
.phone-country-menu .dropdown-item:active {
    color: #0f172a;
}

#createUserModal .modal-body,
#editUserModal .modal-body {
    overflow: visible;
}

body > .phone-country-menu {
    z-index: 2000;
}

.phone-input-group .phone-dial {
    font-weight: 600;
    color: #0f172a;
}

.vacancies-hero-reference__cta {
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    background: linear-gradient(135deg, #4359f3 0%, #334bd8 52%, #2468f2 100%);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.4);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.vacancies-hero-reference__cta:hover,
.vacancies-hero-reference__cta:focus {
    background: linear-gradient(135deg, #384de1 0%, #2e44c9 52%, #1f57d3 100%);
}

.vacancies-hero-reference__hint {
    display: inline-flex;
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.2rem 0.1rem;
}

.vacancies-hero-reference__filter-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(8.75rem, 1fr));
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
}

.vacancies-hero-reference__filter-actions .btn {
    width: 100%;
    min-width: 0;
}

.vacancies-board-filter-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.vacancies-board-filter-action--more,
.vacancies-board-filter-more-btn {
    border-color: #0f766e;
    background: #0f766e;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.18);
}

.vacancies-board-filter-action--more:hover,
.vacancies-board-filter-action--more:focus-visible,
.vacancies-board-filter-action--more[aria-expanded="true"],
.vacancies-board-filter-more-btn:hover,
.vacancies-board-filter-more-btn:focus-visible,
.vacancies-board-filter-more-btn[aria-expanded="true"] {
    border-color: #115e59;
    background: #115e59;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.24);
}

.vacancies-board-filter-action--clear,
.vacancy-filter-clear-btn.vacancies-board-filter-action--clear {
    border-color: #cbd5e1;
    background: #ffffff;
    color: #334155;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.vacancies-board-filter-action--clear:hover,
.vacancies-board-filter-action--clear:focus-visible,
.vacancy-filter-clear-btn.vacancies-board-filter-action--clear:hover,
.vacancy-filter-clear-btn.vacancies-board-filter-action--clear:focus-visible {
    border-color: #94a3b8;
    background: #f1f5f9;
    color: #0f172a;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.vacancies-board-filter-drawer {
    width: min(100vw, 560px);
}

.vacancies-board-filter-drawer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.vacancies-board-filter-drawer__full {
    grid-column: 1 / -1;
}

.vacancies-board-filter-drawer__salary-check {
    align-self: end;
}

.vacancies-board-filter-check {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.65rem;
    padding: 0.65rem 0.85rem;
    padding-left: 0.95rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
}

.vacancies-board-filter-check .form-check-input {
    flex: 0 0 auto;
    float: none;
    margin-left: 0;
    margin-top: 0;
}

.vacancies-board-filter-check .form-check-label {
    color: #334155;
    font-size: 0.88rem;
    font-weight: 700;
}

.vacancies-board-filter-drawer .form-select,
.vacancies-board-filter-drawer .form-control {
    min-height: 2.65rem;
}

.vacancies-hero-reference__hint-text {
    font-size: 0.78rem;
    color: #dbeafe;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.vacancies-hero-reference__hint-cta {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 58px;
    padding: 0.62rem 2rem;
    border-radius: 999px;
    border: 2px solid rgba(219, 234, 254, 0.98);
    background: linear-gradient(135deg, #4f46e5 0%, #2563eb 54%, #1d4ed8 100%);
    color: #f8fbff;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.26);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.16s ease, transform 0.12s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.vacancies-hero-reference__hint-cta:hover {
    background: linear-gradient(135deg, #4338ca 0%, #1d4ed8 54%, #1e40af 100%);
    transform: translateY(-2px);
    border-color: #ffffff;
    box-shadow: 0 14px 26px rgba(30, 64, 175, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.vacancies-hero-reference__hint-cta:active {
    transform: translateY(0);
    box-shadow: 0 5px 12px rgba(30, 64, 175, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.vacancies-hero-reference__hint-cta:focus-visible {
    outline: 3px solid rgba(191, 219, 254, 0.86);
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    .vacancies-hero-reference__surface {
        padding: 1.6rem 1.2rem 0.95rem;
        background-position: center center;
    }

    .vacancies-hero-reference__header {
        padding-top: 0.35rem;
        padding-bottom: 1.35rem;
    }

    .vacancies-hero-reference__title {
        font-size: clamp(1.45rem, 4.6vw, 2rem);
    }

    .vacancies-hero-reference__subtitle {
        font-size: 0.98rem;
    }

    .vacancies-hero-reference__filters {
        padding: 0.95rem 0.9rem;
    }

    .vacancies-hero-reference__filters .vacancy-filter-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(12rem, 0.85fr);
        gap: 0.8rem;
    }

    .vacancies-hero-reference__filters .vacancy-filter-grid > :nth-child(3) {
        grid-column: 1 / -1;
    }

    .vacancies-hero-reference__left-col {
        padding-right: 0.5rem;
    }

    .vacancies-hero-reference__visual {
        min-height: 240px;
    }

    .vacancies-hero-reference__hint-cta {
        font-size: 1.38rem;
        min-height: 52px;
        padding: 0.5rem 1.5rem;
    }

    .vacancies-hero-reference__filter-actions {
        width: 100%;
    }

}

@media (max-width: 575.98px) {
    .vacancies-hero-reference__surface {
        padding: 1.3rem 0.9rem 0.85rem;
    }

    .vacancies-hero-reference__header {
        padding-top: 0.2rem;
        padding-bottom: 1rem;
    }

    .vacancies-hero-reference__filters {
        padding: 0.85rem 0.75rem;
    }

    .vacancies-hero-reference__filters .vacancy-filter-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.72rem;
    }

    .vacancies-hero-reference__filters .vacancy-filter-grid > :nth-child(3) {
        grid-column: auto;
    }

    .vacancies-hero-reference__visual {
        min-height: 200px;
    }

    .vacancies-hero-reference__hint-cta {
        font-size: 1.18rem;
        min-height: 48px;
        padding: 0.48rem 1.15rem;
    }

    .vacancies-board-filter-drawer__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vacancies-board-filter-drawer__salary-check {
        align-self: stretch;
    }

    .vacancies-hero-reference__filter-actions {
        grid-template-columns: minmax(0, 1fr);
    }

}

.vacancy-results-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.employer-vacancies-table__status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2rem;
    padding: 0.38rem 0.65rem;
    text-align: center;
    white-space: normal;
    line-height: 1.18;
}

.vacancy-results-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.vacancy-results-loading-overlay {
    z-index: 8;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem 0.75rem;
    background: rgba(248, 250, 252, 0.38);
    backdrop-filter: blur(2px);
}

.vacancy-results-loading-card {
    margin-top: 0.35rem;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.vacancy-ai-results-shell.is-loading > .vacancy-tab-panels,
.vacancy-ai-results-shell.is-loading > .vacancy-ai-side-panel {
    filter: blur(3px);
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}

.vacancy-results-loading {
    display: none;
    width: fit-content;
    margin: 0.85rem auto 0;
    align-items: center;
    gap: 0.62rem;
    padding: 0.58rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(46, 196, 182, 0.28);
    background: rgba(248, 250, 252, 0.96);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    color: #0f2a5f;
    font-size: 0.82rem;
    font-weight: 800;
}

#vacancyPagination.is-loading .vacancy-results-loading {
    display: inline-flex;
}

.vacancy-results-loading__pulse {
    display: inline-flex;
    gap: 0.22rem;
    align-items: center;
}

.vacancy-results-loading__pulse span {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #2ec4b6;
    animation: vacancyResultsLoadingPulse 0.9s ease-in-out infinite;
}

.vacancy-results-loading__pulse span:nth-child(2) {
    animation-delay: 0.14s;
}

.vacancy-results-loading__pulse span:nth-child(3) {
    animation-delay: 0.28s;
}

@keyframes vacancyResultsLoadingPulse {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.45;
    }

    50% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vacancy-results-loading__pulse span {
        animation: none;
    }
}

@media (max-width: 1199.98px) {
    .vacancy-results-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .vacancy-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .vacancy-results-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.9rem;
    }
}

.vacancy-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
}

.vacancy-card--compact {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    position: relative;
}

.vacancy-card--ai-recommended {
    border-color: rgba(13, 148, 136, 0.55);
    box-shadow: 0 16px 30px rgba(13, 148, 136, 0.14);
}

.vacancy-ai-inline-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    position: absolute;
    top: -14px;
    right: 12px;
    z-index: 5;
    min-height: 32px;
    padding: 0.24rem 0.32rem;
    border-radius: 999px;
    border: 1px solid rgba(13, 148, 136, 0.28);
    background: rgba(240, 253, 250, 0.94);
    color: #0f766e;
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.14);
    backdrop-filter: blur(8px);
}

.vacancy-ai-inline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    font-size: 1rem;
    color: #0f766e;
    background: rgba(204, 251, 241, 0.8);
}

.vacancy-ai-inline-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    padding: 0;
    border-radius: 999px;
    color: #0f766e;
    background: transparent;
    box-shadow: none;
    cursor: help;
    font-size: 1.35rem;
    line-height: 1;
}

.vacancy-ai-inline-help i {
    display: block;
    line-height: 1;
}

.vacancy-ai-inline-help:hover,
.vacancy-ai-inline-help:focus-visible {
    color: #0f172a;
    background: transparent;
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.16);
}

.tooltip.vacancy-ai-inline-tooltip {
    --bs-tooltip-bg: #0f172a;
    --bs-tooltip-color: #f8fafc;
    --bs-tooltip-opacity: 1;
    --bs-tooltip-max-width: 340px;
}

.tooltip.vacancy-ai-inline-tooltip .tooltip-inner {
    max-width: 340px;
    padding: 0.6rem 0.72rem;
    text-align: left;
    line-height: 1.35;
}

.vacancy-card--link {
    text-decoration: none;
    color: inherit;
    display: flex;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vacancy-card--link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

.vacancy-card--featured {
    border: 2px solid rgba(56, 189, 248, 0.55);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 60%, #ffffff 100%);
    box-shadow: 0 14px 26px rgba(14, 165, 233, 0.14);
    position: relative;
}

.vacancy-card--featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(186, 230, 253, 0.9);
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.1);
    pointer-events: none;
}



.vacancy-card--super {
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, #fff4d6 0%, #ffe7b3 60%, #ffffff 100%);
    box-shadow: 0 22px 44px rgba(245, 158, 11, 0.3), 0 0 0 1px rgba(251, 191, 36, 0.35);
    position: relative;
}

.vacancy-card--super::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.25);
    pointer-events: none;
}

.vacancy-card--compact.vacancy-card--featured::after,
.vacancy-card--compact.vacancy-card--super::after {
    content: none !important;
    display: none !important;
}

.vacancy-tier-tag--edge {
    position: absolute;
    top: -12px;
    left: 14px;
    z-index: 3;
    max-height: 1.7rem;
}

.vacancy-tabs {
    margin-bottom: 0 !important;
}

.vacancies-board-tabs {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0.72rem;
    margin-bottom: 0;
    overflow-x: auto;
    overflow-y: visible;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    border-bottom: none !important;
    padding: 0.45rem 0 0.95rem;
    margin-left: 0;
    margin-right: 0;
    scroll-padding-inline: 0;
    scrollbar-width: thin;
}

.vacancy-tab {
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 999px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    padding: 0.44rem 1.18rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
    margin-bottom: 0;
}

.vacancy-tab:hover {
    border-color: rgba(14, 165, 233, 0.4);
    background: #e0f2fe;
    color: #0369a1;
}

.vacancy-tab.active {
    border-color: rgba(14, 116, 144, 0.55);
    background: #0ea5e9;
    color: #fff;
    box-shadow: 0 7px 14px rgba(14, 165, 233, 0.3), 0 2px 5px rgba(14, 116, 144, 0.22);
    transform: translateY(-1px);
    margin-bottom: 0;
}


.vacancy-results-wrapper {
    overflow: visible;
}

.vacancy-ai-layout-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    min-height: 42px;
    padding: 0.22rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: #f8fafc;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
}

.vacancy-ai-layout-toggle__label {
    padding: 0 0.62rem;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.vacancy-ai-layout-toggle__button {
    min-height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.28rem 0.72rem;
}

.vacancy-ai-layout-toggle__button.active {
    background: #0f766e;
    color: #fff;
    box-shadow: 0 8px 16px rgba(15, 118, 110, 0.22);
}

.vacancy-ai-results-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
}

.vacancy-ai-results-shell[data-ai-layout="side"] {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    align-items: start;
}

.vacancy-ai-side-panel {
    display: none;
}

.vacancy-ai-side-panel.is-visible {
    display: block;
}

.vacancy-ai-side-panel__inner {
    position: sticky;
    top: 1rem;
    border: 1px solid rgba(13, 148, 136, 0.18);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    padding: 1rem;
}

.vacancy-ai-side-panel__header {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
}

.vacancy-ai-side-panel__eyebrow {
    color: #0f766e;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vacancy-ai-side-panel__list {
    display: grid;
    gap: 0.75rem;
}

.vacancy-ai-side-item {
    display: grid;
    gap: 0.28rem;
    padding: 0.82rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    background: #f8fafc;
}

.vacancy-ai-side-item:hover {
    border-color: rgba(13, 148, 136, 0.32);
    background: #f0fdfa;
}

.vacancy-ai-side-item span,
.vacancy-ai-side-item small {
    color: #64748b;
}

.vacancy-ai-side-item__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    color: #0f766e !important;
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vacancies-ai-recommend__all-button--results {
    min-height: 42px;
}

.vacancies-ai-recommend__card {
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 55%, #f8fbff 100%);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    padding: 1.3rem 1.35rem;
}

.vacancies-ai-recommend__card--ai {
    border-color: rgba(14, 165, 233, 0.22);
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.22), transparent 28%),
        radial-gradient(circle at left bottom, rgba(37, 99, 235, 0.14), transparent 34%),
        linear-gradient(135deg, #f8fdff 0%, #eef7ff 44%, #f8fbff 100%);
    box-shadow: 0 22px 48px rgba(14, 116, 144, 0.12);
}

.vacancies-ai-recommend--monthly .vacancies-ai-recommend__card--ai {
    position: relative;
    overflow: hidden;
    border-color: rgba(94, 234, 212, 0.34);
    background:
        linear-gradient(90deg, rgba(94, 234, 212, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(94, 234, 212, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 82% 18%, rgba(45, 212, 191, 0.34), transparent 26%),
        radial-gradient(circle at 8% 8%, rgba(14, 165, 233, 0.26), transparent 30%),
        linear-gradient(135deg, #06172f 0%, #08233f 48%, #0b3b4d 100%);
    background-size: 44px 44px, 44px 44px, auto, auto, auto;
    box-shadow: 0 28px 62px rgba(4, 47, 74, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 1.45rem;
}

.vacancies-ai-recommend--monthly .vacancies-ai-recommend__card--ai::before,
.vacancies-ai-recommend--monthly .vacancies-ai-recommend__card--ai::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.vacancies-ai-recommend--monthly .vacancies-ai-recommend__card--ai::before {
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0%, transparent 44%, rgba(94, 234, 212, 0.18) 49%, transparent 54%, transparent 100%);
    opacity: 0.7;
}

.vacancies-ai-recommend--monthly .vacancies-ai-recommend__card--ai::after {
    width: 42%;
    min-width: 280px;
    height: 1px;
    right: 1.4rem;
    top: 5.6rem;
    background: linear-gradient(90deg, transparent, rgba(125, 249, 236, 0.74), transparent);
    box-shadow:
        0 64px 0 rgba(125, 249, 236, 0.22),
        -90px 132px 0 rgba(56, 189, 248, 0.2);
}

.vacancies-ai-recommend__topline,
.vacancies-ai-recommend--monthly .vacancies-ai-recommend__grid {
    position: relative;
    z-index: 2;
}

.vacancies-ai-recommend__scanner {
    position: absolute;
    top: 1.15rem;
    right: 1.25rem;
    width: 172px;
    height: 172px;
    border-radius: 999px;
    border: 1px solid rgba(125, 249, 236, 0.28);
    background:
        radial-gradient(circle, rgba(125, 249, 236, 0.22) 0 3px, transparent 4px),
        repeating-radial-gradient(circle, rgba(125, 249, 236, 0.14) 0 1px, transparent 1px 22px),
        conic-gradient(from 210deg, rgba(125, 249, 236, 0.32), transparent 34%, rgba(14, 165, 233, 0.2), transparent 72%);
    opacity: 0.95;
}

.vacancies-ai-recommend__scanner::before,
.vacancies-ai-recommend__scanner::after {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: inherit;
    border: 1px dashed rgba(125, 249, 236, 0.24);
}

.vacancies-ai-recommend__scanner::after {
    inset: 46px;
    border-style: solid;
    opacity: 0.75;
}

.vacancies-ai-recommend__scanner-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    color: #042f2e;
    background: linear-gradient(135deg, #ccfbf1, #67e8f9);
    box-shadow: 0 0 28px rgba(94, 234, 212, 0.45);
    transform: translate(-50%, -50%);
}

.vacancies-ai-recommend__scanner-node {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #a7f3d0;
    box-shadow: 0 0 16px rgba(167, 243, 208, 0.85);
}

.vacancies-ai-recommend__scanner-node--one {
    top: 32px;
    left: 48px;
}

.vacancies-ai-recommend__scanner-node--two {
    right: 30px;
    top: 74px;
}

.vacancies-ai-recommend__scanner-node--three {
    left: 76px;
    bottom: 28px;
}

.vacancies-ai-recommend__eyebrow,
.candidate-ai-interviews__eyebrow {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1d4ed8;
}

.vacancies-ai-recommend--monthly .vacancies-ai-recommend__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: none;
}

.vacancies-ai-recommend__match-badge,
.vacancies-ai-recommend__item-label {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vacancies-ai-recommend__match-badge {
    min-height: 34px;
    padding: 0.28rem 0.82rem;
    border: 1px solid rgba(125, 249, 236, 0.52);
    background: rgba(8, 145, 178, 0.24);
    color: #ccfbf1;
    font-size: 0.75rem;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.08);
}

.vacancies-ai-recommend__secondary-title {
    color: rgba(226, 232, 240, 0.9);
    font-size: 1rem;
    line-height: 1.3;
}

.vacancies-ai-recommend__subtitle {
    max-width: 560px;
    color: rgba(203, 213, 225, 0.92);
}

.vacancies-ai-recommend__headline h5 {
    font-size: 1.18rem;
    line-height: 1.25;
}

.vacancies-ai-recommend__actions {
    align-items: center;
}

.vacancies-ai-recommend__all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.58rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(103, 232, 249, 0.24);
    background: linear-gradient(135deg, #ccfbf1 0%, #67e8f9 100%);
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(8, 145, 178, 0.24);
}

.vacancies-ai-recommend__all-button:hover {
    border-color: rgba(165, 243, 252, 0.42);
    background: linear-gradient(135deg, #ecfeff 0%, #a5f3fc 100%);
    color: #082f49;
    transform: translateY(-1px);
}

.vacancies-ai-recommend__all-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.2), 0 14px 28px rgba(8, 145, 178, 0.24);
}

.vacancies-ai-recommend__signals {
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.16);
}

.vacancies-ai-recommend__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.vacancies-ai-recommend__item {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.88);
    padding: 1rem;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.vacancies-ai-recommend__item-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.vacancies-ai-recommend__item-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    min-height: 30px;
}

.vacancies-ai-recommend__item-meta-badge {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    width: fit-content;
    padding: 0.16rem 0.58rem;
    border-radius: 999px;
    border: 1px solid rgba(14, 116, 144, 0.2);
    background: rgba(6, 182, 212, 0.1);
    color: #0f766e;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vacancies-ai-recommend__item-meta-badge--tier {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(254, 243, 199, 0.72);
    color: #92400e;
}

.vacancies-ai-recommend--monthly .vacancies-ai-recommend__item {
    border-color: rgba(125, 249, 236, 0.32);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.22);
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.vacancies-ai-recommend--monthly .vacancies-ai-recommend__item:hover {
    border-color: rgba(45, 212, 191, 0.62);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.28);
    transform: translateY(-2px);
}

.vacancies-ai-recommend__item-label {
    flex: 0 0 auto;
    width: fit-content;
    min-height: 26px;
    padding: 0.16rem 0.58rem;
    border: 1px solid rgba(14, 116, 144, 0.2);
    background: rgba(6, 182, 212, 0.1);
    color: #0f766e;
    font-size: 0.66rem;
}

.vacancies-ai-recommend--monthly .vacancies-ai-recommend__item .badge {
    border-color: rgba(14, 116, 144, 0.18) !important;
    background-color: rgba(236, 254, 255, 0.86) !important;
    color: #155e75;
}

.vacancies-ai-recommend__item-cta {
    margin-top: auto;
    align-self: flex-start;
    min-height: 38px;
    padding: 0.52rem 0.92rem;
    border-color: rgba(12, 74, 110, 0.12);
    background: linear-gradient(135deg, #0f766e 0%, #0891b2 100%);
    color: #f8fafc;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(8, 145, 178, 0.16);
}

.vacancies-ai-recommend__item-cta:hover {
    border-color: rgba(6, 182, 212, 0.36);
    background: linear-gradient(135deg, #0f8a81 0%, #06b6d4 100%);
    color: #fff;
    transform: translateY(-1px);
}

.vacancies-ai-recommend__item-cta:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16), 0 12px 24px rgba(8, 145, 178, 0.16);
}

.vacancies-ai-recommend__footer-note {
    padding-top: 0.2rem;
}

.vacancies-ai-recommend__signal-chip,
.candidate-ai-interviews__signal-chip {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.78rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: #1e3a8a;
    font-size: 0.82rem;
    font-weight: 600;
}

.vacancies-ai-recommend__signal-chip--soft,
.candidate-ai-interviews__signal-chip--soft {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(148, 163, 184, 0.22);
    color: #334155;
}

.vacancies-ai-suggestion__card,
.vacancies-ai-suggestion__modal-card {
    border-radius: 22px;
    border: 1px solid rgba(30, 64, 175, 0.14);
    background: linear-gradient(135deg, #ffffff 0%, #f5f8ff 56%, #eef5ff 100%);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.vacancies-ai-suggestion__card {
    padding: 1rem 1.1rem;
}

.vacancies-ai-suggestion__modal {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.vacancies-ai-suggestion__modal--ai {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(94, 234, 212, 0.34);
    background:
        linear-gradient(90deg, rgba(94, 234, 212, 0.07) 1px, transparent 1px),
        linear-gradient(0deg, rgba(94, 234, 212, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 88% 8%, rgba(45, 212, 191, 0.34), transparent 28%),
        radial-gradient(circle at 10% 0%, rgba(14, 165, 233, 0.22), transparent 32%),
        linear-gradient(135deg, #06172f 0%, #08233f 52%, #0b3b4d 100%);
    background-size: 44px 44px, 44px 44px, auto, auto, auto;
    box-shadow: 0 34px 76px rgba(2, 6, 23, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vacancies-ai-suggestion__modal--ai::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0%, transparent 43%, rgba(94, 234, 212, 0.16) 49%, transparent 55%, transparent 100%);
    opacity: 0.72;
}

.vacancies-ai-suggestion__modal-scanner {
    position: absolute;
    top: -2.4rem;
    right: -1.8rem;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    border: 1px solid rgba(125, 249, 236, 0.26);
    background:
        radial-gradient(circle, rgba(125, 249, 236, 0.2) 0 3px, transparent 4px),
        repeating-radial-gradient(circle, rgba(125, 249, 236, 0.14) 0 1px, transparent 1px 23px),
        conic-gradient(from 210deg, rgba(125, 249, 236, 0.32), transparent 34%, rgba(14, 165, 233, 0.2), transparent 72%);
    opacity: 0.9;
}

.vacancies-ai-suggestion__modal-scanner::before,
.vacancies-ai-suggestion__modal-scanner::after {
    content: '';
    position: absolute;
    border-radius: inherit;
    border: 1px dashed rgba(125, 249, 236, 0.22);
}

.vacancies-ai-suggestion__modal-scanner::before {
    inset: 24px;
}

.vacancies-ai-suggestion__modal-scanner::after {
    inset: 54px;
    border-style: solid;
}

.vacancies-ai-suggestion__modal-scanner-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    color: #042f2e;
    background: linear-gradient(135deg, #ccfbf1, #67e8f9);
    box-shadow: 0 0 28px rgba(94, 234, 212, 0.48);
    transform: translate(-50%, -50%);
}

.vacancies-ai-suggestion__modal-header,
.vacancies-ai-suggestion__modal-body,
.vacancies-ai-suggestion__modal-footer {
    position: relative;
    z-index: 2;
}

.vacancies-ai-suggestion__modal-header {
    align-items: flex-start;
    padding: 1.35rem 1.35rem 0.85rem;
}

.vacancies-ai-suggestion__modal-heading {
    max-width: 620px;
    padding-right: 2.5rem;
}

.vacancies-ai-suggestion__modal-title {
    color: #ffffff;
    font-size: 1.45rem;
    line-height: 1.2;
}

.vacancies-ai-suggestion__modal-subtitle {
    max-width: 560px;
    color: rgba(203, 213, 225, 0.92);
}

.vacancies-ai-suggestion__modal-close {
    position: relative;
    z-index: 3;
    opacity: 0.88;
}

.vacancies-ai-suggestion__modal-close:hover {
    opacity: 1;
}

.vacancies-ai-suggestion__modal--ai .vacancies-ai-suggestion__eyebrow {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-size: 1.42rem;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: none;
}

.vacancies-ai-suggestion__modal-body {
    padding: 0.75rem 1.35rem 1.15rem;
}

.vacancies-ai-suggestion__modal-footer {
    padding: 0 1.35rem 1.25rem;
}

.vacancies-ai-suggestion__modal-card {
    padding: 1.1rem 1.15rem;
}

.vacancies-ai-suggestion__eyebrow {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1d4ed8;
}

.vacancies-ai-suggestion__today-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.2rem 0.72rem;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(14, 165, 233, 0.22);
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 700;
}

.vacancies-ai-suggestion__vacancy {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    font-size: 0.94rem;
    color: #334155;
}

.vacancies-ai-suggestion__vacancy span::before {
    content: '·';
    margin-right: 0.65rem;
    color: #94a3b8;
}

.vacancies-ai-suggestion__vacancy span:first-of-type::before {
    content: '';
    margin-right: 0;
}

.vacancies-ai-suggestion__history-list {
    display: grid;
    gap: 0.85rem;
}

.vacancies-ai-suggestion__history-item {
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(248, 250, 252, 0.82);
}

.vacancies-ai-suggestion__modal--ai .vacancies-ai-suggestion__history-list {
    gap: 1rem;
}

.vacancies-ai-suggestion__modal--ai .vacancies-ai-suggestion__history-item {
    border-color: rgba(125, 249, 236, 0.3);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.22);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.vacancies-ai-suggestion__modal--ai .vacancies-ai-suggestion__history-item:hover {
    border-color: rgba(45, 212, 191, 0.62);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.28);
    transform: translateY(-1px);
}

.vacancies-ai-suggestion__history-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
}

.vacancies-ai-suggestion__history-badges {
    display: inline-flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
}

.vacancies-ai-suggestion__skill-chip {
    gap: 0.44rem;
    padding-left: 0.42rem;
}

.vacancies-ai-suggestion__skill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.vacancies-ai-suggestion__skill-icon i {
    font-size: 0.82rem;
    line-height: 1;
}

.vacancies-ai-suggestion__open-button,
.vacancies-ai-suggestion__reveal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(12, 74, 110, 0.12);
    background: linear-gradient(135deg, #0f766e 0%, #0891b2 100%);
    color: #f8fafc;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(8, 145, 178, 0.18);
}

.vacancies-ai-suggestion__open-button {
    padding: 0.52rem 0.92rem;
}

.vacancies-ai-suggestion__reveal-button {
    padding: 0.58rem 1rem;
    background: linear-gradient(135deg, #ccfbf1 0%, #67e8f9 100%);
    color: #0f172a;
}

.vacancies-ai-suggestion__open-button:hover,
.vacancies-ai-suggestion__reveal-button:hover {
    border-color: rgba(6, 182, 212, 0.36);
    background: linear-gradient(135deg, #0f8a81 0%, #06b6d4 100%);
    color: #fff;
    transform: translateY(-1px);
}

.vacancies-ai-suggestion__open-button:focus-visible,
.vacancies-ai-suggestion__reveal-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.16), 0 12px 24px rgba(8, 145, 178, 0.18);
}

.vacancies-ai-suggestion__renewal {
    color: rgba(203, 213, 225, 0.92);
}

.vacancies-ai-suggestion__empty {
    border: 1px solid rgba(125, 249, 236, 0.28);
    background: rgba(255, 255, 255, 0.9);
    color: #334155;
}

.vacancies-ai-suggestion__status {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.79rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.vacancies-ai-suggestion__status--suggested,
.vacancies-ai-suggestion__status--viewed {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.18);
    color: #1d4ed8;
}

.vacancies-ai-suggestion__status--opened {
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(14, 165, 233, 0.18);
    color: #0369a1;
}

.vacancies-ai-suggestion__status--applied {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.18);
    color: #15803d;
}

.vacancies-ai-suggestion__status--dismissed {
    background: rgba(148, 163, 184, 0.14);
    border-color: rgba(148, 163, 184, 0.2);
    color: #475569;
}

.vacancies-ai-suggestion__status--expired {
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.18);
    color: #b91c1c;
}

@media (max-width: 991.98px) {
    .vacancy-ai-results-shell[data-ai-layout="side"] {
        grid-template-columns: minmax(0, 1fr);
    }

    .vacancy-ai-side-panel {
        order: -1;
    }

    .vacancy-ai-side-panel__inner {
        position: static;
    }

    .vacancy-ai-layout-toggle {
        width: 100%;
        flex-wrap: wrap;
        border-radius: 18px;
    }

    .vacancy-ai-layout-toggle__label {
        width: 100%;
        padding-top: 0.35rem;
    }

    .vacancy-ai-layout-toggle__button {
        flex: 1 1 0;
    }

    .vacancies-ai-recommend__grid {
        grid-template-columns: 1fr;
    }

    .vacancies-ai-recommend__scanner {
        right: -2.4rem;
        top: -1.7rem;
        width: 150px;
        height: 150px;
        opacity: 0.62;
    }

    .vacancies-ai-recommend--monthly .vacancies-ai-recommend__card--ai {
        padding: 1.15rem;
    }

    .vacancies-ai-recommend--monthly .vacancies-ai-recommend__eyebrow {
        max-width: 100%;
        padding-right: 4.5rem;
        font-size: 1.55rem;
    }

    .vacancies-ai-recommend__actions {
        width: 100%;
    }

    .vacancies-ai-recommend__all-button {
        width: 100%;
    }

    .vacancies-ai-suggestion__card {
        padding: 1rem;
    }

    .vacancies-ai-suggestion__modal-header {
        padding: 1.15rem 1rem 0.75rem;
    }

    .vacancies-ai-suggestion__modal-heading {
        padding-right: 3.25rem;
    }

    .vacancies-ai-suggestion__modal--ai .vacancies-ai-suggestion__eyebrow {
        font-size: 1.25rem;
    }

    .vacancies-ai-suggestion__modal-title {
        font-size: 1.22rem;
    }

    .vacancies-ai-suggestion__modal-body {
        padding: 0.75rem 1rem 1rem;
    }

    .vacancies-ai-suggestion__modal-footer {
        padding: 0 1rem 1rem;
    }

    .vacancies-ai-suggestion__modal-scanner {
        right: -3.2rem;
        top: -3rem;
        width: 160px;
        height: 160px;
        opacity: 0.58;
    }

    .vacancies-ai-suggestion__reveal-button {
        width: 100%;
    }

    .vacancies-ai-suggestion__history-head {
        flex-direction: column-reverse;
        gap: 0.6rem;
    }

    .vacancies-ai-suggestion__history-badges {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .vacancies-ai-recommend__scanner,
    .vacancies-ai-suggestion__modal-scanner {
        animation: vacancy-ai-radar-sweep 7s linear infinite;
    }

    .vacancies-ai-recommend__scanner-core,
    .vacancies-ai-suggestion__modal-scanner-core {
        animation: vacancy-ai-radar-pulse 2.8s ease-in-out infinite;
    }
}

@keyframes vacancy-ai-radar-sweep {
    to {
        transform: rotate(360deg);
    }
}

@keyframes vacancy-ai-radar-pulse {
    0%,
    100% {
        box-shadow: 0 0 24px rgba(94, 234, 212, 0.42);
    }

    50% {
        box-shadow: 0 0 38px rgba(94, 234, 212, 0.72);
    }
}

.vacancy-tab-panels {
    display: grid;
    gap: 1rem;
}

.candidate-ai-interviews__hero,
.candidate-ai-interviews__side-card,
.candidate-ai-practice-panel {
    border-radius: 20px;
    overflow: hidden;
}

.candidate-ai-interviews-page {
    display: block;
    width: 100%;
    padding-bottom: 1.5rem;
}

.candidate-ai-interviews-page__content {
    display: grid;
    gap: 1.5rem;
}

.candidate-ai-interviews__wizard-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.candidate-ai-interviews__wizard-step {
    display: flex;
    min-height: 4.15rem;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    color: #475569;
    font-weight: 800;
    text-align: left;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    cursor: default;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.candidate-ai-interviews__wizard-step.is-active {
    background: linear-gradient(135deg, #0b1f44 0%, #0f2a5f 100%);
    border-color: rgba(46, 196, 182, 0.42);
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(11, 31, 68, 0.2);
}

.candidate-ai-interviews__wizard-step.is-complete {
    background: rgba(240, 253, 250, 0.96);
    border-color: rgba(46, 196, 182, 0.34);
    color: #0f766e;
}

.candidate-ai-interviews__wizard-number {
    display: inline-grid;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 999px;
    background: rgba(15, 42, 95, 0.08);
    color: #0f2a5f;
    font-size: 0.82rem;
    font-weight: 900;
}

.candidate-ai-interviews__wizard-step.is-active .candidate-ai-interviews__wizard-number {
    background: rgba(46, 196, 182, 0.2);
    color: #ffffff;
}

.candidate-ai-interviews__wizard-step.is-complete .candidate-ai-interviews__wizard-number {
    background: #2ec4b6;
    color: #ffffff;
}

.candidate-ai-interviews__wizard-content {
    animation: candidateAiWizardIn 0.2s ease-out;
}

.candidate-ai-interviews__wizard-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.35rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.candidate-ai-interviews__wizard-actions--split {
    justify-content: space-between;
}

@keyframes candidateAiWizardIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.candidate-ai-interviews-page .card {
    position: relative;
}

.candidate-ai-interviews__tabs {
    gap: 0.5rem;
}

.candidate-ai-interviews__tabs .nav-link {
    font-weight: 700;
}

.candidate-ai-interviews__hero {
    background: linear-gradient(135deg, #ffffff 0%, #edf4ff 52%, #f8fbff 100%);
}

.candidate-ai-interviews__mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.candidate-ai-interviews__mode-card {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.86);
    padding: 1.2rem;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.candidate-ai-interviews__mode-card--premium {
    background: linear-gradient(135deg, rgba(255, 247, 214, 0.96), rgba(255, 255, 255, 0.92));
    border-color: rgba(245, 158, 11, 0.28);
}

.candidate-ai-interviews__signal-list,
.candidate-ai-interviews__vacancy-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.candidate-ai-interviews__flow-list {
    display: grid;
    gap: 0.8rem;
}

.candidate-ai-interviews__flow-item {
    display: grid;
    gap: 0.25rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.96));
    padding: 0.95rem 1rem;
}

.candidate-ai-interviews__flow-item h6 {
    font-size: 0.96rem;
    margin-bottom: 0.32rem;
}

.candidate-ai-interviews__flow-item p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.45;
}

.candidate-ai-interviews__preparation {
    display: grid;
    gap: 1rem;
}

.candidate-ai-interviews__preparation-block {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.96));
}

.candidate-ai-interviews__preparation-block h6 {
    margin: 0;
    color: #0f172a;
    font-size: 0.96rem;
    font-weight: 800;
}

.candidate-ai-interviews__preparation-skills {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.candidate-ai-interviews__preparation-skills strong {
    color: #0f172a;
    font-size: 0.84rem;
}

.candidate-ai-interviews__selected-vacancy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(46, 196, 182, 0.28);
    background:
        linear-gradient(135deg, rgba(46, 196, 182, 0.13), rgba(37, 99, 235, 0.06)),
        #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.candidate-ai-interviews__selected-vacancy-icon {
    display: inline-grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    border-radius: 14px;
    background: #0b1f44;
    color: #5edad0;
}

.candidate-ai-interviews__selected-vacancy h6 {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.35;
}

.candidate-ai-interviews__selected-vacancy p {
    color: #475569;
    font-size: 0.9rem;
}

.candidate-ai-interviews__selected-vacancy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.candidate-ai-interviews__selected-vacancy-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.34rem 0.62rem;
    border-radius: 999px;
    background: rgba(15, 42, 95, 0.07);
    color: #0f2a5f;
    font-size: 0.78rem;
    font-weight: 700;
}

.candidate-ai-interviews__active-vacancy-notice {
    border-radius: 16px;
}

.candidate-ai-practice-panel {
    background: #ffffff;
}

.candidate-ai-practice-panel--premium {
    background: linear-gradient(135deg, #ffffff 0%, #fffaf0 100%);
}

.candidate-ai-practice-panel__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.candidate-ai-practice-panel__block {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #f8fbff;
    padding: 1rem 1.05rem;
}

.candidate-ai-practice-panel__label {
    margin-bottom: 0.55rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1d4ed8;
}

.candidate-ai-practice-panel__block p,
.candidate-ai-practice-panel__block li {
    color: #334155;
    line-height: 1.5;
}

.candidate-ai-interviews__suggested {
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.candidate-ai-interviews__vacancy-list {
    display: grid;
    gap: 1rem;
}

.candidate-ai-interviews__vacancy-item {
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.92);
    padding: 1rem 1.05rem;
}

.candidate-ai-interviews__vacancy-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.9rem;
}

.candidate-ai-interviews__hero-pill,
.candidate-ai-interviews__usage-box {
    display: grid;
    gap: 0.22rem;
}

.candidate-ai-interviews__usage-box {
    min-width: min(260px, 100%);
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.candidate-ai-interviews__usage-lock {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.85rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(242, 153, 74, 0.34);
    border-radius: 1rem;
    background: #fff7ed;
    padding: 0.95rem 1rem;
}

.candidate-ai-interviews__usage-lock-icon {
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.85rem;
    background: #ffffff;
    color: #c2410c;
    box-shadow: inset 0 0 0 1px rgba(194, 65, 12, 0.15);
}

.candidate-ai-interviews__usage-lock h6 {
    margin: 0 0 0.24rem;
    color: #9a3412;
    font-size: 0.95rem;
    font-weight: 850;
}

.candidate-ai-interviews__usage-lock p {
    margin: 0 0 0.45rem;
    color: #7c2d12;
    font-size: 0.86rem;
    line-height: 1.42;
}

.candidate-ai-interviews__usage-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #334155;
}

.candidate-ai-interviews__launcher-card,
.candidate-ai-interviews__session-card,
.candidate-ai-interviews__history-card,
.candidate-ai-interviews__suggested-card {
    border-radius: 24px;
    overflow: hidden;
}

.candidate-ai-interviews__side-card {
    border-radius: 24px;
    overflow: hidden;
}

.candidate-ai-interviews__side-card.candidate-ai-interviews__wizard-panel {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.candidate-ai-interviews__history-card {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.candidate-ai-interviews__session-card--wizard-hidden {
    display: none !important;
}

.candidate-ai-interviews__mode-choice {
    display: grid;
    gap: 0.75rem;
}

.candidate-ai-interviews__mode-label {
    margin-bottom: 0.05rem;
    color: #334155;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.candidate-ai-interviews__mode-option {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: rgba(248, 250, 252, 0.8);
    cursor: pointer;
}

.candidate-ai-interviews__mode-option:has(input:checked) {
    border-color: rgba(46, 196, 182, 0.46);
    background:
        linear-gradient(135deg, rgba(46, 196, 182, 0.14), rgba(37, 99, 235, 0.07)),
        #ffffff;
    box-shadow: 0 14px 30px rgba(15, 42, 95, 0.08);
}

.candidate-ai-interviews__mode-option.is-disabled {
    cursor: not-allowed;
    opacity: 0.66;
}

.candidate-ai-interviews__mode-option input {
    margin-top: 0.12rem;
}

.candidate-ai-interviews__mode-icon {
    display: inline-grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    border-radius: 14px;
    background: rgba(15, 42, 95, 0.08);
    color: #0f2a5f;
}

.candidate-ai-interviews__mode-option:has(input:checked) .candidate-ai-interviews__mode-icon {
    background: #0b1f44;
    color: #5edad0;
}

.candidate-ai-interviews__mode-badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0.26rem;
    padding: 0.18rem 0.48rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.09);
    color: #1d4ed8;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.candidate-ai-interviews__mode-option strong {
    display: block;
    color: #0f172a;
    font-size: 0.95rem;
}

.candidate-ai-interviews__mode-option small {
    display: block;
    margin-top: 0.18rem;
    color: #64748b;
    line-height: 1.4;
}

.candidate-ai-interviews__vacancy-select {
    margin-top: 0.65rem;
    border-color: rgba(46, 196, 182, 0.34);
    color: #0f172a;
    font-weight: 700;
}

.candidate-ai-interviews__start-btn {
    min-width: 220px;
}

.candidate-ai-interviews__prev-btn {
    border: 1px solid rgba(15, 118, 110, 0.42);
    background: transparent;
    color: #0f766e;
    font-weight: 700;
}

.candidate-ai-interviews__prev-btn:hover,
.candidate-ai-interviews__prev-btn:focus {
    border-color: rgba(15, 118, 110, 0.62);
    background: rgba(240, 253, 250, 0.72);
    color: #0f766e;
}

.candidate-ai-interviews__progress-pill,
.candidate-ai-interviews__score-pill,
.candidate-ai-interviews__history-score {
    display: inline-grid;
    gap: 0.12rem;
    justify-items: end;
    padding: 0.7rem 0.9rem;
    border-radius: 16px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.14);
    color: #1e3a8a;
    line-height: 1.1;
}

.candidate-ai-interviews__progress-pill,
.candidate-ai-interviews__history-score span,
.candidate-ai-interviews__score-pill span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.candidate-ai-interviews__history-score strong,
.candidate-ai-interviews__score-pill strong {
    font-size: 1.35rem;
    color: #0f172a;
}

.candidate-ai-interviews__feedback-box {
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.candidate-ai-interviews__feedback-box p {
    margin: 0;
}

.candidate-ai-interviews__feedback-box p + p {
    margin-top: 0.8rem;
}

.candidate-ai-interviews__question-card {
    display: grid;
    gap: 0.75rem;
    padding: 1.1rem 1.15rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(37, 99, 235, 0.24);
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.08);
}

.candidate-ai-interviews__question-label {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.candidate-ai-interviews__question-text,
.candidate-ai-interviews__feedback-box {
    color: #0f172a;
    line-height: 1.6;
    white-space: pre-line;
}

.candidate-ai-interviews__question-text {
    font-size: 1.08rem;
    font-weight: 700;
}

.candidate-ai-interviews__thinking {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 4;
    display: none;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    width: min(520px, calc(100% - 2rem));
    padding: 0.78rem 0.85rem;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(37, 99, 235, 0.16);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.candidate-ai-interviews__session-card.is-ai-thinking .candidate-ai-interviews__thinking {
    display: flex;
}

.candidate-ai-interviews__session-card > .card-body,
.candidate-ai-interviews__thinking-start {
    position: relative;
}

.candidate-ai-interviews__thinking-start {
    min-height: 132px;
}

.candidate-ai-interviews__thinking-start .candidate-ai-interviews__thinking {
    top: 1rem;
    bottom: auto;
}

.candidate-ai-interviews__thinking-title {
    color: #0f172a;
    font-weight: 800;
}

.candidate-ai-interviews__thinking-text {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.45;
}

.candidate-ai-interviews__thinking-orbit {
    position: relative;
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    margin-left: 0.75rem;
}

.candidate-ai-interviews__thinking-core,
.candidate-ai-interviews__thinking-ring,
.candidate-ai-interviews__thinking-dot {
    position: absolute;
    display: block;
}

.candidate-ai-interviews__thinking-core {
    top: 50%;
    left: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ec4b6 0%, #2563eb 100%);
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.22), 0 0 0 7px rgba(46, 196, 182, 0.1);
    transform: translate(-50%, -50%);
    animation: candidateAiInterviewPulse 2.4s ease-in-out infinite;
}

.candidate-ai-interviews__thinking-core i {
    font-size: 0.95rem;
}

.candidate-ai-interviews__thinking-ring {
    inset: 6px;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-top-color: rgba(46, 196, 182, 0.72);
    border-right-color: rgba(46, 196, 182, 0.36);
    animation: candidateAiInterviewOrbit 2.8s linear infinite;
}

.candidate-ai-interviews__thinking-ring--inner {
    inset: 16px;
    border-color: rgba(46, 196, 182, 0.18);
    border-bottom-color: rgba(37, 99, 235, 0.62);
    border-left-color: rgba(37, 99, 235, 0.34);
    animation-duration: 2s;
    animation-direction: reverse;
}

.candidate-ai-interviews__thinking-dot {
    z-index: 1;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ec4b6;
    box-shadow: 0 0 0 5px rgba(46, 196, 182, 0.13);
}

.candidate-ai-interviews__thinking-dot--one {
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: candidateAiInterviewPulse 2.2s ease-in-out infinite;
}

.candidate-ai-interviews__thinking-dot--two {
    right: 7px;
    bottom: 18px;
    width: 7px;
    height: 7px;
    background: #2563eb;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
    animation: candidateAiInterviewPulse 2.6s ease-in-out 0.22s infinite;
}

.candidate-ai-interviews__thinking-dot--three {
    bottom: 16px;
    left: 8px;
    width: 6px;
    height: 6px;
    background: #56ccf2;
    box-shadow: 0 0 0 5px rgba(86, 204, 242, 0.12);
    animation: candidateAiInterviewPulse 2s ease-in-out 0.38s infinite;
}

@keyframes candidateAiInterviewOrbit {
    to {
        transform: rotate(360deg);
    }
}

@keyframes candidateAiInterviewPulse {
    0%,
    100% {
        opacity: 0.72;
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.18));
    }
}

@media (prefers-reduced-motion: reduce) {
    .candidate-ai-interviews__thinking-core,
    .candidate-ai-interviews__thinking-ring,
    .candidate-ai-interviews__thinking-dot {
        animation: none;
    }
}

.candidate-ai-interviews__answer-input {
    min-height: 170px;
    resize: vertical;
}

.candidate-ai-interviews__voice-btn {
    min-width: 11.5rem;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.candidate-ai-interviews__voice-btn.is-listening {
    border-color: rgba(15, 118, 110, 0.35);
    background: rgba(240, 253, 250, 0.98);
    color: #0f766e;
}

.candidate-ai-interviews__voice-btn.is-transcribing {
    border-color: rgba(14, 165, 233, 0.42);
    background: rgba(240, 249, 255, 0.98);
    color: #075985;
    box-shadow: 0 8px 18px rgba(14, 165, 233, 0.14);
}

.candidate-ai-interviews__voice-status {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    min-height: 2.6rem;
    margin-top: 0.65rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.85rem;
    background: rgba(248, 250, 252, 0.9);
    color: #475569;
    font-size: 0.86rem;
    line-height: 1.35;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.candidate-ai-interviews__voice-status-dot {
    flex: 0 0 auto;
    width: 0.7rem;
    height: 0.7rem;
    margin-top: 0.18rem;
    border-radius: 999px;
    background: #94a3b8;
    box-shadow: 0 0 0 0 rgba(148, 163, 184, 0.24);
}

.candidate-ai-interviews__voice-status-copy {
    display: grid;
    gap: 0.16rem;
    min-width: 0;
}

.candidate-ai-interviews__voice-status-label {
    font-weight: 700;
    color: #334155;
}

.candidate-ai-interviews__voice-status-detail {
    color: #64748b;
}

.candidate-ai-interviews__voice-status[data-voice-state="listening"],
.candidate-ai-interviews__voice-status[data-voice-state="recording"] {
    border-color: rgba(15, 118, 110, 0.26);
    background: rgba(240, 253, 250, 0.94);
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.08);
}

.candidate-ai-interviews__voice-status[data-voice-state="listening"] .candidate-ai-interviews__voice-status-dot,
.candidate-ai-interviews__voice-status[data-voice-state="recording"] .candidate-ai-interviews__voice-status-dot {
    background: #0f766e;
    animation: candidateVoicePulse 1.2s ease-out infinite;
}

.candidate-ai-interviews__voice-status[data-voice-state="transcribing"] {
    border-color: rgba(14, 165, 233, 0.32);
    background: rgba(240, 249, 255, 0.96);
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.1);
}

.candidate-ai-interviews__voice-status[data-voice-state="transcribing"] .candidate-ai-interviews__voice-status-dot {
    background: #0284c7;
    animation: candidateVoicePulse 0.9s ease-out infinite;
}

.candidate-ai-interviews__voice-status[data-voice-state="pause"],
.candidate-ai-interviews__voice-status[data-voice-state="processing"] {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(255, 251, 235, 0.96);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.08);
}

.candidate-ai-interviews__voice-status[data-voice-state="pause"] .candidate-ai-interviews__voice-status-dot,
.candidate-ai-interviews__voice-status[data-voice-state="processing"] .candidate-ai-interviews__voice-status-dot {
    background: #d97706;
}

.candidate-ai-interviews__voice-status[data-voice-state="error"] {
    border-color: rgba(220, 38, 38, 0.22);
    background: rgba(254, 242, 242, 0.94);
}

.candidate-ai-interviews__voice-status[data-voice-state="error"] .candidate-ai-interviews__voice-status-dot {
    background: #dc2626;
}

@keyframes candidateVoicePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.28);
    }

    70% {
        box-shadow: 0 0 0 0.45rem rgba(14, 165, 233, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .candidate-ai-interviews__voice-status-dot {
        animation: none !important;
    }
}

.candidate-ai-interviews__criteria-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.candidate-ai-interviews__criterion {
    display: grid;
    gap: 0.18rem;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.candidate-ai-interviews__criterion span {
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.candidate-ai-interviews__criterion strong {
    font-size: 1.2rem;
    color: #0f172a;
}

.candidate-ai-interviews__criterion p {
    margin: 0.2rem 0 0;
    color: #475569;
    line-height: 1.45;
    font-size: 0.86rem;
}

.candidate-ai-interviews__history-list {
    display: grid;
    gap: 0.85rem;
}

.candidate-ai-interviews__history-item {
    padding: 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 118, 110, 0.16);
    background:
        linear-gradient(135deg, rgba(240, 253, 250, 0.88), rgba(255, 255, 255, 0.96) 46%, rgba(239, 246, 255, 0.82));
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.candidate-ai-interviews__history-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.85rem;
    align-items: center;
}

.candidate-ai-interviews__history-copy {
    min-width: 0;
}

.candidate-ai-interviews__history-mode {
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.25;
}

.candidate-ai-interviews__history-vacancy {
    margin-top: 0.16rem;
    color: #475569;
    font-size: 0.86rem;
    line-height: 1.35;
}

.candidate-ai-interviews__history-date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.42rem;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.2;
}

.candidate-ai-interviews__history-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: flex-end;
}

.candidate-ai-interviews__history-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-height: 38px;
    border-radius: 12px;
    border: 0;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.candidate-ai-interviews__history-action--detail {
    border-color: #0f172a !important;
    background: #0f172a !important;
    color: #ffffff !important;
}

.candidate-ai-interviews__history-action--detail:hover,
.candidate-ai-interviews__history-action--detail:focus {
    border-color: #1e293b !important;
    background: #1e293b !important;
    color: #ffffff !important;
}

.candidate-ai-interviews__history-action--repeat {
    border-color: transparent !important;
    background: linear-gradient(135deg, #0f766e, #0891b2) !important;
    color: #ffffff !important;
}

.candidate-ai-interviews__history-action--repeat:hover,
.candidate-ai-interviews__history-action--repeat:focus {
    background: linear-gradient(135deg, #115e59, #0e7490) !important;
    color: #ffffff !important;
}

.candidate-ai-interviews__detail-meta {
    display: grid;
    gap: 0.3rem;
}

.candidate-ai-interviews__detail-section h6 {
    color: #0f172a;
    font-weight: 700;
}

.candidate-ai-interviews__qa-list {
    display: grid;
    gap: 0.85rem;
}

.candidate-ai-interviews__qa-item {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(248, 250, 252, 0.82);
}

.candidate-ai-interviews__qa-question {
    display: grid;
    gap: 0.18rem;
    margin-bottom: 0.5rem;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: rgba(239, 246, 255, 0.92);
    border: 1px solid rgba(37, 99, 235, 0.16);
}

.candidate-ai-interviews__qa-question span {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.candidate-ai-interviews__qa-question strong {
    color: #0f172a;
    line-height: 1.5;
}

.candidate-ai-interviews__qa-answer {
    color: #334155;
    line-height: 1.6;
    white-space: pre-line;
}

@media (max-width: 991.98px) {
    .candidate-ai-interviews__mode-grid,
    .candidate-ai-practice-panel__grid {
        grid-template-columns: 1fr;
    }

    .candidate-ai-interviews__wizard-nav {
        display: flex;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        scroll-snap-type: x proximity;
    }

    .candidate-ai-interviews__wizard-step {
        flex: 0 0 min(15.5rem, 82vw);
        scroll-snap-align: start;
    }

    .candidate-ai-interviews__criteria-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .candidate-ai-interviews__usage-box,
    .candidate-ai-interviews__start-btn {
        width: 100%;
    }

    .candidate-ai-interviews__mode-option {
        grid-template-columns: auto auto minmax(0, 1fr);
    }

    .candidate-ai-interviews__selected-vacancy {
        grid-template-columns: 1fr;
    }

    .candidate-ai-interviews__voice-btn {
        width: 100%;
    }

    .candidate-ai-interviews__history-main {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .candidate-ai-interviews__history-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .candidate-ai-interviews__history-action {
        flex: 1 1 12rem;
    }

    .candidate-ai-interviews__thinking {
        left: 1rem;
        right: 1rem;
        width: auto;
        align-items: stretch;
        flex-direction: column;
    }

    .candidate-ai-interviews__thinking-orbit {
        flex-basis: 62px;
        width: 62px;
        height: 62px;
        align-self: center;
        margin: 0.2rem 0 0;
    }

    .candidate-ai-interviews__thinking-core {
        width: 34px;
        height: 34px;
    }

    .candidate-ai-interviews__thinking-ring--inner {
        inset: 13px;
    }
}

.hunting-filters-card .form-label {
    margin-bottom: 0.3rem;
}

.hunting-filters-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.hunting-filters-card .form-control,
.hunting-filters-card .form-select {
    min-height: 40px;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    font-size: 0.92rem;
    border-radius: 0.72rem;
}

.hunting-filters-card .hunting-search.input-group-lg .form-control,
.hunting-filters-card .hunting-search.input-group-lg .input-group-text {
    min-height: 42px;
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
    font-size: 0.92rem;
}

.hunting-filters-card .form-check {
    margin-bottom: 0;
}

.hunting-filters-card .form-check-label {
    font-size: 0.88rem;
}

.hunting-filters-actions {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0.65rem;
    width: 100%;
}

.hunting-filters-actions--header {
    width: auto;
    flex-wrap: wrap;
}

.hunting-filter-btn {
    min-height: 48px;
    border-radius: 0.85rem;
    padding: 0.64rem 1.2rem;
    font-weight: 700;
    font-size: 0.96rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hunting-filter-btn--apply {
    color: #fff;
    border: 1px solid #2563eb;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
}

.hunting-filter-btn--clear {
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.4);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.88), rgba(219, 234, 254, 0.64));
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.12);
}

.hunting-filter-btn:hover {
    transform: translateY(-1px);
}

.hunting-filter-btn--apply:hover {
    color: #fff;
    border-color: #1d4ed8;
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 14px 24px rgba(30, 64, 175, 0.26);
}

.hunting-filter-btn--clear:hover {
    color: #1e3a8a;
    border-color: rgba(30, 64, 175, 0.55);
    background: linear-gradient(180deg, rgba(219, 234, 254, 0.92), rgba(191, 219, 254, 0.68));
    box-shadow: 0 12px 20px rgba(30, 64, 175, 0.16);
}

.hunting-filter-btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.22rem rgba(37, 99, 235, 0.22);
}

@media (max-width: 991.98px) {
    .hunting-filters-actions {
        justify-content: stretch;
    }

    .hunting-filter-btn {
        flex: 1 1 0;
    }
}

@media (max-width: 575.98px) {
    .vacancies-hero-reference__filter-actions {
        flex-direction: column;
    }

    .hunting-filters-actions {
        flex-direction: column;
    }
}

.vacancy-tab-panel {
    display: none;
    gap: 1rem;
}

.vacancy-tab-panel.active {
    display: grid;
    gap: 1rem;
}

.vacancy-empty-message {
    border: 1px dashed rgba(15, 23, 42, 0.15);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
}

.sector-theme-card.theme-blue {
    --sector-hue: 219;
    --sector-sat: 95%;
    --sector-light-soft: 70%;
    --sector-light-strong: 58%;
    --sector-rgb: 37, 99, 235;
}

.sector-theme-card.theme-green {
    --sector-hue: 160;
    --sector-sat: 88%;
    --sector-light-soft: 70%;
    --sector-light-strong: 58%;
    --sector-rgb: 16, 185, 129;
}

.sector-theme-card.theme-purple {
    --sector-hue: 261;
    --sector-sat: 90%;
    --sector-light-soft: 70%;
    --sector-light-strong: 58%;
    --sector-rgb: 139, 92, 246;
}

.sector-theme-card.theme-orange {
    --sector-hue: 27;
    --sector-sat: 95%;
    --sector-light-soft: 72%;
    --sector-light-strong: 58%;
    --sector-rgb: 249, 115, 22;
}

.sector-theme-card.theme-sky {
    --sector-hue: 202;
    --sector-sat: 95%;
    --sector-light-soft: 70%;
    --sector-light-strong: 58%;
    --sector-rgb: 14, 165, 233;
}

.sector-theme-card.theme-indigo {
    --sector-hue: 238;
    --sector-sat: 88%;
    --sector-light-soft: 70%;
    --sector-light-strong: 58%;
    --sector-rgb: 99, 102, 241;
}

.sector-theme-card.theme-amber {
    --sector-hue: 42;
    --sector-sat: 96%;
    --sector-light-soft: 72%;
    --sector-light-strong: 58%;
    --sector-rgb: 245, 158, 11;
}

.sector-theme-card {
    --sector-hue: 219;
    --sector-sat: 95%;
    --sector-light-soft: 70%;
    --sector-light-strong: 58%;
    --sector-rgb: 37, 99, 235;
}

.sector-card-click {
    --sector-accent: hsl(var(--sector-hue), var(--sector-sat), var(--sector-light-soft));
    cursor: pointer;
    position: relative;
    border: 1.1px solid hsla(var(--sector-hue), 85%, 45%, 0.72);
    border-left: 8px solid hsl(var(--sector-hue), 90%, 38%);
    background:
        linear-gradient(140deg, hsl(var(--sector-hue), 90%, 96%) 0%, hsla(var(--sector-hue), var(--sector-sat), var(--sector-light-soft), 0.62) 65%, hsl(var(--sector-hue), 45%, 94%) 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
    transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.sector-card-click::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 54%),
        linear-gradient(145deg, hsla(var(--sector-hue), 92%, 97%, 0.24) 0%, hsla(var(--sector-hue), 88%, 94%, 0.18) 100%);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.sector-card-click:hover {
    border-color: hsla(var(--sector-hue), 84%, 42%, 0.96);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16), 0 0 0 1px hsla(var(--sector-hue), 88%, 56%, 0.22);
    transform: translateY(-2px);
}

[data-sector-card]:hover .sector-card-click::after {
    opacity: 0.55;
}

[data-sector-card][data-sector-active='0'] .sector-card-click,
[data-sector-card][data-sector-active='false'] .sector-card-click {
    opacity: 0.66;
    filter: saturate(0.65);
}

[data-sector-card][data-sector-active='0'] .sector-card-count,
[data-sector-card][data-sector-active='false'] .sector-card-count {
    background-color: rgba(15, 23, 42, 0.1) !important;
    color: #475569 !important;
    border-color: rgba(15, 23, 42, 0.22) !important;
}

.sector-card-count--hover {
    background: #0ea5e9 !important;
    color: #fff !important;
    border-color: transparent !important;
}

[data-sector-card].is-expanded .sector-card-click {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, hsla(var(--sector-hue), 82%, 84%, 0.64) 95%);
    border-color: hsla(var(--sector-hue), 82%, 40%, 0.95);
    box-shadow: 0 12px 24px hsla(var(--sector-hue), 82%, 45%, 0.22);
}

.sector-card-chevron {
    font-size: 0.9rem;
    color: hsl(var(--sector-hue), 88%, 42%);
    transition: transform 0.22s ease, color 0.22s ease;
}

[data-sector-card].is-expanded .sector-card-chevron {
    transform: rotate(180deg);
    color: hsl(var(--sector-hue), 88%, 30%);
}

.sector-expanded-panel {
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(0);
    pointer-events: none;
    transition: none;
    margin-top: 0;
}

.sector-expanded-panel.is-open {
    max-height: 520px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 0.4rem;
    pointer-events: auto;
}

.sector-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid hsla(var(--sector-hue), 82%, 62%, 0.45);
    color: hsl(var(--sector-hue), 65%, 30%);
}

.sector-card-count {
    border-radius: 999px;
    border-color: hsla(var(--sector-hue), 82%, 52%, 0.5) !important;
    background-color: hsla(var(--sector-hue), 82%, 96%, 0.72);
    color: hsl(var(--sector-hue), 55%, 32%) !important;
}

.sector-role-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.sector-role-preview-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    height: 100%;
}

.sector-role-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.34rem 0.5rem 0.34rem 0.55rem;
    border-radius: 999px;
    border: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 255, 255, 0.92)),
        linear-gradient(180deg, rgba(var(--sector-rgb), 0.12), rgba(var(--sector-rgb), 0.06));
    box-shadow: 0 0 0 1px rgba(var(--sector-rgb), 0.2) inset;
    color: #0f172a;
    max-width: 100%;
    flex: 1 1 calc(50% - 0.55rem);
    min-width: 0;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.sector-role-chip .small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 16.5rem;
}

.sector-role-chip-dot {
    color: rgba(var(--sector-rgb), 0.95);
    font-size: 0.54rem;
    line-height: 1;
    flex: 0 0 auto;
}

.sector-role-chip:hover,
.sector-role-chip:focus-visible {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.95)),
        linear-gradient(180deg, rgba(var(--sector-rgb), 0.2), rgba(var(--sector-rgb), 0.11));
    box-shadow: 0 0 0 1px rgba(var(--sector-rgb), 0.34) inset, 0 4px 10px rgba(15, 23, 42, 0.1);
    color: #0b1324;
}

.sector-role-chip--more {
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.98), rgba(29, 78, 216, 0.96));
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(29, 78, 216, 0.36) inset;
    justify-content: center;
}

.sector-role-chip--more:hover,
.sector-role-chip--more:focus-visible {
    background:
        linear-gradient(180deg, rgba(29, 78, 216, 1), rgba(30, 64, 175, 0.98));
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(30, 64, 175, 0.45) inset, 0 4px 10px rgba(15, 23, 42, 0.2);
}

.labor-role-group {
    --sector-group-hue: 0;
    --sector-group-sat: 95%;
    --sector-group-light: 78%;
    --sector-group-strong: #1f2937;
    border: 1px solid hsla(var(--sector-group-hue), var(--sector-group-sat), 52%, 0.5);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    background:
        linear-gradient(180deg, rgba(var(--sector-group-rgb), 0.22), rgba(255, 255, 255, 0.94) 75%);
    color: #0f172a;
}

.labor-role-group.theme-blue { --sector-group-hue: 219; --sector-group-sat: 92%; --sector-group-light: 76%; --sector-group-rgb: 37, 99, 235; }
.labor-role-group.theme-green { --sector-group-hue: 160; --sector-group-sat: 84%; --sector-group-light: 74%; --sector-group-rgb: 16, 185, 129; }
.labor-role-group.theme-purple { --sector-group-hue: 261; --sector-group-sat: 84%; --sector-group-light: 75%; --sector-group-rgb: 139, 92, 246; }
.labor-role-group.theme-orange { --sector-group-hue: 27; --sector-group-sat: 94%; --sector-group-light: 73%; --sector-group-rgb: 249, 115, 22; }
.labor-role-group.theme-sky { --sector-group-hue: 202; --sector-group-sat: 94%; --sector-group-light: 75%; --sector-group-rgb: 14, 165, 233; }
.labor-role-group.theme-indigo { --sector-group-hue: 238; --sector-group-sat: 84%; --sector-group-light: 75%; --sector-group-rgb: 99, 102, 241; }
.labor-role-group.theme-amber { --sector-group-hue: 42; --sector-group-sat: 96%; --sector-group-light: 74%; --sector-group-rgb: 245, 158, 11; }

.labor-role-group-head {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.26);
    background: linear-gradient(120deg, rgba(var(--sector-group-rgb), 0.95), rgba(var(--sector-group-rgb), 0.78));
}

.labor-role-group .labor-role-group-head h6 {
    color: #fff;
    font-size: 1.03rem;
    margin: 0;
}

.labor-role-group-count {
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
    backdrop-filter: blur(2px);
}

.labor-role-card {
    --role-border: rgba(var(--sector-group-rgb), 0.45);
    background: linear-gradient(180deg, rgba(var(--sector-group-rgb), 0.18), rgba(255, 255, 255, 0.98));
    border: 1px solid var(--role-border);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.labor-role-card:hover {
    border-color: rgba(var(--sector-group-rgb), 0.85);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

.labor-role-row-wrap {
    padding: 0.35rem 0.9rem 0.85rem;
}

#sectorRolesModal .modal-dialog.modal-fullscreen {
    padding: 1.5rem;
}

#sectorRolesModal .modal-dialog.modal-fullscreen .modal-content {
    border-radius: 1rem;
    overflow: hidden;
}

#sectorRolesModal .modal-header {
    border-bottom: 1px solid #e5edf5;
}

.sector-roles-modal-body {
    background: #f8fafc;
    padding: 1rem;
}

.sector-roles-workspace {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 1rem;
}

.sector-roles-workspace__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    background: #ffffff;
}

.sector-roles-master-detail {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 1rem;
    min-height: 0;
    max-height: calc(100vh - 14.5rem);
    flex: 1 1 auto;
}

.sector-roles-list,
.sector-role-detail {
    min-width: 0;
    max-height: calc(100vh - 14.5rem);
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    background: #ffffff;
}

.sector-roles-list {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sector-roles-list__head {
    display: grid;
    gap: 0.65rem;
    padding: 0.9rem;
    border-bottom: 1px solid #edf2f7;
}

.sector-roles-list__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.sector-roles-list__title {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}

.sector-roles-search {
    position: relative;
    flex: 1 1 auto;
    max-width: 13rem;
    min-width: 8.5rem;
}

.sector-roles-search i {
    position: absolute;
    top: 50%;
    left: 0.65rem;
    color: #94a3b8;
    font-size: 0.75rem;
    pointer-events: none;
    transform: translateY(-50%);
}

.sector-roles-search .form-control {
    min-height: 2rem;
    padding-left: 1.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
}

.sector-roles-sortbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.sector-roles-list__body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.75rem;
    max-height: calc(100vh - 20.5rem);
    overflow-y: auto;
}

.sector-role-list-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    width: 100%;
    padding: 0.85rem;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    text-align: left;
}

.sector-role-list-item:hover,
.sector-role-list-item:focus-visible,
.sector-role-list-item.is-active {
    border-color: rgba(var(--sector-rgb, 37, 99, 235), 0.36);
    background: rgba(var(--sector-rgb, 37, 99, 235), 0.08);
}

.sector-role-list-item.is-active {
    box-shadow: inset 3px 0 0 rgba(var(--sector-rgb, 37, 99, 235), 0.95);
}

.sector-role-list-item__main {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.sector-role-list-item__name {
    overflow: hidden;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sector-role-list-item__description {
    display: -webkit-box;
    overflow: hidden;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sector-role-list-item__meta {
    display: flex;
    align-items: flex-end;
    flex: 0 0 auto;
    flex-direction: column;
    gap: 0.35rem;
}

.sector-role-list-item__skills {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 800;
}

.sector-role-detail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.1rem;
    min-height: 0;
    overflow-y: auto;
}

.sector-role-detail__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #edf2f7;
}

.sector-role-detail__head h6 {
    margin: 0.25rem 0 0;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 850;
    line-height: 1.2;
}

.sector-role-detail__level {
    display: inline-flex;
    border-radius: 999px;
    background: rgba(var(--sector-rgb, 37, 99, 235), 0.1);
    color: hsl(var(--sector-hue, 219), 72%, 32%);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.35rem 0.55rem;
}

.sector-role-detail__section {
    display: grid;
    gap: 0.42rem;
}

.sector-role-detail__section--profile {
    padding: 1rem;
    border-radius: 14px;
    background: #f8fafc;
}

.sector-role-detail__label {
    color: #475569;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sector-role-detail__text {
    color: #1e293b;
    font-size: 0.93rem;
    line-height: 1.6;
}

.sector-role-detail__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.sector-role-detail__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.expanded-sortable {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dbe4f0;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1;
    padding: 0.42rem 0.58rem;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.expanded-sortable .expanded-sort-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 0.35rem;
    color: #94a3b8;
    font-size: 0.75rem;
}

.expanded-sortable:hover {
    background: rgba(15, 23, 42, 0.05);
}

.expanded-sortable.text-primary {
    border-color: rgba(var(--sector-rgb, 37, 99, 235), 0.38);
    background: rgba(var(--sector-rgb, 37, 99, 235), 0.08);
}

.expanded-sortable[aria-sort="ascending"] .expanded-sort-icon,
.expanded-sortable[aria-sort="descending"] .expanded-sort-icon {
    color: #2563eb;
}

@media (max-width: 991.98px) {
    #sectorRolesModal .modal-dialog.modal-fullscreen {
        padding: 0;
    }

    #sectorRolesModal .modal-dialog.modal-fullscreen .modal-content {
        border-radius: 0;
    }

    .sector-roles-modal-body {
        padding: 0.75rem;
    }

    .sector-roles-master-detail {
        grid-template-columns: minmax(0, 1fr);
        max-height: none;
    }

    .sector-roles-list__body {
        max-height: 18rem;
    }

    .sector-roles-list,
    .sector-role-detail {
        max-height: calc(100vh - 11rem);
    }

    .sector-roles-search {
        max-width: none;
    }

    .sector-role-detail__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.kanban-column-body--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    align-items: start;
}

.kanban-board .kanban-column-body--grid {
    max-height: none;
    overflow: visible;
    padding: 0.7rem;
    margin: -0.7rem;
    scrollbar-gutter: auto;
}

.kanban-column-body--grid .kanban-card {
    align-self: start;
}

.kanban-board--single .row.gy-4 {
    display: block;
}

.kanban-board {
    margin-top: 0;
}

.candidate-stage-tabs + .kanban-board {
    margin-top: 0;
}

.kanban-board--single .kanban-row {
    margin-top: 0 !important;
    margin-right: 0;
    margin-left: 0;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.kanban-board .kanban-row {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.kanban-board .kanban-row > [class*="col-"] {
    margin-top: 0 !important;
}

.kanban-row.d-none {
    display: none !important;
}

.kanban-row {
    margin-bottom: 1.25rem;
}

.kanban-row:last-child {
    margin-bottom: 0;
}

.kanban-row--stages > [class*="col-"] {
    display: flex;
}

.kanban-row--stages > [class*="col-"] .kanban-column {
    width: 100%;
    height: 100%;
}

.kanban-stage-grid {
    display: grid;
    grid-template-columns: repeat(var(--kanban-stage-columns, 1), minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
}

.kanban-stage-grid__cell {
    display: flex;
}

.kanban-stage-grid__cell .kanban-column {
    width: 100%;
    height: 100%;
}

.kanban-board--single .kanban-stage-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

.kanban-board--single .kanban-stage-grid__cell:not(.d-none) {
    grid-column: 1 / -1;
}

.kanban-board--single .kanban-column {
    width: 100%;
}

.kanban-column-header__drag-handle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.9rem;
    height: 1.9rem;
    margin-right: 0.45rem;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 0.65rem;
    background: #f8fbff;
    color: #5b7bc7;
    cursor: grab;
    padding: 0;
}

.kanban-board.is-stage-reordering .kanban-column-header__drag-handle {
    display: inline-flex;
}

.kanban-board.is-stage-reordering .kanban-column-header--stage {
    cursor: grab;
}

.kanban-board.is-stage-reordering .kanban-column-header--stage:active {
    cursor: grabbing;
}

.kanban-board.is-stage-reordering .kanban-stage-grid__cell {
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.kanban-board.is-stage-reordering .kanban-stage-grid__cell:hover {
    transform: translateY(-1px);
}

.kanban-stage-reorder-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 1rem;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.kanban-stage-reorder-toolbar__copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.kanban-stage-reorder-toolbar__copy strong {
    font-size: 0.95rem;
    color: #14315f;
}

.kanban-stage-reorder-toolbar__copy span {
    font-size: 0.83rem;
    color: #5a6f8f;
}

.kanban-stage-reorder-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 0 0 auto;
}

.kanban-stage-reorder-target--active,
.kanban-stage-reorder-target--dragging,
.kanban-stage-reorder-target--ghost,
.kanban-stage-reorder-target--focus {
    border-radius: 1.5rem;
}

.kanban-stage-reorder-target--focus {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.16), 0 18px 34px rgba(37, 99, 235, 0.12);
}

.kanban-stage-reorder-target--active {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2), 0 18px 34px rgba(37, 99, 235, 0.12);
}

.kanban-stage-reorder-target--ghost {
    box-shadow: none;
}

.kanban-stage-reorder-target--dragging {
    opacity: 0.28;
    box-shadow: none;
}

.kanban-stage-reorder-target--focus .kanban-column {
    box-shadow: none;
}

.kanban-stage-reorder-target--active .kanban-column,
.kanban-stage-reorder-target--dragging .kanban-column,
.kanban-stage-reorder-target--ghost .kanban-column {
    box-shadow: none;
    background: #ffffff;
}

.kanban-stage-reorder-target--ghost .kanban-column {
    background: #eff6ff;
    border-style: dashed;
    border-color: rgba(37, 99, 235, 0.55);
}

.kanban-board--single .row.gy-4 > [class*="col-"] {
    width: 100%;
    max-width: 100%;
}

.kanban-board.kanban-board--single .kanban-column-body {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 0.75rem;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    scrollbar-gutter: auto;
}



.vacancy-compact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.vacancy-compact-brand {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    min-width: 0;
    min-height: 44px;
}

.vacancy-company-logo--sm {
    width: 50px !important;
    height: 50px !important;
    flex: 0 0 50px;
    flex-shrink: 0;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.vacancy-company-logo.vacancy-company-logo--sm {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    aspect-ratio: 1 / 1;
}

.vacancy-compact-title-wrap {
    min-width: 0;
    overflow: hidden;
}

.vacancy-compact-company {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    font-weight: 600;
}

.vacancy-compact-title {
    display: inline-block;
    width: 100%;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.vacancy-compact-title:hover {
    color: inherit;
    text-decoration: none;
}


.vacancy-compact-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
    font-size: 0.8rem;
    color: #475569;
}

.vacancy-compact-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    min-width: 0;
    max-width: 100%;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
}

.vacancy-compact-meta span i {
    color: #64748b;
    flex: 0 0 auto;
}

.vacancy-compact-cta {
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tl-primary);
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.vacancy-card--link:hover .vacancy-compact-cta {
    opacity: 1;
    transform: translateY(0);
}

.vacancy-tier-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.24rem 0.5rem;
    border-radius: 999px;
    white-space: nowrap;
    border: 1px solid transparent;
    line-height: 1.2;
    max-height: 1.7rem;
}

.vacancy-tier-tag--normal {
    color: #334155;
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.vacancy-tier-tag--featured {
    color: #075985;
    background: #e0f2fe;
    border-color: #7dd3fc;
}

.vacancy-tier-tag--super {
    color: #92400e;
    background: #fef3c7;
    border-color: #fcd34d;
}

.vacancy-variant-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.22rem 0.55rem;
    margin-bottom: 0.5rem;
    border: 1px solid transparent;
}

.vacancy-variant-banner--featured {
    color: #0c4a6e;
    background: #dff6ff;
    border-color: #7dd3fc;
}

.vacancy-variant-banner--super {
    color: #78350f;
    background: #fff2c7;
    border-color: #f59e0b;
}

.vacancy-applied {
    font-weight: 600;
}

.vacancy-applied-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    width: fit-content;
}

.vacancy-compact-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.8rem;
}

.vacancies-featured {
    background: #fff;
    border-radius: 18px;
    padding: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.vacancy-featured-strip {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.vacancy-featured-strip .vacancy-card--compact {
    min-width: 280px;
    max-width: 320px;
}

.vacancy-card h5 {
    font-weight: 600;
}

.vacancy-company-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vacancy-company-logo--sm img,
.vacancy-company-logo--sm .vacancy-company-placeholder {
    width: 50px !important;
    height: 50px !important;
    aspect-ratio: 1 / 1;
}

.vacancy-company-logo--xl {
    width: 96px;
    height: 96px;
    border-radius: 20px;
}

.vacancy-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 767.98px) {
    .vacancy-compact-meta {
        grid-template-columns: minmax(0, 1fr);
    }
}

.vacancy-company-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.vacancy-company-logo--anonymous {
    background: #f8fafc;
}

.vacancy-company-confidential {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #94a3b8;
}

.vacancy-company-placeholder {
    color: #94a3b8;
    font-size: 1.2rem;
}

.vacancy-summary {
    color: #475569;
}

.vacancy-skill-badge {
    border-radius: 999px;
    background: rgba(var(--tl-primary-rgb), 0.08);
    color: #0f172a;
    padding: 0.35rem 0.9rem;
    font-weight: 500;
}

.vacancy-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #64748b;
}

.vacancy-card-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    margin-top: 1.25rem;
    padding-top: 1.25rem;
}

.active-filter-chip {
    border-radius: 999px;
    padding: 0.25rem 0.9rem;
    background: rgba(var(--tl-primary-rgb), 0.12);
    color: var(--tl-primary);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.active-filter-chip button {
    border: none;
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Vacancy apply */
.apply-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.apply-layout--guest-gated {
    align-items: stretch !important;
    min-height: clamp(30rem, calc(100svh - var(--app-header-offset, 56px) - var(--app-main-footer-offset, 64px) - 2.25rem), 52rem);
}

.apply-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 2rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.apply-summary-card__gate a:not(.btn) {
    color: #5edad0;
    text-decoration: none;
}

.apply-summary-card__gate a:not(.btn):hover,
.apply-summary-card__gate a:not(.btn):focus {
    color: #ffffff;
    text-decoration: underline;
}

.vacancy-apply-ai-cta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    width: min(100%, 560px);
    padding: 1rem 1.05rem;
    border: 1px solid rgba(46, 196, 182, 0.3);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(46, 196, 182, 0.14), rgba(37, 99, 235, 0.07)),
        #ffffff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.vacancy-apply-ai-cta__icon {
    display: inline-grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border-radius: 14px;
    background: #0b1f44;
    color: #5edad0;
    font-size: 1rem;
}

.vacancy-apply-ai-cta__body {
    min-width: 0;
}

.vacancy-apply-ai-cta__body h6 {
    margin: 0 0 0.25rem;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.35;
}

.vacancy-apply-ai-cta__body p {
    margin: 0 0 0.75rem;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.45;
}

.apply-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #2563eb;
    gap: 0.45rem;
    width: fit-content;
    max-width: 100%;
    margin-right: auto;
}

.apply-tabs .nav-link {
    border: 1px solid #cbd5e1;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    background: #f8fafc;
    color: #334155;
    padding: 0.42rem 0.88rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
}

.apply-tabs .nav-link.active {
    background: #2563eb;
    color: #f8fafc;
    border-color: #2563eb;
    margin-bottom: -2px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.apply-summary-card {
    position: static;
    overflow: hidden;
    background:
        linear-gradient(155deg, rgba(46, 196, 182, 0.16), rgba(46, 196, 182, 0) 38%),
        linear-gradient(180deg, #0b1f44 0%, #0f172a 100%);
    color: #ffffff;
    border: 0;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
}

.apply-layout--guest-gated .apply-summary-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}

.apply-summary-card .badge {
    background: #eff6ff;
    color: #0f2a5f;
}

.apply-summary-card__brand {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.35rem 1.35rem 0.75rem;
    border-bottom: 0;
    background: transparent;
    color: #ffffff;
}

.apply-summary-card__brand-main {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    min-width: 0;
}

.apply-summary-card__brand .apply-summary-card__company {
    color: rgba(255, 255, 255, 0.72);
}

.apply-summary-card__brand .vacancy-company-confidential {
    color: rgba(255, 255, 255, 0.7);
}

.apply-summary-card__back-btn {
    flex: 0 0 auto;
    border-color: #2ec4b6;
    background: #2ec4b6;
    color: #0b1f44;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(46, 196, 182, 0.22);
}

.apply-summary-card__back-btn:hover,
.apply-summary-card__back-btn:focus {
    border-color: #5edad0;
    background: #5edad0;
    color: #0b1f44;
}

.apply-summary-card__title {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.25;
}

.apply-summary-card__company,
.apply-summary-card__copy,
.apply-summary-card__notice {
    color: #475569;
}

.apply-summary-card__gated {
    position: relative;
    background: #ffffff;
    border-top: 0;
}

.apply-layout--guest-gated .apply-summary-card__gated {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.apply-summary-card__gated-content {
    padding: 1.35rem;
    transition: filter 0.18s ease, opacity 0.18s ease;
}

.apply-layout--guest-gated .apply-summary-card__gated-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.apply-layout--guest-gated .apply-summary-card__gated.is-gated .apply-summary-card__gated-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 0.75rem;
}

.apply-summary-card__gated.is-gated .apply-summary-card__gated-content {
    filter: blur(5px);
    opacity: 0.48;
    pointer-events: none;
    user-select: none;
}

.apply-summary-card__gate {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.55rem;
    min-height: 15rem;
    padding: 1.25rem;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(11, 31, 68, 0.58), rgba(15, 23, 42, 0.9));
    text-align: center;
}

.apply-layout--guest-gated .apply-summary-card__gate {
    inset: 0;
    min-height: 100%;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    background: linear-gradient(180deg, rgba(11, 31, 68, 0.16), rgba(15, 23, 42, 0.52));
}

.apply-summary-card__gate-icon {
    display: inline-grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border-radius: 14px;
    background: #2ec4b6;
    color: #0b1f44;
    box-shadow: 0 14px 26px rgba(46, 196, 182, 0.24);
}

.apply-summary-card__gate h6 {
    margin: 0;
    color: #ffffff;
    font-weight: 800;
}

.apply-summary-card__gate p {
    max-width: 30rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.45;
}

.apply-summary-card__gate-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 0.35rem;
}

.apply-summary-card__gate-actions .btn {
    min-height: 2.55rem;
    border-radius: 12px;
    font-weight: 800;
}

.apply-summary-card__gate-actions .btn-primary {
    border-color: #2ec4b6;
    background: #2ec4b6;
    color: #0b1f44;
}

.apply-summary-card__gate-actions .btn-primary:hover,
.apply-summary-card__gate-actions .btn-primary:focus {
    border-color: #5edad0;
    background: #5edad0;
    color: #0b1f44;
}

.apply-summary-card__gate-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.apply-summary-card__gate-actions .btn-outline-light:hover,
.apply-summary-card__gate-actions .btn-outline-light:focus {
    border-color: rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.apply-summary-card__copy,
.apply-summary-card__notice {
    font-size: 0.9rem;
    line-height: 1.55;
}

.apply-layout--guest-gated .apply-summary-card__notice {
    grid-column: 1 / -1;
    margin-top: auto;
}

.apply-summary-card__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0;
    padding: 0.55rem 1.35rem 1.35rem;
    background: transparent;
}

.apply-layout--guest-gated .apply-summary-card__facts {
    margin: 0;
}

.apply-summary-fact {
    display: grid;
    grid-template-columns: 2.35rem minmax(0, 1fr);
    gap: 0.7rem;
    align-items: center;
    min-height: 3.15rem;
    padding: 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
}

.apply-summary-fact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 10px;
    background: rgba(46, 196, 182, 0.18);
    color: #5edad0;
}

.apply-summary-fact__body {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.apply-summary-fact__label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.apply-summary-section__eyebrow {
    color: #667085;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.apply-summary-fact__value {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.3;
}

.apply-summary-section {
    padding: 1rem 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.apply-summary-card__gated-content > .apply-summary-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.apply-layout--guest-gated .apply-summary-section {
    min-height: 8.5rem;
    padding: 0.9rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: #f8fafc;
}

.apply-layout--guest-gated .apply-summary-card__copy {
    display: -webkit-box;
    max-height: 8.5rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}

.apply-summary-requirements {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.apply-layout--guest-gated .apply-summary-requirements {
    max-height: 8.5rem;
    overflow: hidden;
}

.apply-summary-requirements li {
    position: relative;
    padding-left: 1.35rem;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.45;
}

.apply-summary-requirements li::before {
    content: "";
    position: absolute;
    top: 0.58rem;
    left: 0.15rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #2ec4b6;
}

@media (max-width: 991px) {
    .apply-layout--guest-gated .apply-summary-card__gated.is-gated .apply-summary-card__gated-content {
        grid-template-columns: minmax(0, 1fr);
    }

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

@media (max-width: 575.98px) {
    .apply-layout--guest-gated {
        min-height: calc(100svh - var(--app-header-offset, 56px) - var(--app-main-footer-offset, 64px) - 1.25rem);
    }

    .apply-card {
        padding: 1.25rem;
    }

    .apply-summary-card__gate-actions {
        width: 100%;
    }

    .apply-summary-card__gate-actions .btn {
        width: 100%;
    }

    .apply-summary-card__brand {
        flex-direction: column;
    }

    .apply-summary-card__back-btn {
        width: 100%;
        justify-content: center;
    }

    .apply-summary-card__facts {
        grid-template-columns: minmax(0, 1fr);
    }
}

.vacancy-quick-apply-panel {
    display: grid;
    gap: 1rem;
    justify-items: center;
    padding: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #f8fafc;
    text-align: center;
}

.vacancy-quick-apply-panel__title {
    margin: 0;
    color: #0f172a;
    font-weight: 800;
}

.vacancy-apply-screening-gate {
    background:
        linear-gradient(180deg, rgba(37, 99, 235, 0.05), rgba(255, 255, 255, 0)),
        #fff;
}

.vacancy-apply-question-list {
    display: grid;
    gap: 1rem;
}

.vacancy-apply-question-card {
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    padding: 1rem 1.1rem 1.1rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.vacancy-apply-question-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.5rem;
}

.vacancy-apply-question-card__heading {
    min-width: 0;
}

.vacancy-apply-question-card__eyebrow {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563eb;
    font-weight: 700;
}

.vacancy-apply-question-card__prompt {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.45;
}

.vacancy-apply-question-card__meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.68rem;
    border-radius: 999px;
    flex: 0 0 auto;
    border: 1px solid rgba(37, 99, 235, 0.14);
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
}

.vacancy-apply-question-card textarea.form-control {
    min-height: 5.5rem;
}

.vacancy-apply-question-option {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding-left: 1rem !important;
}

.vacancy-apply-question-option .form-check-input {
    float: none;
    margin: 0.15rem 0 0;
    flex: 0 0 auto;
}

.vacancy-apply-question-option .form-check-label {
    margin: 0;
    flex: 1 1 auto;
    color: #0f172a;
}

.vacancy-apply-question-card.is-invalid {
    border-color: rgba(220, 38, 38, 0.45);
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.96), #ffffff);
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.08);
}

@media (max-width: 767px) {
    .vacancy-apply-ai-cta {
        grid-template-columns: 1fr;
    }

    .vacancy-apply-question-card {
        padding: 0.95rem;
    }

    .vacancy-apply-question-card__head {
        flex-direction: column;
        align-items: flex-start;
    }
}

.file-drop {
    border: 1.5px dashed rgba(15, 23, 42, 0.25);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    background: #f8fbff;
}

.form-section-title {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

/* Job create form */
.job-form-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.job-form [data-job-create-wizard-source] {
    display: none;
}

.job-create-wizard {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.job-create-wizard__nav {
    display: inline-flex;
    gap: 0.55rem;
    align-items: stretch;
    max-width: 100%;
}

.job-create-wizard__nav-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.6rem;
    border: 1px solid rgba(46, 196, 182, 0.42);
    border-radius: 14px;
    background: linear-gradient(135deg, #0f2a5f 0%, #0f766e 100%);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 42, 95, 0.16);
    flex: 0 0 2.6rem;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.job-create-wizard__nav-control:hover,
.job-create-wizard__nav-control:focus-visible {
    border-color: rgba(46, 196, 182, 0.75);
    background: linear-gradient(135deg, #123574 0%, #0f8b80 100%);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(15, 42, 95, 0.22);
    outline: 0;
}

.job-create-wizard__nav-control[data-job-create-wizard-nav-prev]:hover,
.job-create-wizard__nav-control[data-job-create-wizard-nav-prev]:focus-visible {
    transform: translateX(-3px);
}

.job-create-wizard__nav-control[data-job-create-wizard-nav-next]:hover,
.job-create-wizard__nav-control[data-job-create-wizard-nav-next]:focus-visible {
    transform: translateX(3px);
}

.job-create-wizard__nav-control:disabled {
    opacity: 0.36;
    pointer-events: none;
    background: #eef2f7;
    border-color: #dbe4f0;
    color: #94a3b8;
    box-shadow: none;
}

.job-create-wizard__rail {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.55rem;
    align-self: start;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0.55rem;
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.job-create-wizard__rail::-webkit-scrollbar {
    display: none;
}

.job-create-wizard__step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.45rem;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 7.2rem;
    max-width: 13.5rem;
    min-height: 2.95rem;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #475569;
    padding: 0.46rem 0.55rem;
    text-align: left;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.job-create-wizard__step[hidden],
.job-create-wizard__step.is-window-hidden {
    display: none;
}

.job-create-wizard__step:hover,
.job-create-wizard__step:focus-visible {
    border-color: #cbd5e1;
    background: #ffffff;
    outline: 0;
}

.job-create-wizard__step.is-active {
    border-color: rgba(46, 196, 182, 0.48);
    background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
    color: #0f2a5f;
    box-shadow: 0 8px 18px rgba(15, 42, 95, 0.10);
}

.job-create-wizard__step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    line-height: 1;
}

.job-create-wizard__step-icon {
    width: 1.82rem;
    height: 1.82rem;
    background: #f1f5f9;
    color: #0f766e;
    font-size: 0.82rem;
}

.job-create-wizard__step.is-complete .job-create-wizard__step-icon {
    background: #dcfce7;
    color: #0f766e;
}

.job-create-wizard__step-copy {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
    width: 100%;
}

.job-create-wizard__step-title {
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.18;
}

.job-create-wizard__step-summary {
    display: none;
    overflow: hidden;
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.job-create-wizard__mobile-head {
    display: none;
}

.job-create-wizard__body {
    min-width: 0;
}

.job-create-wizard > [data-job-catalog-import-alert] {
    margin-bottom: 0;
}

.job-create-wizard__panel {
    border: 1px solid #dbe4f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
    overflow: visible;
}

.job-create-wizard__panel[hidden] {
    display: none;
}

.job-create-wizard__panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 17px 17px 0 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eefdf9 100%);
}

.job-create-wizard__panel-copy {
    min-width: 0;
}

.job-create-wizard__panel-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    align-self: flex-start;
    min-height: 2.35rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 42, 95, 0.14);
    background: rgba(255, 255, 255, 0.82);
    color: #0f2a5f;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.55rem 0.9rem;
    white-space: nowrap;
}

.job-create-wizard__panel-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
}

.job-create-wizard__panel-head p {
    margin: 0.25rem 0 0;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.45;
}

.job-create-wizard__panel-body {
    display: grid;
    gap: 1rem;
    padding: 1.15rem;
}

.job-create-wizard__panel-body > .row {
    margin-top: 0 !important;
}

.job-create-wizard__footer {
    grid-column: 1;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.25rem;
}

@media (max-width: 1199.98px) {
    .job-create-wizard__rail {
        gap: 0.45rem;
    }

    .job-create-wizard__footer {
        grid-column: 1;
    }
}

@media (max-width: 991.98px) {
    .job-create-wizard__step {
        max-width: 14rem;
    }

}

@media (max-width: 575.98px) {
    .job-create-wizard {
        gap: 0.9rem;
    }

    .job-create-wizard__nav {
        display: none;
    }

    .job-create-wizard__mobile-head {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.55rem;
        border: 1px solid #dbe4f0;
        border-radius: 14px;
        background: #f8fafc;
        padding: 0.75rem;
    }

    .job-create-wizard__mobile-next {
        border-radius: 999px;
        background: #0f2a5f;
        color: #ffffff;
        font-size: 0.72rem;
        font-weight: 800;
        line-height: 1;
        padding: 0.34rem 0.55rem;
    }

    .job-create-wizard__mobile-title {
        color: #0f172a;
        font-size: 0.9rem;
        font-weight: 800;
    }

    .job-create-wizard__panel-head,
    .job-create-wizard__panel-body {
        padding: 0.9rem;
    }

    .job-create-wizard__panel-head {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .job-create-wizard__panel-kicker {
        min-height: 2rem;
        font-size: 0.72rem;
        padding: 0.45rem 0.68rem;
        white-space: nowrap;
    }

    .job-create-wizard__footer {
        flex-direction: column-reverse;
    }

    .job-create-wizard__footer .btn {
        width: 100%;
    }
}

.job-form-body {
    background: #fff;
    border-radius: 18px;
    padding: 2rem;
}

.job-create-deferred-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    width: fit-content;
    margin-top: 1rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid rgba(46, 196, 182, 0.28);
    border-radius: 999px;
    background: rgba(46, 196, 182, 0.08);
    color: #0f766e;
    font-size: 0.86rem;
    font-weight: 700;
}

.job-create-deferred-placeholder__spinner {
    width: 0.85rem;
    height: 0.85rem;
    border: 3px solid rgba(15, 118, 110, 0.18);
    background: #0f766e;
    border-radius: 50%;
}

.job-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f2937;
}

.job-form .form-control,
.job-form .form-select {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 0.6rem 0.9rem;
    color: #0f172a;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.03);
}

.job-form .form-select {
    padding-right: 2.6rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 12px 8px;
    appearance: none;
}

.job-form .form-control:focus,
.job-form .form-select:focus {
    border-color: rgba(var(--tl-primary-rgb), 0.6);
    background-color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(var(--tl-primary-rgb), 0.18);
}

.job-form .form-control.is-invalid,
.job-form .form-select.is-invalid {
    border-color: #eb5757;
    background-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(235, 87, 87, 0.18);
}

.job-form .form-control.is-invalid:focus,
.job-form .form-select.is-invalid:focus {
    border-color: #eb5757;
    box-shadow: 0 0 0 0.2rem rgba(235, 87, 87, 0.18);
}

.job-form .form-control:disabled,
.job-form .form-select:disabled,
.job-form .form-control[readonly] {
    border-color: #e2e8f0;
    background-color: #eef2f7;
    color: #64748b;
    box-shadow: none;
    opacity: 1;
}

.job-form .form-control::placeholder {
    color: #94a3b8;
}

.job-form-toggle-row .job-form-toggle {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.job-form-toggle .form-check-input {
    width: 2.5rem;
    height: 1.4rem;
}

.job-visibility-settings-panel {
    display: block;
    padding: 1.15rem;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.job-visibility-settings-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #edf2f7;
}

.job-visibility-settings-panel__head .form-label {
    font-weight: 700;
}

.job-visibility-settings-panel .row > [class*="col-"] {
    display: flex;
}

.job-visibility-settings-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: stretch;
    margin-top: 0.9rem;
}

.job-visibility-setting-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0.85rem 0.95rem;
    border: 1px solid #e5edf5;
    border-radius: 12px;
    background: #f8fafc;
    box-shadow: none;
    cursor: pointer;
    height: 100%;
}

.job-visibility-setting-card--span-4 {
    grid-column: span 4;
}

.job-visibility-setting-card--span-6 {
    grid-column: span 6;
}

.job-visibility-settings-grid.has-scheduled .job-visibility-setting-card--span-6 {
    grid-column: span 4;
}

.job-visibility-setting-card--field {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    cursor: default;
}

.job-visibility-setting-card__copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1 1 auto;
}

.job-ai-preferences-panel {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #eefdf9 48%, #eef6ff 100%);
    border-color: rgba(46, 196, 182, 0.55) !important;
    box-shadow: 0 18px 42px rgba(15, 42, 95, 0.10), 0 0 0 4px rgba(46, 196, 182, 0.08);
    overflow: hidden;
}

.job-ai-preferences-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.35rem;
    background: linear-gradient(180deg, #0f2a5f 0%, #2ec4b6 100%);
}

.job-ai-preferences-head,
.job-ai-preferences-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    position: relative;
    width: 100%;
    border: 0;
    background:
        linear-gradient(135deg, rgba(15, 42, 95, 0.08), rgba(46, 196, 182, 0.14)),
        transparent;
    padding: 1rem 1.15rem 1rem 1.35rem;
    color: inherit;
    text-align: left;
}

.job-ai-preferences-head {
    cursor: default;
}

.job-ai-preferences-toggle:hover,
.job-ai-preferences-toggle:focus {
    background:
        linear-gradient(135deg, rgba(15, 42, 95, 0.12), rgba(46, 196, 182, 0.20)),
        transparent;
    outline: 0;
}

.job-ai-preferences-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 0.85rem;
    background: #0f2a5f;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 42, 95, 0.22);
}

.job-ai-preferences-toggle__copy {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
    flex: 1 1 auto;
}

.job-ai-preferences-toggle__copy .form-label {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
}

.job-ai-preferences-toggle__heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-ai-preferences-toggle__badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(242, 153, 74, 0.35);
    border-radius: 999px;
    background: #fff7ed;
    color: #b45309;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.02em;
    line-height: 1;
    padding: 0.28rem 0.5rem;
    text-transform: uppercase;
}

.job-ai-preferences-toggle__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.job-ai-preferences-toggle__action {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    border-radius: 999px;
    background: #0f766e;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.20);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 0.5rem 0.72rem;
}

.job-ai-preferences-toggle__action i {
    transition: transform 0.18s ease;
}

.job-ai-preferences-toggle:not(.collapsed) .job-ai-preferences-toggle__action i {
    transform: rotate(180deg);
}

.job-ai-preferences-body {
    border-top: 1px solid rgba(215, 230, 238, 0.9);
    padding: 0.85rem 1rem 1rem;
}

.job-ai-preferences-explainer,
.job-ai-preferences-effective {
    border: 1px solid #dbe5ec;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
    padding: 0.95rem 1rem;
}

.job-ai-preferences-explainer__header,
.job-ai-preferences-effective__header {
    display: grid;
    gap: 0.2rem;
    margin-bottom: 0.8rem;
}

.job-ai-preferences-explainer__title,
.job-ai-preferences-effective__title {
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.2;
}

.job-ai-preferences-explainer__text,
.job-ai-preferences-effective__text {
    color: #667085;
    font-size: 0.82rem;
    line-height: 1.45;
}

.job-ai-preferences-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: ai-preferences-flow;
}

.job-ai-preferences-flow--admin {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.job-ai-preferences-flow--compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.job-ai-preferences-flow__step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 100%;
    border: 1px solid #dbe7ef;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfd 100%);
    padding: 0.75rem 0.9rem 0.75rem 0.75rem;
    color: #1f2937;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    box-shadow: 0 8px 22px rgba(15, 42, 95, 0.05);
    counter-increment: ai-preferences-flow;
}

.job-ai-preferences-flow--compact .job-ai-preferences-flow__step {
    flex: 1 1 180px;
    min-height: auto;
    border-radius: 0.7rem;
    padding: 0.45rem 0.62rem;
    font-size: 0.76rem;
    box-shadow: none;
}

.job-ai-preferences-flow__step::before {
    content: counter(ai-preferences-flow);
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: #0f2a5f;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(15, 42, 95, 0.18);
}

.job-ai-preferences-flow--compact .job-ai-preferences-flow__step::before {
    width: 1.42rem;
    height: 1.42rem;
    font-size: 0.68rem;
}

.job-ai-preferences-flow__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.76rem;
    width: 0.62rem;
    height: 0.62rem;
    border-top: 2px solid #2ec4b6;
    border-right: 2px solid #2ec4b6;
    transform: translateY(-50%) rotate(45deg);
    z-index: 1;
}

.job-ai-preferences-flow--compact .job-ai-preferences-flow__step:not(:last-child)::after {
    display: none;
}

.job-ai-preferences-note,
.job-ai-preferences-inline-note {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    color: #5f6b7a;
    font-size: 0.79rem;
    line-height: 1.4;
}

.job-ai-preferences-note i,
.job-ai-preferences-inline-note i {
    flex: 0 0 auto;
    margin-top: 0.1rem;
    color: #0f766e;
}

.vacancy-ai-preferences-dialog {
    max-width: min(1320px, calc(100vw - 2rem));
}

.job-ai-preferences-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.job-ai-preferences-context-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr);
    gap: 0.75rem;
    align-items: start;
    margin-bottom: 0.65rem;
}

.job-ai-preferences-additional {
    display: grid;
    grid-template-columns: minmax(200px, 0.42fr) minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.job-ai-preferences-panel .job-ai-preferences-explainer {
    padding: 0.7rem 0.8rem;
}

.job-ai-preferences-panel .job-ai-preferences-explainer__header {
    margin-bottom: 0.55rem;
}

.job-ai-preferences-panel .job-ai-preferences-grid {
    gap: 0.55rem;
}

.job-ai-preferences-panel .job-ai-preferences-group {
    border-radius: 0.78rem;
    padding: 0.55rem;
}

.job-ai-preferences-panel .job-ai-preferences-group__title {
    margin-bottom: 0.42rem;
    font-size: 0.72rem;
}

.job-ai-preferences-panel .job-ai-preferences-group__grid {
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 0.5rem;
}

.job-ai-preferences-panel .job-ai-preferences-group--comparison .job-ai-preferences-group__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.job-ai-preferences-panel .job-ai-preferences-mode-card {
    padding: 0.68rem 0.72rem;
}

.job-ai-preferences-panel .job-ai-preferences-option {
    padding: 0.54rem 0.58rem;
}

.job-ai-preferences-panel .job-ai-preferences-option__copy {
    gap: 0.22rem;
}

.job-ai-preferences-panel .job-ai-preferences-option__signals {
    gap: 0.24rem;
    margin-top: 0.46rem;
    padding-top: 0.46rem;
}

.job-ai-preferences-group {
    border: 1px solid #dbe5ec;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.75rem;
}

.job-ai-preferences-group__title {
    margin-bottom: 0.55rem;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.job-ai-preferences-group__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.6rem;
}

.job-ai-preferences-mode-card,
.job-ai-preferences-option {
    display: block;
    border: 1px solid #d9e4ea;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.035);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.job-ai-preferences-mode-card {
    cursor: pointer;
    padding: 0.9rem 0.95rem;
}

.job-ai-preferences-option {
    padding: 0.68rem 0.72rem;
}

.job-ai-preferences-option__main {
    display: block;
}

.job-ai-preferences-option__check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    cursor: pointer;
}

.job-ai-preferences-option__check .form-check-input {
    flex: 0 0 auto;
    margin-top: 0.15rem;
}

.job-ai-preferences-option__copy {
    display: grid;
    gap: 0.32rem;
    flex: 1 1 auto;
    min-width: 0;
}

.job-ai-preferences-option__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
}

.job-ai-preferences-option__title {
    color: #172033;
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.2;
    min-width: 0;
}

.job-ai-preferences-option__priority-wrap {
    flex: 0 0 auto;
}

.job-ai-preferences-option__help {
    display: block;
    overflow: visible;
    color: #667085;
    font-size: 0.78rem;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
}

.job-ai-preferences-option__priority {
    width: 112px;
}

.job-ai-preferences-option__signals {
    display: grid;
    gap: 0.34rem;
    margin-top: 0.62rem;
    padding-top: 0.62rem;
    border-top: 1px solid rgba(219, 228, 238, 0.9);
}

.job-ai-preferences-option__signals span {
    display: grid;
    grid-template-columns: minmax(74px, max-content) minmax(0, 1fr);
    gap: 0.42rem;
    color: #475569;
    font-size: 0.74rem;
    line-height: 1.25;
}

.job-ai-preferences-option__signals strong {
    color: #0f766e;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.job-ai-preferences-effective__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.6rem;
}

.job-ai-preferences-stat {
    display: grid;
    gap: 0.16rem;
    border: 1px solid #dce5eb;
    border-radius: 0.9rem;
    background: #fff;
    padding: 0.7rem 0.78rem;
}

.job-ai-preferences-stat__label {
    color: #667085;
    font-size: 0.74rem;
    line-height: 1.2;
}

.job-ai-preferences-stat strong {
    color: #0f172a;
    font-size: 0.94rem;
    line-height: 1.2;
}

.job-ai-preferences-effective__list-wrap {
    margin-top: 0.85rem;
}

.job-ai-preferences-effective__list-title {
    color: #334155;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.job-ai-preferences-effective__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.job-ai-preferences-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #d7e6e1;
    border-radius: 999px;
    background: #fff;
    padding: 0.38rem 0.62rem;
    color: #1f2937;
    font-size: 0.78rem;
    line-height: 1.2;
}

.job-ai-preferences-pill strong {
    color: #0f766e;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.job-ai-preferences-empty {
    color: #667085;
    font-size: 0.8rem;
}

.job-ai-preferences-mode-card.is-active,
.job-ai-preferences-option.is-selected {
    border-color: #0f766e;
    box-shadow: 0 9px 20px rgba(15, 118, 110, 0.11);
}

.job-ai-preferences-mode-card.is-active {
    background: linear-gradient(180deg, #f0fdfa 0%, #dff7f2 100%);
}

.job-ai-preferences-mode-card.is-active .fw-semibold {
    color: #0f4f4a;
}

.job-ai-preferences-option.is-selected {
    background: linear-gradient(180deg, #f0fdfa 0%, #e6f7f4 100%);
}

.job-ai-preferences-mode-card:hover,
.job-ai-preferences-option:hover {
    transform: translateY(-1px);
}

.job-ai-preferences-panel .is-disabled {
    opacity: 1;
}

.job-ai-preferences-panel .is-disabled .job-ai-preferences-option {
    cursor: pointer;
}

.job-ai-preferences-option .form-select[disabled] {
    background-color: #f3f4f6;
    border-color: #e2e8f0;
    color: #94a3b8;
}

@media (max-width: 575.98px) {
    .vacancy-ai-preferences-dialog {
        max-width: calc(100vw - 1rem);
        margin-right: 0.5rem;
        margin-left: 0.5rem;
    }

    .job-ai-preferences-head,
    .job-ai-preferences-toggle {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.9rem;
    }

    .job-ai-preferences-toggle__icon {
        width: 2.35rem;
        height: 2.35rem;
    }

    .job-ai-preferences-toggle__meta {
        width: 100%;
        justify-content: space-between;
    }

    .job-ai-preferences-body {
        padding: 0.8rem;
    }

    .job-ai-preferences-context-head,
    .job-ai-preferences-additional {
        grid-template-columns: 1fr;
    }

    .job-ai-preferences-panel .job-ai-preferences-group--comparison .job-ai-preferences-group__grid {
        grid-template-columns: 1fr;
    }

    .job-ai-preferences-option__main {
        display: block;
    }

    .job-ai-preferences-option__header {
        flex-direction: column;
        align-items: stretch;
    }

    .job-ai-preferences-option__priority {
        width: 100%;
    }

    .job-ai-preferences-option__priority-wrap {
        width: 100%;
    }

    .job-ai-preferences-option__signals span {
        grid-template-columns: 1fr;
        gap: 0.12rem;
    }

    .job-ai-preferences-effective__stats,
    .job-ai-preferences-flow {
        grid-template-columns: 1fr;
    }

    .job-ai-preferences-flow__step:not(:last-child)::after {
        top: auto;
        right: auto;
        bottom: -0.78rem;
        left: 1.34rem;
        transform: rotate(135deg);
    }

    .job-ai-preferences-flow--compact .job-ai-preferences-flow__step:not(:last-child)::after {
        display: none;
    }
}

.job-visibility-setting-card__title,
.job-visibility-setting-card__field-label {
    margin: 0;
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.job-visibility-setting-card__text {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.45;
}

.job-visibility-setting-card__helper {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.45rem;
    flex: 0 0 100%;
    width: 100%;
    margin-top: -0.35rem;
    padding: 0.5rem 0.6rem;
    border: 1px solid rgba(46, 196, 182, 0.36);
    border-radius: 10px;
    background: rgba(46, 196, 182, 0.10);
    color: #0f2a5f;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
}

.job-visibility-setting-card__helper i {
    color: #22afa3;
    line-height: 1.35;
    margin-top: 0.03rem;
}

.job-visibility-setting-card .form-check-input {
    width: 2.55rem;
    height: 1.45rem;
    box-shadow: none;
}

.job-visibility-setting-card .form-control,
.job-visibility-setting-card .form-select {
    margin-top: 0.55rem;
}

.job-visibility-setting-card--field .form-control,
.job-visibility-setting-card--field .form-select {
    margin-top: 0.4rem;
}

.job-visibility-setting-card .invalid-feedback {
    margin-top: 0.45rem;
}

.job-visibility-setting-card--field .text-muted.small {
    margin-top: 0.5rem !important;
}

.job-visibility-private-link-box {
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    background: #f8fafc;
    padding: 1rem;
}

.job-visibility-private-link-note {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    border: 1px dashed rgba(var(--tl-primary-rgb), 0.35);
    border-radius: 12px;
    background: rgba(var(--tl-primary-rgb), 0.06);
    color: #1e3a8a;
    font-size: 0.84rem;
    font-weight: 600;
}

.job-responsibles-panel {
    padding: 0.15rem 0;
}

.job-responsibles-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.job-responsibles-panel__summary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    width: fit-content;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
}

.job-responsibles-panel__summary span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.job-responsibles-panel__summary strong {
    color: #0f172a;
}

.job-responsibles-panel__summary.is-balanced {
    border-color: rgba(46, 196, 182, 0.38);
    background: rgba(46, 196, 182, 0.1);
    color: #0f766e;
}

.job-responsibles-panel__summary.is-over {
    border-color: rgba(235, 87, 87, 0.34);
    background: rgba(235, 87, 87, 0.08);
    color: #b42318;
}

.job-responsibles-panel.is-invalid,
[data-job-create-wizard-panel-body][data-job-responsibles-panel].is-invalid {
    border-radius: 12px;
    background: rgba(220, 53, 69, 0.04);
}

.job-responsible-row {
    padding: 0.85rem;
    border-radius: 12px;
    background: #f8fafc;
}

@media (max-width: 1199.98px) {
    .job-visibility-setting-card--span-4 {
        grid-column: span 6;
    }
}

@media (max-width: 991.98px) {
    .job-visibility-setting-card--span-4,
    .job-visibility-setting-card--span-6 {
        grid-column: 1 / -1;
    }
}

.job-form-split {
    padding-top: 1rem;
}

.job-form-textarea {
    background: #ffffff;
    border-radius: 14px;
}

.job-markdown-editor {
    overflow: hidden;
    border: 1px solid #d0d5dd;
    border-radius: 14px;
    background: #ffffff;
}

.job-markdown-editor:focus-within {
    border-color: #2ec4b6;
    box-shadow: 0 0 0 0.2rem rgba(46, 196, 182, 0.14);
}

.job-markdown-editor.is-invalid {
    border-color: #eb5757;
}

.job-markdown-editor.is-invalid:focus-within {
    border-color: #eb5757;
    box-shadow: 0 0 0 0.2rem rgba(235, 87, 87, 0.14);
}

.job-markdown-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.42rem 0.5rem;
    border-bottom: 1px solid #e4e7ec;
    background: #f8fafc;
}

.job-markdown-toolbar__divider {
    width: 1px;
    align-self: stretch;
    min-height: 1.6rem;
    margin: 0 0.08rem;
    background: #d0d5dd;
}

.job-markdown-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #ffffff;
    color: #0f2a5f;
}

.job-markdown-tool:hover,
.job-markdown-tool:focus-visible {
    border-color: #2ec4b6;
    background: #ecfeff;
    color: #0f766e;
}

.job-markdown-editor .job-form-textarea {
    min-height: 18rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    resize: vertical;
}

.job-markdown-editor .job-form-textarea:focus {
    box-shadow: none;
}

.job-markdown-editor__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 18rem;
}

.job-markdown-editor .EasyMDEContainer {
    min-width: 0;
}

.job-markdown-editor .EasyMDEContainer .editor-toolbar,
.job-markdown-editor .EasyMDEContainer .editor-statusbar,
.job-markdown-editor .EasyMDEContainer .editor-preview,
.job-markdown-editor .EasyMDEContainer .editor-preview-side {
    display: none !important;
}

.job-markdown-editor .EasyMDEContainer .CodeMirror {
    min-height: 18rem;
    height: auto;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    color: #344054;
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
}

.job-markdown-editor .EasyMDEContainer .CodeMirror-scroll {
    min-height: 18rem;
}

.job-markdown-editor .EasyMDEContainer .CodeMirror-focused {
    box-shadow: none;
}

.job-markdown-editor .EasyMDEContainer .CodeMirror-placeholder {
    color: #98a2b3;
}

.job-markdown-editor .EasyMDEContainer .cm-s-easymde .cm-header-1,
.job-markdown-editor .EasyMDEContainer .cm-s-easymde .cm-header-2,
.job-markdown-editor .EasyMDEContainer .cm-s-easymde .cm-header-3,
.job-markdown-editor .EasyMDEContainer .cm-s-easymde .cm-header-4,
.job-markdown-editor .EasyMDEContainer .cm-s-easymde .cm-header-5,
.job-markdown-editor .EasyMDEContainer .cm-s-easymde .cm-header-6 {
    color: #0f2a5f;
    font-size: inherit;
    font-weight: 800;
    line-height: inherit;
}

.job-markdown-editor .EasyMDEContainer .cm-spell-error {
    background: transparent;
    text-decoration: underline;
    text-decoration-color: #eb5757;
    text-decoration-style: wavy;
    text-underline-offset: 0.16em;
}

.job-markdown-preview {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-left: 1px solid #e4e7ec;
    background: #fbfdff;
}

.job-markdown-preview__label {
    padding: 0.52rem 0.7rem 0;
    color: #667085;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.job-markdown-preview__surface {
    flex: 1 1 auto;
    min-height: 15rem;
    padding: 0.55rem 0.7rem 0.75rem;
    color: #344054;
    font-size: 0.9rem;
    line-height: 1.55;
}

.app-simple-markdown > :last-child {
    margin-bottom: 0;
}

.app-simple-markdown {
    white-space: normal;
}

.app-simple-markdown h3,
.app-simple-markdown h4,
.app-simple-markdown p,
.app-simple-markdown ul,
.app-simple-markdown ol,
.app-simple-markdown blockquote,
.app-simple-markdown hr {
    margin-top: 0;
}

.app-simple-markdown h3,
.app-simple-markdown h4 {
    margin-bottom: 0.45rem;
    color: inherit;
    font-weight: 800;
    line-height: 1.3;
}

.app-simple-markdown h3 {
    font-size: 1rem;
}

.app-simple-markdown h4 {
    font-size: 0.92rem;
}

.app-simple-markdown p,
.app-simple-markdown ul,
.app-simple-markdown ol,
.app-simple-markdown blockquote,
.app-simple-markdown hr {
    margin-bottom: 0.65rem;
}

.app-simple-markdown ul,
.app-simple-markdown ol {
    padding-left: 1.25rem;
}

.app-simple-markdown li + li {
    margin-top: 0.25rem;
}

.app-simple-markdown blockquote {
    padding: 0.58rem 0.72rem;
    border-left: 3px solid #2ec4b6;
    border-radius: 8px;
    background: rgba(46, 196, 182, 0.08);
    color: #344054;
}

.app-simple-markdown hr {
    border: 0;
    border-top: 1px solid #d0d5dd;
    opacity: 1;
}

.app-simple-markdown__checklist {
    padding-left: 0;
    list-style: none;
}

.app-simple-markdown__checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.app-simple-markdown__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 0.95rem;
    width: 0.95rem;
    height: 0.95rem;
    margin-top: 0.2rem;
    border: 1px solid #98a2b3;
    border-radius: 4px;
    background: #ffffff;
}

.app-simple-markdown__check.is-checked {
    border-color: #2ec4b6;
    background: #2ec4b6;
}

.app-simple-markdown__check.is-checked::after {
    width: 0.3rem;
    height: 0.52rem;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

@media (max-width: 991.98px) {
    .job-markdown-editor__body {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .job-markdown-editor .EasyMDEContainer .CodeMirror,
    .job-markdown-editor .EasyMDEContainer .CodeMirror-scroll {
        min-height: 16rem;
    }

    .job-markdown-preview {
        border-top: 1px solid #e4e7ec;
        border-left: 0;
    }

    .job-markdown-preview__surface {
        max-height: 16rem;
        min-height: 10rem;
        overflow: auto;
    }
}

.job-form-ai-head .btn {
    white-space: nowrap;
}

.job-form-ai-actions {
    min-width: 0;
}

.job-form-ai-suggest-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.5rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid #0f766e;
    border-radius: 12px;
    background: linear-gradient(135deg, #0f766e 0%, #0ea5a4 100%);
    color: #f8fafc;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18);
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.job-form-ai-suggest-btn:hover,
.job-form-ai-suggest-btn:focus-visible {
    color: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 118, 110, 0.22);
}

.job-form-ai-suggest-btn.disabled,
.job-form-ai-suggest-btn:disabled {
    color: #e2e8f0;
    transform: none;
    box-shadow: none;
    opacity: 0.65;
    pointer-events: auto;
    cursor: not-allowed;
}

.job-form-ai-suggest-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    flex: 0 0 auto;
}

.job-form-ai-suggest-btn.is-loading .job-form-ai-suggest-btn__icon i {
    animation: job-ai-suggest-spin 1s linear infinite;
}

.job-form-ai-suggest-btn__label {
    line-height: 1.1;
}

.job-form-ai-usage {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.2rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: help;
}

.job-form-ai-usage.is-disabled {
    color: #64748b;
    background: #f8fafc;
}

.job-form-ai-usage__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f766e;
    flex: 0 0 auto;
}

.job-ai-usage-tooltip__list {
    display: grid;
    gap: 0.25rem;
    text-align: left;
}

.job-ai-usage-tooltip__item {
    line-height: 1.35;
}

.job-form-ai-panel {
    border: 1px solid rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.08);
    border-radius: 12px;
    padding: 0.9rem 1rem;
}

.job-form-ai-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.18);
    color: #0f766e;
}

@keyframes job-ai-suggest-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.job-import-note-item {
    margin-bottom: 0.5rem;
}

.job-import-note-item:last-child {
    margin-bottom: 0;
}

.job-import-suggestion-btn {
    background: #f59e0b;
    border: 1px solid #d97706;
    color: #ffffff;
    font-weight: 700;
    border-radius: 10px;
    padding: 0.3rem 0.65rem;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.role-ai-description-swal .swal2-html-container {
    padding-left: 0;
    padding-right: 0;
}

.role-ai-description-swal__body {
    padding: 0 0.15rem;
}

.role-ai-description-swal__field {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 0.95rem !important;
    box-sizing: border-box;
    resize: vertical;
}

.experience-functions-ai-review-swal .swal2-html-container {
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
}

.experience-functions-ai-review {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    text-align: left;
}

.experience-functions-ai-review__panel {
    min-height: 13rem;
    max-height: 22rem;
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    padding: 0.95rem;
    color: #334155;
    white-space: pre-wrap;
}

.experience-functions-ai-review__panel.is-suggested {
    border-color: rgba(46, 196, 182, 0.5);
    background: linear-gradient(180deg, rgba(46, 196, 182, 0.12), #ffffff 72%);
}

.experience-functions-ai-review__panel strong {
    display: block;
    margin-bottom: 0.55rem;
    color: #0f172a;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 767.98px) {
    .experience-functions-ai-review {
        grid-template-columns: 1fr;
    }

    .experience-functions-ai-review__panel {
        min-height: 9rem;
        max-height: 16rem;
    }
}

.job-import-suggestion-btn:hover,
.job-import-suggestion-btn:focus {
    background: #d97706;
    border-color: #b45309;
    color: #ffffff;
}

.language-list {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem;
}

.language-list .language-card:last-child {
    margin-bottom: 0;
}

.job-preview-panel {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0.02));
    border: 1px solid rgba(15, 118, 110, 0.3);
    border-radius: 20px;
    padding: 1rem 1.1rem 1.25rem;
    position: relative;
}

.job-preview-label {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0f766e;
    margin-bottom: 0.9rem;
    font-weight: 700;
    background: #ecfdf5;
    border: 1px solid rgba(15, 118, 110, 0.25);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.job-create-apply-preview,
.job-create-apply-preview .apply-layout,
.job-create-apply-preview .apply-summary-card {
    width: 100%;
}

.job-create-apply-preview .apply-layout {
    gap: 0;
}

.job-create-preview-step {
    display: grid;
    gap: 0.85rem;
}

.job-create-preview-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.job-create-preview-actions .btn {
    justify-content: center;
    min-height: 2.75rem;
}

.job-full-preview {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.job-full-preview__hero {
    background: linear-gradient(135deg, #0b1f44 0%, #0f2a5f 58%, #0f766e 100%);
    color: #fff;
    padding: 1.25rem;
    position: relative;
}

.job-full-preview__brand {
    align-items: center;
    display: flex;
    gap: 0.9rem;
    min-width: 0;
}

.job-full-preview__logo {
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 16px;
    display: inline-flex;
    flex: 0 0 56px;
    height: 56px;
    justify-content: center;
    overflow: hidden;
    width: 56px;
}

.job-full-preview__logo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.job-full-preview__logo span {
    color: #fff;
    font-weight: 800;
}

.job-full-preview__badge,
.job-full-preview__featured {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 700;
    gap: 0.35rem;
}

.job-full-preview__badge {
    background: rgba(46, 196, 182, 0.16);
    color: #b8fff6;
    margin-bottom: 0.35rem;
    padding: 0.22rem 0.6rem;
}

.job-full-preview__featured {
    background: #f2c94c;
    color: #101828;
    margin-top: 0.9rem;
    padding: 0.3rem 0.65rem;
}

.job-full-preview__hero h3 {
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 2rem);
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0;
}

.job-full-preview__hero p {
    color: rgba(255, 255, 255, 0.78);
    margin: 0.2rem 0 0;
}

.job-full-preview__lead {
    max-width: 680px;
    padding-top: 0.85rem;
}

.job-full-preview__layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 280px;
    padding: 1rem;
}

.job-full-preview__main {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
}

.job-full-preview__section {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 0.95rem;
}

.job-full-preview__section--muted {
    background: #f8fafc;
}

.job-full-preview__section h5,
.job-full-preview__aside h5 {
    color: #101828;
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 0.55rem;
}

.job-full-preview__copy {
    color: #344054;
    font-size: 0.92rem;
    line-height: 1.55;
}

.job-full-preview__empty,
.job-full-preview__empty-list {
    color: #667085;
    font-size: 0.9rem;
}

.job-full-preview__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.job-full-preview__skill {
    background: #ecfdf5;
    border: 1px solid rgba(46, 196, 182, 0.28);
    border-radius: 999px;
    color: #0f766e;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
}

.job-full-preview__questions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.job-full-preview__question {
    align-items: flex-start;
    display: flex;
    gap: 0.55rem;
}

.job-full-preview__question span {
    align-items: center;
    background: #eff6ff;
    border-radius: 999px;
    color: #1b3a8a;
    display: inline-flex;
    flex: 0 0 24px;
    font-size: 0.78rem;
    font-weight: 800;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.job-full-preview__question strong {
    color: #344054;
    font-size: 0.9rem;
    font-weight: 650;
}

.job-full-preview__aside {
    align-self: start;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 0.95rem;
}

.job-full-preview__facts {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.job-full-preview__fact {
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 10px;
    display: flex;
    gap: 0.55rem;
    padding: 0.65rem;
}

.job-full-preview__fact > span {
    align-items: center;
    background: #eff6ff;
    border-radius: 9px;
    color: #1b3a8a;
    display: inline-flex;
    flex: 0 0 32px;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.job-full-preview__fact small {
    color: #667085;
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.12rem;
    text-transform: uppercase;
}

.job-full-preview__fact strong {
    color: #101828;
    display: block;
    font-size: 0.88rem;
    line-height: 1.25;
}

.job-full-preview__actions {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.job-full-preview__actions .btn {
    justify-content: center;
}

.job-full-preview__notice {
    color: #667085;
    font-size: 0.8rem;
    line-height: 1.35;
    margin: 0.75rem 0 0;
}

.vacancy-apply-disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.7;
}

@media (max-width: 991px) {
    .job-full-preview__layout {
        grid-template-columns: 1fr;
    }

    .job-create-preview-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .job-create-preview-actions {
        grid-template-columns: 1fr;
    }

    .job-form-body {
        padding: 1.5rem;
    }

    .job-form-ai-actions {
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .job-form-ai-suggest-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

.requirement-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.requirement-tags {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.requirement-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #312e81;
}

.requirement-card button {
    border: none;
    background: transparent;
    color: #94a3b8;
}

.requirement-card button:hover {
    color: #0f172a;
}
.kanban-card .drag-handle {
    cursor: grab;
    padding: 0.15rem 0.25rem;
    border: 1px dashed transparent;
    border-radius: 6px;
}

.kanban-card:hover .drag-handle {
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.18);
}

.candidate-modal-dialog {
    width: min(96vw, 1840px);
    max-width: 1840px;
}

.candidate-modal-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
}

.candidate-modal-header--with-center {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.candidate-modal-header__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    min-width: 0;
}

.candidate-modal-header__center {
    display: flex;
    justify-content: center;
    min-width: 0;
    justify-self: center;
}

.candidate-modal-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-shrink: 0;
    min-width: 0;
    width: 100%;
    justify-self: stretch;
}

.candidate-modal-header__actions .btn-close {
    margin: 0;
}

.candidate-detail-modal__content--split {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.candidate-detail-modal__content--split .candidate-detail-modal__body {
    padding: 0;
    overflow: hidden;
    background: #f8fafc;
}

.candidate-detail-modal__top-actions {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 12;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.candidate-detail-modal__top-actions .candidate-detail-contact-menu {
    align-self: center;
}

.candidate-detail-modal__top-actions .btn-close {
    width: 2.35rem;
    height: 2.35rem;
    margin: 0;
    border-radius: 999px;
    background-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    opacity: 0.72;
    transition: opacity 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.candidate-detail-modal__top-actions .btn-close:hover,
.candidate-detail-modal__top-actions .btn-close:focus-visible {
    background-color: rgba(15, 23, 42, 0.14);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.2);
    opacity: 1;
}

.candidate-detail-modal__navigator {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem;
    border: 1px solid rgba(15, 42, 95, 0.12);
    border-radius: 12px;
    background: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.candidate-detail-modal__nav-btn {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #ffffff;
    color: #0f2a5f;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.candidate-detail-modal__nav-btn:hover,
.candidate-detail-modal__nav-btn:focus-visible {
    background: #e7f8f6;
    border-color: rgba(46, 196, 182, 0.36);
    color: #0b1f44;
    box-shadow: 0 8px 18px rgba(15, 42, 95, 0.1);
}

.candidate-detail-modal__nav-btn:disabled {
    cursor: not-allowed;
    opacity: 0.48;
    background: #eef2f7;
    color: #64748b;
    box-shadow: none;
}

.candidate-detail-modal__nav-counter {
    padding: 0 0.42rem;
    color: #344054;
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
}

.candidate-detail-modal__body {
    transition: opacity 0.16s ease;
}

.candidate-detail-modal__body.is-reloading {
    opacity: 0.55;
}

.candidate-screening-panel {
    border-top: 0;
    border-radius: 0 0 16px 16px;
    padding: 0.75rem;
    background: #f8fbff;
}

.candidate-screening-list {
    display: grid;
    gap: 0.75rem;
}

.candidate-screening-toggle {
    cursor: pointer;
    padding: 0.45rem 0.6rem;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.3);
    background: rgba(37, 99, 235, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.candidate-screening-toggle:hover {
    background: rgba(37, 99, 235, 0.14);
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.candidate-screening-title {
    color: #0f172a;
    font-weight: 700;
}

.candidate-psicotest-title {
    color: #0f172a;
    font-weight: 700;
}

.candidate-psicotest-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.candidate-psicotest-card {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.candidate-psicotest-card[open] {
    border-color: rgba(var(--tl-primary-rgb), 0.28);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.candidate-psicotest-card__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 52px;
    padding: 0.75rem 0.9rem;
    cursor: pointer;
    list-style: none;
}

.candidate-psicotest-card__summary::-webkit-details-marker {
    display: none;
}

.candidate-psicotest-card__summary:hover,
.candidate-psicotest-card__summary:focus-visible {
    background: rgba(var(--tl-primary-rgb), 0.06);
    outline: none;
}

.candidate-psicotest-card__title {
    min-width: 0;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.candidate-psicotest-card__status {
    flex: 0 0 auto;
}

.candidate-psicotest-card__result {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.75rem 0.9rem 0.9rem;
}

.candidate-psicotest-card__progress {
    margin-bottom: 0.6rem;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
}

.candidate-psicotest-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.candidate-detail-expandable {
    --candidate-detail-expandable-max: 18rem;
    --candidate-detail-expandable-panel-height: 21.5rem;
}

.candidate-detail-expandable__content {
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    max-height: var(--candidate-detail-expandable-max);
    overflow: hidden;
    transition: max-height 0.2s ease;
}

.candidate-detail-expandable--section {
    display: flex;
    flex-direction: column;
    height: var(--candidate-detail-expandable-panel-height);
    position: relative;
}

.candidate-detail-expandable.is-expanded .candidate-detail-expandable__content {
    flex: 0 0 auto;
    max-height: none;
    overflow: visible;
}

.candidate-detail-expandable--section.is-expanded {
    height: auto;
}

.candidate-detail-expandable.has-overflow:not(.is-expanded) .candidate-detail-expandable__content::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3.2rem;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0) 0%, #ffffff 82%);
}

.candidate-detail-expandable__toggle {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: calc(100% - 1.4rem);
    min-height: 2.2rem;
    margin: 0.65rem 0.7rem 0.75rem;
    border: 1px solid rgba(46, 196, 182, 0.32);
    border-radius: 999px;
    background: linear-gradient(180deg, #f0fdfa 0%, #e6fffb 100%);
    color: #0f766e;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.candidate-detail-expandable__toggle[hidden],
.candidate-detail-expandable:not(.has-overflow) .candidate-detail-expandable__toggle {
    display: none;
}

.candidate-detail-expandable--section .candidate-detail-expandable__toggle {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.candidate-detail-expandable__toggle:hover,
.candidate-detail-expandable__toggle:focus-visible {
    border-color: rgba(46, 196, 182, 0.62);
    background: #ccfbf1;
    color: #0f2a5f;
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.12);
}

.candidate-detail-profile-triad {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: start;
    min-width: 0;
}

.candidate-detail-profile-triad__block {
    width: 100%;
    height: 100%;
    margin: 0 !important;
}

.candidate-detail-profile-triad .card {
    height: 100%;
}

.candidate-detail-profile-triad .candidate-psicotest-list,
.candidate-detail-profile-triad .candidate-screening-list {
    grid-template-columns: 1fr;
}

@media (max-width: 991.98px) {
    .candidate-detail-profile-triad {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .candidate-psicotest-list {
        grid-template-columns: 1fr;
    }
}

.candidate-screening-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: #64748b;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.candidate-screening-toggle[aria-expanded="true"] .candidate-screening-chevron {
    transform: rotate(180deg);
    background: rgba(148, 163, 184, 0.2);
    color: #0f172a;
}

.candidate-screening-toggle[aria-expanded="true"] {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
}

.candidate-screening-toggle + .collapse .candidate-screening-panel {
    margin-top: 0;
}

.candidate-screening-panel--embedded {
    border-radius: 12px;
    padding: 0;
    background: transparent;
}

.candidate-screening-panel--embedded .candidate-screening-list {
    gap: 0.65rem;
}

@media (min-width: 992px) {
    .candidate-screening-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.candidate-screening-item {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.candidate-screening-badge[data-open-screening-fail="1"],
.candidate-screening-badge[data-preview-open-screening-fail="1"] {
    background-color: #ef4444 !important;
    color: #ffffff !important;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(220, 38, 38, 0.35), 0 1px 2px rgba(15, 23, 42, 0.14);
    transition: box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease, transform 0.18s ease;
    border: 1px dashed rgba(220, 38, 38, 0.3);
}

.candidate-screening-badge[data-open-screening-fail="1"]:hover,
.candidate-screening-badge[data-preview-open-screening-fail="1"]:hover {
    border-color: rgba(248, 113, 113, 0.65);
    box-shadow: 0 12px 20px rgba(220, 38, 38, 0.35);
    transform: translateY(-1px);
    filter: none;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.vacancy-applicants-screening-tooltip {
    --bs-tooltip-bg: #dc2626;
    --bs-tooltip-color: #ffffff;
    --bs-tooltip-border-color: #b91c1c;
    --bs-tooltip-opacity: 1;
    --bs-tooltip-padding-x: 0.62rem;
    --bs-tooltip-padding-y: 0.45rem;
}

.vacancy-applicants-screening-tooltip .tooltip-inner {
    background-color: #dc2626;
    color: #ffffff;
    border: 1px solid #b91c1c;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    font-size: 0.78rem;
    padding: 0.45rem 0.62rem;
    border-radius: 8px;
}

.vacancy-applicants-screening-tooltip.bs-tooltip-top .tooltip-arrow::before,
.vacancy-applicants-screening-tooltip.bs-tooltip-end .tooltip-arrow::before,
.vacancy-applicants-screening-tooltip.bs-tooltip-start .tooltip-arrow::before,
.vacancy-applicants-screening-tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-top-color: #dc2626;
    border-right-color: #dc2626;
    border-bottom-color: #dc2626;
    border-left-color: #dc2626;
}

.tooltip.vacancy-applicants-info-tooltip,
.vacancy-applicants-info-tooltip {
    --bs-tooltip-bg: #111827;
    --bs-tooltip-color: #f8fafc;
    --bs-tooltip-border-color: rgba(148, 163, 184, 0.4);
    --bs-tooltip-opacity: 1;
    --bs-tooltip-padding-x: 0.65rem;
    --bs-tooltip-padding-y: 0.5rem;
    opacity: 1 !important;
    z-index: 2147483000;
}

.tooltip.vacancy-applicants-info-tooltip.show,
.vacancy-applicants-info-tooltip.show {
    opacity: 1 !important;
}

.tooltip.vacancy-applicants-info-tooltip .tooltip-inner,
.vacancy-applicants-info-tooltip .tooltip-inner {
    background-color: #111827 !important;
    color: #f8fafc !important;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    font-size: 0.78rem;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    min-width: 196px;
    white-space: normal;
    text-align: left;
}

.vacancy-info-tooltip__grid {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

.vacancy-info-tooltip__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.vacancy-info-tooltip__row--single {
    justify-content: flex-end;
}

.vacancy-info-tooltip__label {
    color: #cbd5e1;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.vacancy-info-tooltip__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    white-space: nowrap;
}

.vacancy-info-tooltip__badge.is-stage {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
    color: #dbeafe;
}

.vacancy-info-tooltip__badge.is-success {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(52, 211, 153, 0.28);
    color: #d1fae5;
}

.vacancy-info-tooltip__badge.is-warning {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(251, 191, 36, 0.28);
    color: #fef3c7;
}

.vacancy-info-tooltip__badge.is-danger {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(248, 113, 113, 0.28);
    color: #fee2e2;
}

.vacancy-info-tooltip__badge.is-neutral {
    background: rgba(148, 163, 184, 0.18);
    border-color: rgba(148, 163, 184, 0.28);
    color: #e2e8f0;
}

.vacancy-info-tooltip__badge.is-source-candidate {
    background: rgba(14, 165, 233, 0.18);
    border-color: rgba(56, 189, 248, 0.28);
    color: #e0f2fe;
}

.vacancy-info-tooltip__badge.is-source-hunting {
    background: rgba(249, 115, 22, 0.18);
    border-color: rgba(251, 146, 60, 0.28);
    color: #ffedd5;
}

.vacancy-info-tooltip__badge.is-source-both {
    background: rgba(168, 85, 247, 0.16);
    border-color: rgba(196, 181, 253, 0.28);
    color: #ede9fe;
}

.vacancy-info-tooltip__badge.is-internal {
    background: rgba(6, 182, 212, 0.18);
    border-color: rgba(103, 232, 249, 0.28);
    color: #cffafe;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    padding: 0.26rem 0.58rem;
}

.tooltip.vacancy-applicants-info-tooltip[data-popper-placement^="top"] .tooltip-arrow::before,
.vacancy-applicants-info-tooltip[data-popper-placement^="top"] .tooltip-arrow::before {
    border-top-color: #111827 !important;
}

.tooltip.vacancy-applicants-info-tooltip[data-popper-placement^="bottom"] .tooltip-arrow::before,
.vacancy-applicants-info-tooltip[data-popper-placement^="bottom"] .tooltip-arrow::before {
    border-bottom-color: #111827 !important;
}

.tooltip.vacancy-applicants-info-tooltip[data-popper-placement^="start"] .tooltip-arrow::before,
.vacancy-applicants-info-tooltip[data-popper-placement^="start"] .tooltip-arrow::before {
    border-left-color: #111827 !important;
}

.tooltip.vacancy-applicants-info-tooltip[data-popper-placement^="end"] .tooltip-arrow::before,
.vacancy-applicants-info-tooltip[data-popper-placement^="end"] .tooltip-arrow::before {
    border-right-color: #111827 !important;
}

.tooltip.vacancy-rejected-tooltip {
    --bs-tooltip-bg: #b91c1c;
    --bs-tooltip-color: #fef2f2;
    --bs-tooltip-border-color: #991b1b;
    --bs-tooltip-opacity: 1;
}

.tooltip.vacancy-rejected-tooltip .tooltip-inner {
    background-color: #b91c1c;
    color: #fef2f2;
    border: 1px solid #991b1b;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    font-size: 0.78rem;
    padding: 0.45rem 0.62rem;
    border-radius: 8px;
    font-weight: 600;
}

.vacancy-rejected-tooltip.bs-tooltip-top .tooltip-arrow::before,
.vacancy-rejected-tooltip.bs-tooltip-end .tooltip-arrow::before,
.vacancy-rejected-tooltip.bs-tooltip-start .tooltip-arrow::before,
.vacancy-rejected-tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-top-color: #b91c1c;
    border-right-color: #b91c1c;
    border-bottom-color: #b91c1c;
    border-left-color: #b91c1c;
}

.candidate-screening-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.candidate-screening-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: 600;
}

.candidate-screening-question {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: #0f172a;
}

.candidate-screening-answer {
    border-top: 1px dashed rgba(148, 163, 184, 0.4);
    padding-top: 0.5rem;
}

.candidate-screening-answer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}

@media (min-width: 768px) {
    .candidate-screening-answer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.candidate-screening-text {
    margin: 0.25rem 0 0 0;
    color: #475569;
    font-size: 0.92rem;
}

.candidate-screening-empty {
    grid-column: 1 / -1;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.12);
}

.candidate-ai-analysis-regenerate-panel {
    display: grid;
    gap: 0.55rem;
    border: 1px solid #dbe7ef;
    border-radius: 12px;
    background: #f8fafc;
    padding: 0.75rem;
}

.candidate-ai-analysis-regenerate-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.candidate-ai-analysis-regenerate-toolbar {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    min-width: 0;
    max-width: none;
    margin-left: 0;
}

.candidate-ai-analysis-regenerate-btn {
    min-height: 2rem;
    background: #eef2f7;
    border: 1px solid rgba(148, 163, 184, 0.32);
    color: #334155;
    box-shadow: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.candidate-ai-analysis-regenerate-btn:hover,
.candidate-ai-analysis-regenerate-btn:focus-visible {
    background: #e7f8f6;
    border-color: rgba(46, 196, 182, 0.42);
    color: #0f2a5f;
    box-shadow: 0 8px 18px rgba(15, 42, 95, 0.08);
    transform: translateY(-1px);
}

.candidate-ai-analysis-regenerate-btn.is-disabled,
.candidate-ai-analysis-regenerate-btn:disabled,
.candidate-ai-analysis-regenerate-btn[aria-disabled="true"] {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #64748b;
    opacity: 1;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: auto;
    transform: none;
}

.candidate-ai-analysis-regenerate-btn.is-disabled:hover,
.candidate-ai-analysis-regenerate-btn:disabled:hover,
.candidate-ai-analysis-regenerate-btn[aria-disabled="true"]:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.candidate-ai-analysis-regenerate-reason {
    flex: 1 1 16rem;
    text-align: left;
    margin-left: 0;
    line-height: 1.35;
}

.candidate-ai-analysis-regenerate-toolbar .candidate-ai-analysis-regenerate-reason {
    flex: 1 1 20rem;
    min-width: 12rem;
}

.candidate-ai-analysis-regenerate-reason--available {
    display: inline-flex;
    align-items: center;
    min-height: 1.8rem;
    border: 1px solid #99f6e4;
    border-radius: 999px;
    background: #f0fdfa;
    color: #0f766e;
    padding: 0.2rem 0.65rem;
    font-weight: 750;
}

.candidate-ai-analysis-quota-help {
    align-self: center;
    min-height: 2rem;
}

.candidate-ai-analysis-regenerate-toolbar .candidate-ai-analysis-quota-help {
    min-height: 1.9rem;
    white-space: nowrap;
    margin-left: 0;
}

.ai-compare-analysis-modal .modal-content {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.ai-compare-analysis-modal .modal-body {
    background: #f8fafc;
}

.ai-compare-analysis-modal .candidate-ai-analysis-regenerate-row {
    display: none;
}

.tooltip.candidate-ai-analysis-quota-tooltip .tooltip-inner,
.candidate-ai-analysis-quota-tooltip .tooltip-inner {
    max-width: 320px;
    border: 1px solid rgba(11, 31, 68, 0.18);
    background: #0b1f44;
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.24);
    text-align: left;
}

.tooltip.candidate-ai-analysis-quota-tooltip {
    --bs-tooltip-opacity: 1;
    --bs-tooltip-bg: #0b1f44;
    --bs-tooltip-color: #ffffff;
}

.tooltip.candidate-ai-analysis-quota-tooltip[data-popper-placement^="top"] .tooltip-arrow::before,
.candidate-ai-analysis-quota-tooltip[data-popper-placement^="top"] .tooltip-arrow::before {
    border-top-color: #0b1f44;
}

.tooltip.candidate-ai-analysis-quota-tooltip[data-popper-placement^="bottom"] .tooltip-arrow::before,
.candidate-ai-analysis-quota-tooltip[data-popper-placement^="bottom"] .tooltip-arrow::before {
    border-bottom-color: #0b1f44;
}

.tooltip.candidate-ai-analysis-quota-tooltip[data-popper-placement^="start"] .tooltip-arrow::before,
.candidate-ai-analysis-quota-tooltip[data-popper-placement^="start"] .tooltip-arrow::before {
    border-left-color: #0b1f44;
}

.tooltip.candidate-ai-analysis-quota-tooltip[data-popper-placement^="end"] .tooltip-arrow::before,
.candidate-ai-analysis-quota-tooltip[data-popper-placement^="end"] .tooltip-arrow::before {
    border-right-color: #0b1f44;
}

@media (max-width: 767.98px) {
    .candidate-ai-analysis-regenerate-reason {
        flex-basis: 100%;
        text-align: left;
    }

    .candidate-ai-analysis-regenerate-toolbar {
        justify-content: flex-start;
        width: 100%;
    }
}

.candidate-stage-tabs-shell {
    position: relative;
    width: 100%;
}

.candidate-stage-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    margin: 0;
    padding-bottom: 0;
    border-bottom: 2px solid #2563eb;
    width: fit-content;
    max-width: 100%;
    margin-right: auto;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.candidate-stage-tabs::-webkit-scrollbar {
    display: none;
}

.candidate-stage-tabs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border: 1px solid #1d4ed8;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(29, 78, 216, 0.35);
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

.candidate-stage-tabs-nav[data-stage-tabs-nav="left"] {
    left: 0.25rem;
}

.candidate-stage-tabs-nav[data-stage-tabs-nav="right"] {
    right: 0.25rem;
}

.candidate-stage-tabs-shell.is-scrollable .candidate-stage-tabs-nav {
    opacity: 1;
    pointer-events: auto;
}

.candidate-stage-tabs-shell.is-scrollable .candidate-stage-tabs-nav:disabled,
.candidate-stage-tabs-shell.is-scrollable .candidate-stage-tabs-nav.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.candidate-stage-tabs-nav:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border-color: #1e40af;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.42);
}

.candidate-stage-tabs-nav:active {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    border-color: #1e3a8a;
    box-shadow: 0 5px 12px rgba(30, 64, 175, 0.35);
    transform: translateY(-50%) scale(0.97);
}

.candidate-stage-tabs-nav:disabled {
    opacity: 0;
    cursor: default;
    pointer-events: none;
}

.candidate-stage-tabs-nav.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.candidate-stage-tab {
    border: 1px solid #cbd5e1;
    border-bottom: none;
    background: #f8fafc;
    color: #334155;
    border-radius: 10px 10px 0 0;
    padding: 0.56rem 0.56rem 0.44rem;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.07);
    transition: all 0.2s ease;
}

.candidate-stage-tab:not(.active) {
    border-bottom-color: transparent;
}

.candidate-stage-tab:hover {
    background: #eff6ff;
    color: #1e3a8a;
    border-color: #93c5fd;
}

.candidate-stage-tab.active {
    background: #2563eb;
    color: #f8fafc;
    border-color: #2563eb;
    margin-bottom: -2px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
    position: relative;
    z-index: 2;
}

.candidate-stage-tab .badge {
    font-weight: 700;
}

.candidate-stage-tab .tab-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

.candidate-stage-tab.active .tab-count-badge {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.candidate-stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    background: var(--candidate-stage-badge-bg, #2563eb);
    color: var(--candidate-stage-badge-color, #fff);
    border: 1px solid var(--candidate-stage-badge-border, rgba(37, 99, 235, 0.25));
    border-radius: 999px;
    box-shadow: 0 10px 18px var(--candidate-stage-badge-shadow, rgba(37, 99, 235, 0.25));
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.candidate-stage-badge--with-tooltip {
    cursor: help;
}

.candidate-paused-badge,
.candidate-hiring-quota-badge,
.candidate-profile-score-badge,
.candidate-profile-updated-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0;
}

.candidate-paused-badge {
    color: #92400e;
    background: #fef3c7;
    border: 1px solid rgba(217, 119, 6, 0.28);
    cursor: help;
}

.candidate-profile-updated-badge {
    color: #334155;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.36);
}

@media (max-width: 1199.98px) {
    .kanban-stage-grid {
        grid-template-columns: repeat(var(--kanban-stage-columns-tablet, 1), minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .kanban-stage-reorder-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .kanban-stage-reorder-toolbar__actions {
        width: 100%;
    }

    .kanban-stage-reorder-toolbar__actions .btn {
        flex: 1 1 0;
    }

    .kanban-stage-grid {
        grid-template-columns: 1fr;
    }
}

.kanban-card-actions {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.kanban-card-actions .btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
}

.candidate-pin-btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.15rem;
    line-height: 1;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.candidate-pin-btn:hover {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
}

.candidate-pin-btn.is-active {
    color: #f59e0b;
}

.candidate-pin-btn.is-active:hover {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.16);
}

.kanban-card--compact {
    padding: 0.52rem 0.58rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    transform-origin: right top;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.kanban-board .kanban-column-body--stage .kanban-card--compact:nth-child(2n) {
    transform-origin: left top;
}

.kanban-card--compact:hover,
.kanban-card--compact:focus-within {
    z-index: 2;
}

.kanban-card--compact {
    border-color: rgba(var(--tl-primary-rgb), 0.45);
}

.kanban-card--compact:hover,
.kanban-card--compact:focus-within {
    border-color: rgba(var(--tl-primary-rgb), 0.45);
    background: #fff;
}

.kanban-card--compact .admin-gestion-avatar {
    width: 30px;
    height: 30px;
}

.candidate-card-compact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.28rem 0.5rem;
    align-items: start;
    position: relative;
}

.candidate-card-compact__main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    grid-column: 1 / 2;
}

.candidate-card-compact__identity {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.16rem;
}

.candidate-card-compact > .candidate-info-btn {
    grid-column: 2 / 3;
    grid-row: 1;
    align-self: start;
}

.kanban-card--compact:not(.candidate-card-hover-expanded) .candidate-info-btn {
    display: none;
}

.candidate-card-compact__name-row {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    min-width: 0;
    min-height: 1.4rem;
}

.candidate-card-compact__name {
    font-size: 0.94rem;
    font-weight: 750;
    line-height: 1.22;
    display: block;
    min-width: 0;
    flex: 1 1 auto;
}

.candidate-card-compact__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    margin-top: 0.18rem;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.2;
}

.candidate-card-compact__meta i {
    color: #94a3b8;
    font-size: 0.8rem;
}

.candidate-card-compact__preview {
    display: none;
}

.candidate-card-hover-expanded {
    position: fixed;
    margin: 0;
    opacity: 0;
    transform: translateY(-0.24rem) scale(0.98);
    transition: left 0.18s ease, top 0.18s ease, width 0.18s ease, opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    pointer-events: auto;
    z-index: 9000;
    background: #f8fbff;
    border-color: rgba(var(--tl-primary-rgb), 0.45);
}

.candidate-card-hover-expanded.is-expanded {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 24px 46px rgba(15, 23, 42, 0.26);
}

.candidate-card-hover-placeholder {
    visibility: hidden;
    pointer-events: none;
    box-shadow: none;
}

.candidate-card-hover-expanded .candidate-card-compact__name {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.candidate-hover-avatar-proxy {
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    flex: 0 0 auto;
}

.candidate-card-hover-expanded .candidate-card-compact__preview {
    display: grid;
    gap: 0.26rem;
    margin-top: 0.26rem;
    grid-column: 1 / -1;
}

.candidate-card-hover-expanded .candidate-card-compact__preview-primary,
.candidate-card-hover-expanded .candidate-card-compact__preview-role-secondary,
.candidate-card-hover-expanded .candidate-card-compact__preview-secondary {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.kanban-card--compact.is-hover-source {
    opacity: 1;
}

.candidate-card-compact__preview-primary {
    font-size: 0.76rem;
    line-height: 1.2;
    font-weight: 600;
    color: #0f172a;
}

.candidate-card-compact__preview-role-secondary {
    font-size: 0.68rem;
    line-height: 1.2;
    color: #475569;
}

.candidate-card-compact__preview-secondary {
    font-size: 0.68rem;
    line-height: 1.24;
    color: #64748b;
}

.candidate-card-compact__preview-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.22rem;
}

.candidate-card-compact__preview-pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.2rem;
    padding: 0.08rem 0.38rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1e3a8a;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    white-space: normal;
}

@media (max-width: 1199.98px) {
    .kanban-board .kanban-column-body--stage {
        grid-template-columns: minmax(0, 1fr);
    }

    .kanban-board .kanban-column-body--stage .kanban-card--compact:nth-child(2n) {
        transform-origin: right top;
    }
}

.candidate-rating {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.78rem;
    color: #f59e0b;
}

.kanban-card--compact .candidate-rating {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
}

.candidate-card-hover-expanded .candidate-rating {
    opacity: 1;
    visibility: visible;
    max-height: 2rem;
    overflow: visible;
    pointer-events: auto;
}

.candidate-card-hover-expanded .candidate-rating--readonly {
    pointer-events: none;
}

.candidate-rating--static,
.candidate-rating--compact-visible {
    opacity: 1;
    visibility: visible;
    max-height: none;
    overflow: visible;
    pointer-events: none;
}

.candidate-rating--compact-visible {
    margin-top: 0.3rem;
    font-size: 0.72rem;
}

.candidate-detail-rating {
    padding: 0.22rem 0.42rem;
    border: 1px solid rgba(245, 158, 11, 0.26);
    border-radius: 999px;
    background: #fff8eb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.candidate-detail-rating.is-disabled {
    opacity: 0.64;
}

.candidate-detail-rating .candidate-rating__star {
    width: 22px;
    height: 22px;
}

.candidate-rating__star {
    border: none;
    background: transparent;
    padding: 0;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.candidate-rating--readonly .candidate-rating__star {
    cursor: default;
}

.candidate-rating__star--static {
    width: auto;
    height: auto;
}

.candidate-rating__star--static::before {
    display: none;
}

.candidate-rating__star::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.18);
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
    transform: scale(0.85);
}

.candidate-card-hover-expanded .candidate-rating__star:hover::before,
.candidate-card-hover-expanded .candidate-rating__star:focus-visible::before,
.candidate-detail-rating .candidate-rating__star:hover::before,
.candidate-detail-rating .candidate-rating__star:focus-visible::before {
    opacity: 1;
    transform: scale(1);
}

.candidate-card-hover-expanded .candidate-rating--readonly .candidate-rating__star:hover::before,
.candidate-card-hover-expanded .candidate-rating--readonly .candidate-rating__star:focus-visible::before {
    opacity: 0;
    transform: scale(0.85);
}

.candidate-rating__star:focus-visible {
    outline: none;
}

.candidate-rating__star i {
    position: relative;
    line-height: 1;
    color: #f59e0b;
}

.candidate-rating i:not(.is-active) {
    color: #cbd5f5;
}

.candidate-info-btn {
    border: none;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.candidate-info-btn:hover {
    background: rgba(var(--tl-primary-rgb), 0.12);
    color: #0f172a;
}

.candidate-info-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--tl-primary-rgb), 0.25);
}

.candidate-detail-modal__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    flex-wrap: wrap;
    flex: 0 0 auto;
    margin: 0;
    padding: 0.85rem 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
    border-radius: 0;
}

.candidate-detail-modal__action-btn {
    min-height: 38px;
    padding: 0.52rem 0.88rem;
    border: 1px solid transparent;
    border-radius: 11px;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.18rem;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.07);
    transition: box-shadow 0.18s ease, filter 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
    text-decoration: none;
}

.candidate-detail-modal__action-btn,
.candidate-detail-modal__action-btn:hover,
.candidate-detail-modal__action-btn:focus,
.candidate-detail-modal__action-btn:focus-visible,
.candidate-detail-modal__action-btn:active,
.candidate-detail-modal__action-btn.active,
.candidate-detail-modal__action-btn.show {
    text-decoration: none;
}

.candidate-detail-modal__action-btn:hover,
.candidate-detail-modal__action-btn:focus,
.candidate-detail-modal__action-btn:focus-visible,
.candidate-detail-modal__action-btn:active,
.candidate-detail-modal__action-btn.active,
.candidate-detail-modal__action-btn.show {
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
    filter: none;
}

.candidate-detail-modal__action-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18), 0 14px 28px rgba(15, 23, 42, 0.14);
}

.candidate-detail-modal__action-btn--close {
    background: #f8fafc;
    border-color: rgba(148, 163, 184, 0.35);
    color: #334155;
}

.candidate-detail-modal__action-btn--close:focus,
.candidate-detail-modal__action-btn--close:hover,
.candidate-detail-modal__action-btn--close:focus-visible,
.candidate-detail-modal__action-btn--close:active,
.candidate-detail-modal__action-btn--close.active,
.candidate-detail-modal__action-btn--close.show {
    background: #e2e8f0;
    color: #0f172a;
    border-color: rgba(100, 116, 139, 0.5);
}

.candidate-detail-modal__action-btn--share {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-color: rgba(79, 70, 229, 0.24);
    color: #4338ca;
}

.candidate-detail-modal__action-btn--share:focus,
.candidate-detail-modal__action-btn--share:hover,
.candidate-detail-modal__action-btn--share:focus-visible,
.candidate-detail-modal__action-btn--share:active,
.candidate-detail-modal__action-btn--share.active,
.candidate-detail-modal__action-btn--share.show {
    background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
    color: #1e1b4b;
    border-color: rgba(79, 70, 229, 0.5);
}

.candidate-detail-modal__action-btn--cv {
    background: linear-gradient(135deg, #fff1f2, #ffe4e6);
    border-color: rgba(225, 29, 72, 0.18);
    color: #be123c;
}

.candidate-detail-modal__action-btn--cv:focus,
.candidate-detail-modal__action-btn--cv:hover,
.candidate-detail-modal__action-btn--cv:focus-visible,
.candidate-detail-modal__action-btn--cv:active,
.candidate-detail-modal__action-btn--cv.active,
.candidate-detail-modal__action-btn--cv.show {
    background: linear-gradient(135deg, #fecdd3, #fda4af);
    color: #881337;
    border-color: rgba(225, 29, 72, 0.44);
}

.candidate-detail-modal__action-btn--profile {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: rgba(29, 78, 216, 0.34);
    color: #ffffff;
}

.candidate-detail-modal__action-btn--profile:focus,
.candidate-detail-modal__action-btn--profile:hover,
.candidate-detail-modal__action-btn--profile:focus-visible,
.candidate-detail-modal__action-btn--profile:active,
.candidate-detail-modal__action-btn--profile.active,
.candidate-detail-modal__action-btn--profile.show {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    color: #ffffff;
    border-color: rgba(29, 78, 216, 0.58);
}

.candidate-detail-modal__action-btn--move {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-color: rgba(15, 23, 42, 0.42);
    color: #ffffff;
}

.candidate-detail-modal__action-btn--move:focus,
.candidate-detail-modal__action-btn--move:hover,
.candidate-detail-modal__action-btn--move:focus-visible,
.candidate-detail-modal__action-btn--move:active,
.candidate-detail-modal__action-btn--move.active,
.candidate-detail-modal__action-btn--move.show {
    background: linear-gradient(135deg, #1e293b, #475569);
    color: #ffffff;
    border-color: rgba(71, 85, 105, 0.62);
}

.candidate-detail-modal__action-btn--profile-refresh {
    background: linear-gradient(135deg, #0f766e, #115e59);
    border-color: rgba(15, 118, 110, 0.46);
    color: #ffffff;
}

.candidate-detail-modal__action-btn--profile-refresh:focus,
.candidate-detail-modal__action-btn--profile-refresh:hover,
.candidate-detail-modal__action-btn--profile-refresh:focus-visible,
.candidate-detail-modal__action-btn--profile-refresh:active {
    background: linear-gradient(135deg, #115e59, #134e4a);
    color: #ffffff;
    border-color: rgba(19, 78, 74, 0.62);
}

.candidate-detail-modal__action-btn--profile-refresh:disabled,
.candidate-detail-modal__action-btn--profile-refresh.is-disabled-soft {
    opacity: 0.58;
    cursor: not-allowed;
}

.tooltip.candidate-profile-refresh-tooltip,
.candidate-profile-refresh-tooltip {
    --bs-tooltip-bg: #0f172a;
    --bs-tooltip-color: #ffffff;
    --bs-tooltip-opacity: 1;
    --bs-tooltip-max-width: 300px;
    opacity: 1 !important;
    z-index: 1095;
}

.tooltip.candidate-profile-refresh-tooltip.show {
    opacity: 1 !important;
}

.tooltip.candidate-profile-refresh-tooltip .tooltip-inner,
.candidate-profile-refresh-tooltip .tooltip-inner {
    padding: 0.55rem 0.7rem;
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.28);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    opacity: 1 !important;
}

.tooltip.candidate-profile-refresh-tooltip .tooltip-arrow::before,
.candidate-profile-refresh-tooltip .tooltip-arrow::before {
    border-top-color: #0f172a !important;
    border-bottom-color: #0f172a !important;
    opacity: 1 !important;
}

.candidate-detail-modal__action-btn.dropdown-toggle::after {
    margin-left: 0.55rem;
}

.recent-application-card--compact {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 84px;
    color: inherit;
    text-decoration: none;
    background: #f8fbff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 25px 40px rgba(15, 23, 42, 0.08);
    cursor: pointer;
}

.recent-application-card--compact .candidate-card-compact {
    width: 100%;
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 0.85rem;
}

.recent-application-card--compact .candidate-card-compact__main {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.68rem;
}

.recent-application-card--compact .admin-gestion-avatar {
    width: 46px;
    height: 46px;
}

.recent-application-card--compact .candidate-card-compact__text {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.recent-application-card--compact__header {
    display: flex;
    align-items: center;
    min-width: 0;
    width: 100%;
}

.recent-application-card--compact__identity {
    flex: 1 1 auto;
    min-width: 0;
}

.recent-application-card--compact__date {
    margin-top: 0.22rem;
    white-space: nowrap;
    justify-content: flex-start;
    color: #475569;
    font-weight: 650;
}

.recent-application-card--compact__job {
    margin-top: 0.18rem;
    font-size: 0.79rem;
    font-weight: 600;
    color: #64748b;
    line-height: 1.25;
}

.recent-application-card--compact__date i {
    color: #64748b;
    font-size: 0.84rem;
    transform: translateY(0.02rem);
}

.recent-application-card--compact__match {
    grid-column: 2 / 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.65rem;
    min-height: 2.15rem;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    background: #eff6ff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 8px 18px rgba(15, 23, 42, 0.06);
    color: #1d4ed8;
    line-height: 1;
}

.recent-application-card--compact__match--strong {
    border-color: #86efac;
    background: #ecfdf5;
    color: #166534;
}

.recent-application-card--compact__match--medium {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.recent-application-card--compact__match--low {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.recent-application-card--compact__match strong {
    color: currentColor;
    font-size: 0.98rem;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
}

.recent-application-card--compact__vacancy-btn {
    grid-column: 2 / 3;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(var(--tl-primary-rgb), 0.22);
    background: #ffffff;
    color: var(--tl-primary);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.recent-application-card--compact__vacancy-btn:hover,
.recent-application-card--compact__vacancy-btn:focus-visible {
    color: var(--tl-primary-text);
    background: var(--tl-primary);
    border-color: var(--tl-primary);
    text-decoration: none;
    outline: none;
}

.recent-application-card--compact:hover {
    color: inherit;
    text-decoration: none;
    background: #ffffff;
    border-color: rgba(var(--tl-primary-rgb), 0.45);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

.recent-application-card--compact:focus-visible {
    outline: 3px solid rgba(var(--tl-primary-rgb), 0.28);
    outline-offset: 3px;
}

.candidate-card-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.candidate-move-group .dropdown-menu {
    min-width: 220px;
    padding: 0.35rem;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.16);
}

.candidate-move-group .candidate-move-menu.show {
    max-height: 220px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.candidate-move-group .dropdown-item {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.45rem 0.75rem;
}

.candidate-move-group .dropdown-item:hover,
.candidate-move-group .dropdown-item:focus {
    background: rgba(var(--tl-primary-rgb), 0.1);
}

.candidate-move-item--next {
    color: #0f172a;
}

.remote-countries-panel {
    background: #f8fafc;
}

.remote-countries-toolbar {
    position: relative;
}

.remote-countries-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
    padding: 0.75rem;
    z-index: 30;
    display: none;
}

.remote-countries-dropdown.is-open {
    display: block;
}

.remote-countries-search {
    position: relative;
}

.remote-countries-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.remote-countries-search .form-control {
    padding-left: 2.25rem;
}

.remote-countries-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
    max-height: 260px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.remote-countries-option {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 10px;
    background: #fff;
    padding: 0.5rem 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    text-align: left;
    transition: background 0.18s ease, border-color 0.18s ease;
    cursor: pointer;
}

.remote-countries-option:hover,
.remote-countries-option:focus {
    background: #eff6ff;
    border-color: rgba(59, 130, 246, 0.35);
    outline: none;
}

.remote-countries-option.is-selected {
    background: #ecfeff;
    border-color: rgba(6, 182, 212, 0.35);
}

.remote-countries-option.is-active {
    background: #dbeafe;
    border-color: rgba(37, 99, 235, 0.45);
}

.remote-countries-option-name {
    color: #0f172a;
    font-weight: 600;
}

.remote-countries-option-code {
    margin-left: auto;
    color: #64748b;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.remote-countries-empty {
    font-size: 0.85rem;
    color: #64748b;
    padding: 0.5rem 0.25rem 0.25rem;
}

.remote-countries-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.remote-countries-selected-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 10px;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    min-height: 36px;
}

.remote-countries-selected-label {
    white-space: nowrap;
}

.candidate-hiring-quota-badge {
    background: #ecfeff;
    border: 1px solid rgba(46, 196, 182, 0.34);
    color: #0f766e;
    box-shadow: 0 8px 16px rgba(46, 196, 182, 0.12);
}

.candidate-hiring-quota-badge.is-complete {
    background: #fff7ed;
    border-color: rgba(249, 115, 22, 0.35);
    color: #c2410c;
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.12);
}

.candidate-profile-score-badge {
    background: #eff6ff;
    border: 1px solid rgba(37, 99, 235, 0.24);
    color: #0f2a5f;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.1);
}

.candidate-profile-score-badge strong {
    color: #1d4ed8;
    font-size: 0.82rem;
}

.remote-countries-selected-code {
    font-size: 0.72rem;
    color: #64748b;
    letter-spacing: 0.04em;
}

.remote-countries-remove {
    margin-left: 0.15rem;
    border: none;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remote-countries-remove:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
}

/* Job questions layout */
[data-questions-list]:not(:empty) {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 1200px) {
    [data-questions-list]:not(:empty) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.question-card {
    height: 100%;
}

.phone-input-group.is-empty .phone-dial {
    color: #94a3b8;
    font-weight: 500;
}

/* Employer users */
.users-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.users-header .badge {
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-weight: 600;
}

.users-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
    margin-left: auto;
}

.users-header-actions .btn {
    white-space: nowrap;
}

.admin-search-inline,
.admin-gestion-search,
.admin-gestion-search-form .global-search-inline,
.global-search-inline,
.users-search .input-group,
.skill-search,
.icon-catalog-search,
.catalog-search,
.icon-picker-search {
    --search-font-size: 0.875rem;
    --search-height: 38px;
    --search-border: #ced4da;
    --search-border-hover: #ced4da;
    --search-border-focus: #ced4da;
    --search-bg: #fff;
    --search-bg-focus: #fff;
    --search-icon-bg: #fff;
    --search-icon-color: #495057;
    --search-icon-hover-bg: #e9ecef;
    --search-icon-hover-color: #212529;
    --search-icon-width: 40px;
    --search-radius-left: 0.375rem;
    --search-radius-right: 0.375rem;
    --search-shadow: none;
    --search-ring: transparent;
    --search-placeholder: #6c757d;
    display: inline-flex;
    align-items: stretch;
    flex-wrap: nowrap;
    width: min(100%, 420px);
    min-width: 220px;
    position: relative;
}

.admin-search-inline .form-control,
.admin-gestion-search .form-control,
.global-search-inline .form-control,
.admin-gestion-search-form .global-search-inline .form-control,
.users-search .input-group .form-control,
.skill-search .form-control,
.icon-catalog-search .form-control,
.catalog-search .form-control,
.icon-picker-search .form-control {
    height: var(--search-height);
    min-height: var(--search-height);
    border: 1px solid var(--search-border);
    border-radius: var(--search-radius-left) 0 0 var(--search-radius-left);
    box-shadow: var(--search-shadow);
    color: #0f172a;
    background-color: var(--search-bg);
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
    font-size: var(--search-font-size);
    box-sizing: border-box;
}

.admin-search-inline .form-control,
.admin-gestion-search .form-control,
.global-search-inline .form-control,
.admin-gestion-search-form .global-search-inline .form-control,
.users-search .input-group .form-control,
.skill-search .form-control,
.icon-catalog-search .form-control,
.catalog-search .form-control,
.icon-picker-search .form-control {
    flex: 1;
    min-width: 0;
    border-right: 0;
    border-radius: var(--search-radius-left) 0 0 var(--search-radius-left);
    padding-right: 0.7rem;
}

.admin-search-inline .admin-search-icon-btn,
.global-search-inline .admin-search-icon-btn,
.admin-gestion-search-form .global-search-inline .admin-search-icon-btn,
.users-search .input-group .admin-search-icon-btn,
.skill-search .admin-search-icon-btn,
.icon-catalog-search .admin-search-icon-btn,
.catalog-search .admin-search-icon-btn,
.icon-picker-search .admin-search-icon-btn {
    width: var(--search-icon-width);
    flex: 0 0 var(--search-icon-width);
    border-left: 0;
    border-radius: 0 var(--search-radius-right) var(--search-radius-right) 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--search-icon-bg);
    color: var(--search-icon-color);
    line-height: 1;
    font-size: var(--search-font-size);
    border: 1px solid var(--search-border);
    -webkit-appearance: none;
    appearance: none;
}

.admin-search-inline .input-group-text,
.global-search-inline .input-group-text,
.catalog-search .input-group-text,
.icon-picker-search .input-group-text {
    flex: 0 0 var(--search-icon-width);
    min-width: var(--search-icon-width);
    height: var(--search-height);
    border-left: 0;
    border-radius: 0 var(--search-radius-right) var(--search-radius-right) 0;
    color: #64748b;
    background: var(--search-bg);
    border-top: 1px solid var(--search-border);
    border-right: 1px solid var(--search-border);
    border-bottom: 1px solid var(--search-border);
    justify-content: center;
    align-items: center;
    display: inline-flex;
}

.admin-search-inline:hover .form-control,
.admin-search-inline:hover .admin-search-icon-btn,
.global-search-inline:hover .form-control,
.global-search-inline:hover .admin-search-icon-btn,
.admin-gestion-search:hover .form-control,
.admin-gestion-search:hover .admin-search-icon-btn,
.users-search .input-group:hover .form-control,
.users-search .input-group:hover .admin-search-icon-btn,
.catalog-search:hover .form-control,
.catalog-search:hover .admin-search-icon-btn,
.icon-catalog-search:hover .form-control,
.icon-catalog-search:hover .admin-search-icon-btn,
.skill-search:hover .form-control,
.skill-search:hover .admin-search-icon-btn,
.icon-picker-search:hover .form-control,
.icon-picker-search:hover .admin-search-icon-btn {
    border-color: var(--search-border-hover);
}

.admin-search-inline .admin-search-icon-btn:hover:not(:disabled),
.admin-search-inline .admin-search-icon-btn:focus-visible,
.global-search-inline .admin-search-icon-btn:hover:not(:disabled),
.global-search-inline .admin-search-icon-btn:focus-visible,
.admin-gestion-search .admin-search-icon-btn:hover:not(:disabled),
.admin-gestion-search .admin-search-icon-btn:focus-visible,
.skill-search .admin-search-icon-btn:hover:not(:disabled),
.skill-search .admin-search-icon-btn:focus-visible,
.icon-catalog-search .admin-search-icon-btn:hover:not(:disabled),
.icon-catalog-search .admin-search-icon-btn:focus-visible,
.catalog-search .admin-search-icon-btn:hover:not(:disabled),
.catalog-search .admin-search-icon-btn:focus-visible,
.users-search .input-group .admin-search-icon-btn:hover:not(:disabled),
.users-search .input-group .admin-search-icon-btn:focus-visible,
.icon-picker-search .admin-search-icon-btn:hover:not(:disabled),
.icon-picker-search .admin-search-icon-btn:focus-visible {
    background: var(--search-icon-hover-bg);
    color: var(--search-icon-hover-color);
    border-color: var(--search-border-hover);
}

.admin-search-inline .form-control:focus,
.admin-search-inline .form-control:focus-visible,
.admin-search-inline .admin-search-icon-btn:focus-visible,
.global-search-inline .form-control:focus,
.global-search-inline .form-control:focus-visible,
.global-search-inline .admin-search-icon-btn:focus-visible,
.admin-gestion-search .form-control:focus,
.admin-gestion-search .form-control:focus-visible,
.admin-gestion-search .admin-search-icon-btn:focus-visible,
.users-search .input-group .form-control:focus,
.users-search .input-group .form-control:focus-visible,
.users-search .input-group .admin-search-icon-btn:focus-visible,
.catalog-search .form-control:focus,
.catalog-search .form-control:focus-visible,
.catalog-search .admin-search-icon-btn:focus-visible,
.skill-search .form-control:focus,
.skill-search .form-control:focus-visible,
.skill-search .admin-search-icon-btn:focus-visible,
.icon-catalog-search .form-control:focus,
.icon-catalog-search .form-control:focus-visible,
.icon-catalog-search .admin-search-icon-btn:focus-visible,
.icon-picker-search .form-control:focus,
.icon-picker-search .form-control:focus-visible,
.icon-picker-search .admin-search-icon-btn:focus-visible {
    border-color: var(--search-border-focus);
    box-shadow: 0 0 0 0.16rem var(--search-ring);
    z-index: 2;
    background: var(--search-bg-focus);
}

.admin-search-inline .form-control::placeholder,
.admin-gestion-search .form-control::placeholder,
.global-search-inline .form-control::placeholder,
.users-search .input-group .form-control::placeholder,
.catalog-search .form-control::placeholder,
.skill-search .form-control::placeholder,
.icon-catalog-search .form-control::placeholder,
.icon-picker-search .form-control::placeholder {
    color: var(--search-placeholder);
    opacity: 1;
}

.admin-search-inline .spinner-border,
.global-search-inline .spinner-border,
.admin-gestion-search .spinner-border,
.catalog-search .spinner-border,
.skill-search .spinner-border,
.icon-catalog-search .spinner-border,
.icon-picker-search .spinner-border,
.users-search .input-group .spinner-border {
    width: 0.82rem;
    height: 0.82rem;
}

.admin-search-inline .admin-search-icon-btn[disabled],
.global-search-inline .admin-search-icon-btn[disabled],
.admin-gestion-search .admin-search-icon-btn[disabled],
.users-search .input-group .admin-search-icon-btn[disabled],
.catalog-search .admin-search-icon-btn[disabled],
.skill-search .admin-search-icon-btn[disabled],
.icon-catalog-search .admin-search-icon-btn[disabled],
.icon-picker-search .admin-search-icon-btn[disabled] {
    pointer-events: none;
    opacity: 0.55;
}

.admin-search-inline .admin-search-icon-btn i,
.global-search-inline .admin-search-icon-btn i,
.users-search .input-group .admin-search-icon-btn i,
.catalog-search .admin-search-icon-btn i,
.skill-search .admin-search-icon-btn i,
.icon-catalog-search .admin-search-icon-btn i,
.icon-picker-search .admin-search-icon-btn i {
    width: 1em;
    text-align: center;
}

.admin-search-inline--loading .admin-search-icon-btn,
.admin-gestion-search--loading .admin-search-icon-btn,
.global-search-inline--loading .admin-search-icon-btn,
.users-search--loading .input-group .admin-search-icon-btn,
.skill-search--loading .admin-search-icon-btn,
.icon-catalog-search--loading .admin-search-icon-btn,
.catalog-search--loading .admin-search-icon-btn,
.icon-picker-search--loading .admin-search-icon-btn {
    background: var(--search-icon-hover-bg);
}

.admin-search-inline .input-group-text,
.global-search-inline .input-group-text,
.catalog-search .input-group-text,
.icon-picker-search .input-group-text {
    flex: 0 0 var(--search-icon-width);
    min-width: var(--search-icon-width);
    height: var(--search-height);
    border-left: 0;
    border-radius: 0 var(--search-radius-right) var(--search-radius-right) 0;
    color: #6c757d;
    background: var(--search-bg);
    border-top: 1px solid var(--search-border);
    border-right: 1px solid var(--search-border);
    border-bottom: 1px solid var(--search-border);
    justify-content: center;
    align-items: center;
    display: inline-flex;
}

@media (max-width: 991.98px) {
    .users-header {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .users-header-actions {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .users-search {
        width: 100%;
        justify-content: flex-end;
    }

    .users-search .input-group {
        width: 100%;
    }
}

.question-add-card {
    width: 100%;
    border: 2px dashed rgba(var(--tl-primary-rgb), 0.35);
    background: rgba(var(--tl-primary-rgb), 0.08);
    color: #0f172a;
    border-radius: 14px;
    padding: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.question-add-card:hover {
    border-color: rgba(var(--tl-primary-rgb), 0.6);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.question-add-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0f172a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

#candidateModal .modal-dialog,
.public-share-candidate-modal.modal-dialog {
    --bs-modal-margin: 0.5rem;
    max-height: calc(100vh - 2.5rem);
}

#candidateModal .modal-content,
.public-share-candidate-modal .modal-content {
    max-height: calc(100vh - 2.5rem);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#candidateModal form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

#candidateModal .modal-content,
.public-share-candidate-modal .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#candidateModal .modal-body,
.public-share-candidate-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
}

#candidateModal .candidate-detail-modal__body,
.public-share-candidate-modal .candidate-detail-modal__body {
    border-radius: 0 !important;
    background: transparent;
}

#candidateModal .modal-body > .candidate-detail-layout,
.public-share-candidate-modal .modal-body > .candidate-detail-layout {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    min-height: min(38rem, calc(100vh - 9.5rem));
}

#candidateModal .modal-dialog-scrollable,
.public-share-candidate-modal.modal-dialog-scrollable {
    height: calc(100vh - 2.5rem);
}

#candidateModal .modal-dialog-scrollable .modal-body,
.public-share-candidate-modal.modal-dialog-scrollable .modal-body {
    overflow: hidden;
}

#candidateModal .profile-score-item__hint {
    display: none;
}

.candidate-detail-field {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 0.65rem 0.78rem;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.candidate-detail-field--wide {
    min-height: 82px;
}

.candidate-detail-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 2.2fr) minmax(360px, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 0;
    margin: 0;
    align-items: stretch;
    min-height: 0;
    height: 100%;
    min-width: 0;
    width: 100%;
    flex: 1 1 auto;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    overflow: hidden;
    flex-wrap: nowrap;
}

.candidate-detail-layout--split-panels {
    min-height: min(42rem, calc(100vh - 2.5rem));
    background: #ffffff;
}

.candidate-detail-main,
.candidate-detail-side {
    display: flex;
    min-height: 0;
    min-width: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    align-self: stretch;
}

.candidate-detail-main {
    flex-direction: column;
    overflow-y: auto;
    padding: 0 1rem 0.9rem 0.9rem;
    overscroll-behavior: contain;
    scroll-padding-bottom: 1.25rem;
}

.candidate-detail-main--panelized {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-right: 1px solid rgba(15, 23, 42, 0.08);
}

.candidate-detail-layout--panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(20rem, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
        "main-header side-header"
        "main-content side-content";
    gap: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.candidate-detail-layout--panel-grid > .candidate-detail-panel-header {
    align-self: stretch;
}

.candidate-detail-layout--panel-grid > .candidate-detail-panel-header--main {
    grid-area: main-header;
}

.candidate-detail-layout--panel-grid > .candidate-detail-panel-header--side {
    grid-area: side-header;
}

.candidate-detail-layout--panel-grid > .candidate-detail-main--grid-cell {
    grid-area: main-content;
    min-width: 0;
    min-height: 0;
}

.candidate-detail-layout--panel-grid > .candidate-detail-side--grid-cell {
    grid-area: side-content;
    min-width: 0;
    min-height: 0;
}

.candidate-detail-panel-header {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 0.82rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    flex: 0 0 auto;
}

.candidate-detail-panel-header--main {
    justify-content: flex-start;
    gap: 0.9rem;
}

.candidate-detail-panel-header--side {
    position: relative;
    justify-content: space-between;
    gap: 0.75rem;
    padding-right: 3.8rem;
    border-left: 1px solid rgba(15, 23, 42, 0.08);
}

.candidate-detail-panel-header__nav {
    flex: 0 0 auto;
}

.candidate-detail-panel-header__avatar {
    flex: 0 0 auto;
}

.candidate-detail-panel-header__photo {
    width: 4.65rem;
    height: 4.65rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
    background: #f8fafc;
}

.candidate-detail-panel-header__identity {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.28rem;
    flex: 1 1 auto;
}

.candidate-detail-panel-header__identity--rich {
    align-self: center;
}

.candidate-detail-panel-header__identity .modal-title {
    min-width: 0;
    color: #111827;
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.candidate-detail-panel-header__role {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 650;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.candidate-detail-panel-header__meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    min-width: 0;
}

.candidate-detail-panel-header__vacancy {
    display: grid;
    gap: 0.22rem;
    flex: 0 1 15rem;
    min-width: 11rem;
    margin-left: auto;
}

.candidate-detail-panel-header__vacancy-label {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.candidate-detail-vacancy-select {
    min-height: 2.25rem;
    background-color: #ffffff;
}

.candidate-detail-contact-menu {
    flex: 0 0 auto;
    align-self: center;
}

.candidate-detail-contact-menu__toggle {
    min-height: 2.3rem;
    border-radius: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.candidate-detail-contact-menu__toggle.is-empty,
.candidate-detail-contact-menu__toggle:disabled {
    opacity: 0.58;
}

.candidate-detail-contact-menu__menu {
    min-width: 19rem;
    max-width: min(24rem, calc(100vw - 2rem));
    padding: 0.45rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
    overflow: visible;
}

.candidate-detail-contact-menu__menu.show {
    overflow: visible;
}

.candidate-detail-contact-menu__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.9rem;
    padding: 0.48rem 0.62rem;
    border-radius: 10px;
    color: #0f172a;
}

.candidate-detail-contact-menu__action-group {
    position: relative;
}

.candidate-detail-contact-menu__item--has-actions {
    width: 100%;
    border: 0;
    text-align: left;
    background: transparent;
}

.candidate-detail-contact-menu__item:hover,
.candidate-detail-contact-menu__item:focus {
    background: #eff6ff;
    color: #0f2a5f;
}

.candidate-detail-contact-menu__icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
}

.candidate-detail-contact-menu__text {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
    flex: 1 1 auto;
}

.candidate-detail-contact-menu__chevron {
    color: #94a3b8;
    font-size: 0.74rem;
    margin-left: auto;
}

.candidate-detail-contact-menu__actions {
    position: fixed;
    top: var(--candidate-contact-flyout-top, 0);
    left: var(--candidate-contact-flyout-left, 0);
    z-index: 2147483000;
    width: 12.75rem;
    display: none;
    padding: 0.38rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.candidate-detail-contact-menu__action-group.is-open .candidate-detail-contact-menu__actions,
.candidate-detail-contact-menu__actions.is-floating {
    display: grid;
    gap: 0.24rem;
}

.candidate-detail-contact-menu__action {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.35rem;
    padding: 0.42rem 0.5rem;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #0f172a;
    text-align: left;
    text-decoration: none;
}

.candidate-detail-contact-menu__action:hover,
.candidate-detail-contact-menu__action:focus {
    background: #f1f5f9;
    color: #0f2a5f;
}

.candidate-detail-contact-menu__action > span:first-child {
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
}

.candidate-detail-contact-menu__action strong,
.candidate-detail-contact-menu__action small {
    display: block;
    line-height: 1.08;
}

.candidate-detail-contact-menu__action strong {
    font-size: 0.78rem;
    font-weight: 850;
}

.candidate-detail-contact-menu__action small {
    margin-top: 0.12rem;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
}

.candidate-detail-contact-menu__action--whatsapp > span:first-child {
    background: #dcfce7;
    color: #15803d;
}

.candidate-detail-contact-menu__action--phone > span:first-child {
    background: #ecfdf5;
    color: #047857;
}

.candidate-detail-contact-menu__action--phone-copy > span:first-child {
    background: #f8fafc;
    color: #475569;
}

.candidate-detail-contact-menu__label {
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 850;
    line-height: 1.1;
}

.candidate-detail-contact-menu__detail {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.1;
}

.candidate-detail-contact-menu__value {
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 750;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.candidate-profile-contact-compact__item--phone .candidate-detail-contact-menu__icon {
    background: #ecfdf5;
    color: #047857;
}

.candidate-profile-contact-compact__item--phone-actions .candidate-detail-contact-menu__icon {
    background: #ecfdf5;
    color: #047857;
}

.candidate-profile-contact-compact__item--whatsapp .candidate-detail-contact-menu__icon {
    background: #dcfce7;
    color: #15803d;
}

.candidate-profile-contact-compact__item--emergency .candidate-detail-contact-menu__icon {
    background: #fff7ed;
    color: #c2410c;
}

@media (max-width: 575.98px) {
    .candidate-detail-contact-menu__actions {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        margin-top: 0.25rem;
        box-shadow: none;
        background: #f8fafc;
    }

    .candidate-detail-contact-menu__chevron i {
        transform: rotate(90deg);
    }
}

.candidate-detail-panel-body--main {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    height: auto;
    overflow-y: auto;
    padding: 0.95rem 1rem 3rem 0.95rem;
    overscroll-behavior: contain;
    scroll-padding-bottom: 5.2rem;
}

.candidate-detail-panel-body--main:has(.candidate-embedded-profile__block--sticky-head) {
    padding-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.candidate-detail-panel-body--main:has(.candidate-embedded-profile__block--sticky-head) .candidate-embedded-profile,
.candidate-detail-panel-body--main.candidate-embedded-profile:has(.candidate-embedded-profile__block--sticky-head),
.candidate-detail-panel-body--main:has(.candidate-embedded-profile__block--sticky-head) .candidate-embedded-profile__content,
.candidate-detail-panel-body--main:has(.candidate-embedded-profile__block--sticky-head) .candidate-embedded-profile__block--sticky-head.card {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

#candidateModal .candidate-embedded-profile__block--sticky-head,
.public-share-candidate-modal .candidate-embedded-profile__block--sticky-head {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.candidate-detail-side-heading {
    min-width: 0;
}

.candidate-detail-side-heading h5 {
    min-width: 0;
    color: #111827;
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.candidate-detail-side-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-height: 2.25rem;
    padding: 0.42rem 0.72rem;
    border: 1px solid rgba(15, 42, 95, 0.12);
    border-radius: 12px;
    background: #ffffff;
    color: #0f2a5f;
    font-size: 0.84rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.candidate-detail-side-filter-btn span {
    display: inline;
}

.candidate-detail-side-filter-btn:hover,
.candidate-detail-side-filter-btn:focus-visible,
.candidate-detail-side-filter-btn.is-active {
    background: #e7f8f6;
    border-color: rgba(46, 196, 182, 0.34);
    color: #0b1f44;
    box-shadow: 0 12px 24px rgba(15, 42, 95, 0.11);
}

.candidate-detail-side-filter-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.18), 0 12px 24px rgba(15, 42, 95, 0.11);
}

.candidate-detail-floating-actions-zone {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 5rem;
    padding: 0 1rem 1.05rem;
    pointer-events: auto;
    opacity: 0.98;
    transform: none;
}

.candidate-detail-floating-actions-zone:hover,
.candidate-detail-floating-actions-zone:focus-within {
    opacity: 1;
}

.candidate-detail-floating-actions {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    max-width: min(100%, 44rem);
    padding: 0.62rem 0.66rem 0.58rem;
    border: 1px solid rgba(15, 23, 42, 0.5);
    border-radius: 18px 18px 20px 20px;
    background: #ffffff;
    box-shadow:
        0 -1px 0 rgba(15, 23, 42, 0.08) inset,
        0 4px 12px rgba(15, 23, 42, 0.12),
        0 24px 64px rgba(15, 23, 42, 0.24);
    backdrop-filter: blur(16px);
    transform: translateY(86%);
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.candidate-detail-floating-actions-zone:hover .candidate-detail-floating-actions,
.candidate-detail-floating-actions-zone:focus-within .candidate-detail-floating-actions,
.candidate-detail-floating-actions:has(.candidate-move-menu.show) {
    transform: translateY(0);
}

.candidate-detail-floating-actions::before {
    content: '';
    position: absolute;
    top: 0.28rem;
    left: 50%;
    width: 3.8rem;
    height: 0.22rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.22);
    transform: translateX(-50%);
}

.candidate-detail-floating-actions .candidate-detail-modal__action-btn {
    width: 4.7rem;
    min-height: 3.35rem;
    margin-top: 0.18rem;
    padding: 0.42rem 0.34rem 0.38rem;
    border-color: transparent;
    border-radius: 12px;
    background: transparent;
    color: #0f172a;
    box-shadow: none;
    font-size: 0.66rem;
    line-height: 1.05;
    letter-spacing: 0;
    display: inline-flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.22rem;
    text-align: center;
    white-space: normal;
}

.candidate-detail-floating-actions .candidate-detail-modal__action-btn:hover,
.candidate-detail-floating-actions .candidate-detail-modal__action-btn:focus-visible,
.candidate-detail-floating-actions .candidate-detail-modal__action-btn.show {
    background: #f8fafc;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.18);
    box-shadow: none;
}

.candidate-detail-floating-actions .candidate-detail-modal__action-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.16);
}

.candidate-detail-floating-actions .candidate-detail-modal__action-btn i {
    margin-right: 0 !important;
    font-size: 1.1rem;
    line-height: 1;
    color: #0f172a;
}

.candidate-detail-floating-actions .candidate-detail-modal__action-btn.dropdown-toggle::after {
    position: absolute;
    top: 0.46rem;
    right: 0.48rem;
    margin-left: 0;
    font-size: 0.58rem;
}

.candidate-detail-floating-actions .candidate-move-group {
    display: inline-flex;
}

.candidate-detail-floating-actions .candidate-move-menu {
    z-index: 20;
}

.candidate-detail-main-stack {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 0;
}

.candidate-detail-main-stack > * {
    flex: 0 0 auto;
}

.candidate-detail-main-section {
    min-width: 0;
}

.candidate-uploaded-cv-viewer {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.candidate-uploaded-cv-viewer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
}

.candidate-uploaded-cv-viewer__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.candidate-uploaded-cv-viewer__zoom .btn {
    min-width: 2.25rem;
}

.candidate-uploaded-cv-viewer__zoom-value {
    min-width: 4rem !important;
    color: #334155 !important;
    background: #ffffff !important;
    opacity: 1 !important;
}

#candidateUploadedCvSection .app-document-preview-surface,
#candidateUploadedCvSection .candidate-uploaded-cv-accordion__frame,
[data-candidate-uploaded-cv-embedded] .app-document-preview-surface,
[data-candidate-uploaded-cv-embedded] .candidate-uploaded-cv-accordion__frame {
    min-height: calc(100vh - 14rem);
}

#candidateUploadedCvSection .candidate-uploaded-cv-accordion__frame,
[data-candidate-uploaded-cv-embedded] .candidate-uploaded-cv-accordion__frame {
    height: calc(100vh - 14rem);
    max-height: none;
    overflow: auto;
}

.candidate-uploaded-cv-accordion__frame {
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.candidate-uploaded-cv-zoom-stage {
    --candidate-cv-zoom-scale: 1;
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    overflow: visible;
}

.candidate-uploaded-cv-accordion__frame .app-document-preview-iframe {
    flex: 0 0 auto;
    width: 100%;
    height: 100%;
    max-width: none;
    transform: scale(var(--candidate-cv-zoom-scale));
    transform-origin: top left;
    will-change: transform;
}

.candidate-embedded-profile .candidate-uploaded-cv-section {
    width: 100%;
}

@media (max-width: 991.98px) {
    #candidateUploadedCvSection .app-document-preview-surface,
    #candidateUploadedCvSection .candidate-uploaded-cv-accordion__frame,
    [data-candidate-uploaded-cv-embedded] .app-document-preview-surface,
    [data-candidate-uploaded-cv-embedded] .candidate-uploaded-cv-accordion__frame {
        min-height: calc(100vh - 14rem);
    }

    #candidateUploadedCvSection .candidate-uploaded-cv-accordion__frame,
    [data-candidate-uploaded-cv-embedded] .candidate-uploaded-cv-accordion__frame {
        height: calc(100vh - 14rem);
    }

    .candidate-uploaded-cv-viewer__header {
        align-items: flex-start;
        flex-direction: column;
    }
}

.candidate-embedded-profile {
    --candidate-embed-radius: 16px;
    --candidate-embed-block-radius: 12px;
    --candidate-embed-gap: 0.75rem;
    --candidate-embed-padding: 0.75rem;
    min-height: 16rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--candidate-embed-radius);
    background: #f8fafc;
    background-clip: padding-box;
    padding: 0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    overflow: visible;
}

#candidateProfileEmbed {
    border-top: 0 !important;
}

.candidate-detail-panel-body--main.candidate-embedded-profile {
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-bottom: 5.2rem;
}

.candidate-detail-panel-body--main.candidate-embedded-profile .candidate-embedded-profile__content {
    padding-bottom: 3rem;
}

.candidate-detail-profile-updated-row {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    max-width: calc(100% - 1.5rem);
    margin: 0.75rem 0.75rem 0;
    padding: 0.4rem 0.62rem;
    border: 1px solid rgba(46, 196, 182, 0.24);
    border-radius: 999px;
    background: #e7f8f6;
    color: #0f766e;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
}

.candidate-detail-profile-updated-row i {
    color: #22afa3;
}

.candidate-detail-profile-updated-row time {
    color: #475569;
    font-weight: 750;
}

.candidate-embedded-profile__state {
    min-height: 14rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1rem;
    text-align: center;
    color: #64748b;
    font-size: 0.92rem;
}

.candidate-embedded-profile__state.is-error,
.candidate-embedded-profile__state.is-restricted {
    color: #475569;
}

.candidate-embedded-profile__content {
    display: flex;
    flex-direction: column;
    gap: var(--candidate-embed-gap);
    padding: var(--candidate-embed-padding);
    background: #f8fafc;
    border-radius: calc(var(--candidate-embed-radius) - 1px);
    background-clip: padding-box;
}

#candidateProfileEmbedContent {
    border-top: 0 !important;
}

.candidate-embedded-profile__content--has-sticky-head {
    padding-top: 0;
}

.candidate-detail-overview-strip {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.candidate-detail-overview-strip__items {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.7rem;
}

.candidate-detail-overview-strip__item {
    flex: 0 1 auto;
    justify-content: flex-start;
    width: auto;
    max-width: 100%;
    min-height: 2.6rem;
    padding: 0.48rem 0.72rem;
    border: 1px solid rgba(15, 42, 95, 0.08);
    border-radius: 9px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
    color: #344054;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.15;
    white-space: normal;
}

.candidate-detail-overview-strip__item i {
    color: #0f2a5f;
}

.candidate-detail-overview-strip__item--current-employee {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    text-align: center;
}

.candidate-detail-overview-strip__items .candidate-detail-profile-updated-row {
    width: auto;
    max-width: 100%;
    margin: 0;
}

.candidate-detail-media-trio {
    min-width: 0;
}

.candidate-detail-media-trio__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.candidate-detail-media-trio__card {
    min-width: 0;
    min-height: 100%;
    padding: 0.9rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.candidate-detail-media-trio__card .ratio {
    margin-bottom: 0.45rem !important;
}

.candidate-detail-media-trio__card .candidate-company-copy-card {
    max-height: none;
    overflow: visible;
}

.candidate-detail-media-trio__card .candidate-summary-free-text {
    color: #475569;
    line-height: 1.5;
}

.candidate-detail-attachment-list {
    display: grid;
    gap: 0.5rem;
}

.candidate-detail-attachment-action {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.48rem 0.58rem;
    border: 1px solid rgba(15, 42, 95, 0.1);
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none;
}

.candidate-detail-attachment-action:hover,
.candidate-detail-attachment-action:focus-visible {
    background: #e7f8f6;
    border-color: rgba(46, 196, 182, 0.32);
    color: #0f2a5f;
    text-decoration: none;
}

.candidate-detail-attachment-action i {
    color: #dc2626;
    font-size: 1rem;
}

@media (max-width: 767.98px) {
    .candidate-modal-header {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: flex-start;
    }

    .candidate-modal-header--with-center {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .candidate-modal-header__center {
        position: static;
        transform: none;
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
    }

    .candidate-modal-header__title {
        grid-column: 1;
        grid-row: 2;
    }

    .candidate-modal-header__actions {
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-end;
    }

    .candidate-detail-modal__navigator {
        width: 100%;
        justify-content: space-between;
    }

    .candidate-detail-modal__nav-btn {
        flex: 1 1 0;
    }

    .candidate-side-tabs-toolbar {
        flex: 1 1 100%;
        min-width: 0;
    }
}

.candidate-embedded-profile__block {
    margin: 0 !important;
    min-width: 0;
}

.candidate-embedded-profile__block--sticky-head {
    border-top: 0 !important;
    position: sticky;
    top: 0;
    z-index: 6;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
    will-change: opacity, transform;
}

.candidate-embedded-profile__block--sticky-head-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.35rem);
    visibility: hidden;
}

.candidate-embedded-profile .candidate-embedded-profile__block.card,
.candidate-embedded-profile .candidate-embedded-profile__block.row {
    width: 100%;
}

.candidate-embedded-profile .candidate-embedded-profile__block.card {
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: var(--candidate-embed-block-radius) !important;
    box-shadow: none !important;
    overflow: hidden;
}

.candidate-embedded-profile .candidate-embedded-profile__block.card.candidate-embedded-profile__block--sticky-head {
    border-top: 0 !important;
}

.candidate-embedded-profile .candidate-embedded-profile__block.row {
    --bs-gutter-x: var(--candidate-embed-gap);
    --bs-gutter-y: var(--candidate-embed-gap);
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.candidate-embedded-profile__content > .candidate-embedded-profile__block > .card {
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: var(--candidate-embed-block-radius) !important;
    box-shadow: none !important;
    overflow: hidden;
}

.candidate-embedded-profile__content .card-body {
    padding: 1rem;
}

.candidate-embedded-profile .candidate-embedded-profile__block--sticky-head.card,
.candidate-embedded-profile .candidate-embedded-profile__block--sticky-head.row {
    background: #f8fbff;
}

.candidate-embedded-profile .candidate-profile-body {
    padding: 1rem;
}

.candidate-embedded-profile .profile-photo-frame--sm {
    width: 3.4rem;
    height: 3.4rem;
}

.candidate-embedded-profile .candidate-profile-identity-row {
    gap: 0.55rem;
}

.candidate-embedded-profile .candidate-profile-identity-row h2 {
    font-size: 1.35rem;
}

.candidate-embedded-profile .candidate-profile-header-top {
    grid-template-columns: minmax(13rem, max-content) minmax(0, 1fr);
    gap: 0.65rem;
}

.candidate-embedded-profile .candidate-profile-header-meta {
    gap: 0.35rem;
}

.candidate-embedded-profile .candidate-profile-header-meta__item,
.candidate-embedded-profile .candidate-profile-contact-compact__item {
    font-size: 0.72rem;
}

.candidate-embedded-profile .candidate-profile-header-meta__item {
    padding: 0.3rem 0.55rem;
}

.candidate-embedded-profile .candidate-profile-contact-compact__item {
    padding: 0.34rem 0.58rem;
    min-height: 2.25rem;
}

.candidate-embedded-profile .candidate-profile-contact-compact__icon {
    width: 1.48rem;
    height: 1.48rem;
    border-radius: 8px;
}

.candidate-embedded-profile .candidate-profile-contact-compact__label,
.candidate-embedded-profile .candidate-profile-contact-compact__detail {
    max-width: 8.75rem;
}

.candidate-embedded-profile .candidate-profile-contact-compact__detail {
    font-size: 0.62rem;
}

.candidate-embedded-profile .candidate-profile-contact-compact {
    gap: 0.35rem;
}

.candidate-embedded-profile .candidate-profile-status-badge {
    min-height: 1.85rem;
    font-size: 0.74rem;
}

.candidate-embedded-profile .score-header {
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.candidate-embedded-profile .score-header-left {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
}

.candidate-embedded-profile .score-header-left .candidate-profile-section-title {
    margin-bottom: 0 !important;
    white-space: nowrap;
}

.candidate-embedded-profile .score-header-bar {
    flex: 1 1 auto;
    min-width: 8rem;
}

.candidate-embedded-profile .card-body {
    padding: 0.9rem 1rem;
}

.candidate-embedded-profile .row.g-3.mb-3 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
    margin-bottom: 0.75rem !important;
}

.candidate-embedded-profile .text-uppercase.small {
    font-size: 0.64rem !important;
}

.candidate-embedded-profile h5 {
    font-size: 1rem;
}

.candidate-embedded-profile .candidate-profile-section-title {
    gap: 0.5rem;
}

.candidate-embedded-profile .candidate-profile-section-title__icon {
    width: 1.75rem;
    height: 1.75rem;
    flex-basis: 1.75rem;
    border-radius: 9px;
    font-size: 0.82rem;
}

.candidate-ai-analysis-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.candidate-ai-analysis-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.72rem 0.95rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: #fbfdff;
}

.candidate-ai-analysis-card__title,
.candidate-ai-analysis-card__badges,
.candidate-ai-analysis-regenerate-toolbar {
    min-width: 0;
}

.candidate-ai-analysis-card__title {
    flex: 0 1 auto;
    max-width: none;
}

.candidate-ai-analysis-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    flex-wrap: wrap;
}

.candidate-ai-analysis-heading__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    flex: 0 0 1.55rem;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 8px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.78rem;
}

.candidate-ai-analysis-heading h5 {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
}

.candidate-ai-analysis-card__badges {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.candidate-ai-analysis-summary {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.candidate-ai-analysis-summary summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    padding: 0.64rem 0.95rem;
    cursor: pointer;
    list-style: none;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.05);
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.candidate-ai-analysis-summary summary:hover,
.candidate-ai-analysis-summary summary:focus-visible {
    background: #eff6ff;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.14);
}

.candidate-ai-analysis-summary summary::-webkit-details-marker {
    display: none;
}

.candidate-ai-analysis-summary__label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: max-content;
    color: #1f2937;
    font-size: 0.86rem;
    font-weight: 850;
}

.candidate-ai-analysis-summary__label i {
    color: #0f2a5f;
}

.candidate-ai-analysis-summary__chevron {
    margin-left: 0.3rem;
    color: #64748b !important;
    font-size: 0.75rem;
    transition: transform 0.18s ease;
}

.candidate-ai-analysis-summary[open] .candidate-ai-analysis-summary__chevron {
    transform: rotate(180deg);
}

.candidate-ai-analysis-summary__body {
    padding: 0.65rem 0.95rem 0.7rem 2.55rem;
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.45;
}

.candidate-ai-analysis-score {
    display: grid;
    grid-template-columns: auto minmax(3.2rem, 1fr) auto;
    align-items: center;
    gap: 0.42rem;
    flex: 0 1 50%;
    width: 50%;
    min-width: 0;
    max-width: 50%;
}

.candidate-ai-analysis-score__label {
    color: #334155;
    font-size: 0.76rem;
    font-weight: 850;
    white-space: nowrap;
}

.candidate-ai-analysis-score__bar {
    height: 0.52rem;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.candidate-ai-analysis-score__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2ec4b6 0%, #0f2a5f 100%);
}

.candidate-ai-analysis-score strong {
    color: #0f2a5f;
    font-size: 0.9rem;
}

.candidate-ai-analysis-card__body {
    display: grid;
    gap: 0.75rem;
    padding: 0.9rem 0.95rem 1rem;
}

.candidate-ai-analysis-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.candidate-ai-analysis-signal {
    min-width: 0;
    padding: 0.78rem;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
}

.candidate-ai-analysis-signal:last-child {
    border-right: 0;
}

.candidate-ai-analysis-signal__title {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    color: #1f2937;
    font-weight: 850;
}

.candidate-ai-analysis-signal__title i {
    font-size: 0.95rem;
}

.candidate-ai-analysis-signal--strengths .candidate-ai-analysis-signal__title i {
    color: #2fbf71;
}

.candidate-ai-analysis-signal--risks .candidate-ai-analysis-signal__title i {
    color: #f2994a;
}

.candidate-ai-analysis-signal--next .candidate-ai-analysis-signal__title i {
    color: #2563eb;
}

.candidate-ai-analysis-signal ul,
.candidate-ai-analysis-signal ol {
    padding-left: 1.05rem;
    margin-bottom: 0;
}

.candidate-ai-analysis-signal li,
.candidate-ai-analysis-signal .text-muted {
    color: #475569 !important;
    font-size: 0.82rem;
    line-height: 1.4;
}

.candidate-embedded-profile .candidate-company-copy-card,
.candidate-embedded-profile .candidate-company-overview__panel,
.candidate-embedded-profile .border.rounded-3.p-2,
.candidate-embedded-profile .border.rounded-3.p-2.h-100 {
    border-radius: 12px !important;
}

.candidate-embedded-profile .candidate-company-stack {
    gap: 0.55rem;
}

.candidate-embedded-profile .candidate-company-stack__item {
    padding: 0.6rem 0.68rem;
    border-radius: 12px;
}

.candidate-embedded-profile .candidate-company-stack__copy,
.candidate-embedded-profile .summary-text-preview,
.candidate-embedded-profile .text-muted {
    font-size: 0.84rem;
}

.candidate-embedded-profile .candidate-labor-block {
    padding: 0.75rem 0.85rem;
}

.candidate-embedded-profile .candidate-labor-chip,
.candidate-embedded-profile .candidate-company-inline-pill,
.candidate-embedded-profile .badge {
    font-size: 0.72rem;
}

.candidate-embedded-profile .profile-language-item {
    padding-block: 0.35rem;
}

.candidate-embedded-profile .candidate-company-stars--button {
    pointer-events: none;
}

.candidate-detail-side {
    flex-direction: column;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    padding-right: 0;
}

.candidate-side-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: min(38rem, calc(100vh - 9.5rem));
    flex: 1 1 auto;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.candidate-side-stack--panelized {
    border: 0;
    box-shadow: none;
    background: #ffffff;
    overflow: visible;
}

.candidate-side-stack--panelized .candidate-side-tabs-shell {
    flex: 1 1 auto;
    position: relative;
    overflow: visible;
}

.candidate-side-stack--panelized .candidate-side-tabs-toolbar,
.candidate-side-stack--panelized .candidate-activity-panel .candidate-side-search-wrap,
.candidate-side-stack--panelized .candidate-notes-panel__header,
.candidate-side-stack--panelized .candidate-checklist-panel > .candidate-side-search-wrap {
    display: none;
}

.candidate-side-stack--panelized .candidate-side-tabs-shell.is-filter-open .candidate-side-tabs-toolbar,
.candidate-side-stack--panelized .candidate-side-tabs-shell.is-filter-open .candidate-activity-panel .candidate-side-search-wrap,
.candidate-side-stack--panelized .candidate-side-tabs-shell.is-filter-open .candidate-notes-panel__header,
.candidate-side-stack--panelized .candidate-side-tabs-shell.is-filter-open .candidate-checklist-panel > .candidate-side-search-wrap {
    display: flex;
    position: fixed;
    top: var(--candidate-detail-filter-dropdown-top, 5rem);
    right: var(--candidate-detail-filter-dropdown-right, 1rem);
    z-index: 1086;
    width: min(var(--candidate-detail-filter-dropdown-width, 23rem), calc(100vw - 1.5rem));
    max-height: min(26rem, calc(100vh - var(--candidate-detail-filter-dropdown-top, 5rem) - 1rem));
    overflow: auto;
    padding: 0.72rem;
    border: 1px solid rgba(15, 42, 95, 0.12);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
    transform-origin: top right;
    animation: candidateDetailFilterDropdownIn 0.16s ease-out;
}

.candidate-side-stack--panelized .candidate-side-tabs-shell.is-filter-open .candidate-activity-panel .candidate-side-search-wrap,
.candidate-side-stack--panelized .candidate-side-tabs-shell.is-filter-open .candidate-notes-panel__header,
.candidate-side-stack--panelized .candidate-side-tabs-shell.is-filter-open .candidate-checklist-panel > .candidate-side-search-wrap {
    flex-direction: column;
}

.candidate-side-stack--panelized .candidate-side-tabs-shell.is-filter-open .candidate-side-tabs-toolbar {
    flex: initial;
    min-width: 0;
}

@keyframes candidateDetailFilterDropdownIn {
    from {
        opacity: 0;
        transform: translateY(-0.25rem) scale(0.98);
    }

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

.candidate-side-stack--panelized .candidate-side-tabs-shell.is-filter-open .candidate-side-tabs-content,
.candidate-side-stack--panelized .candidate-side-tabs-shell.is-filter-open .candidate-side-tab-pane.active {
    overflow: visible;
}

.candidate-side-stack--panelized .candidate-side-tabs-bar {
    padding-top: 0.62rem;
}

.candidate-side-tabs-shell {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.candidate-side-tabs-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.6rem 0.7rem 0;
    border-bottom: 1px solid var(--app-tabs-border);
}

.candidate-side-tabs {
    padding: 0 !important;
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.35rem;
    border-bottom: 0 !important;
}

.candidate-side-tabs-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 1 280px;
    min-width: 220px;
    padding-bottom: 0.35rem;
}

.candidate-side-vacancy-filter {
    width: 100%;
    min-height: 36px;
    border-radius: 10px;
    border-color: rgba(15, 42, 95, 0.16);
    color: #344054;
    font-size: 0.84rem;
    font-weight: 700;
}

.candidate-side-vacancy-filter__option--current {
    background: #e7f8f6;
    color: #0f2a5f;
    font-weight: 800;
}

.candidate-side-tabs .nav-link {
    box-shadow: none;
    padding-inline: 0.8rem;
}

.candidate-side-tabs .nav-link:hover,
.candidate-side-tabs .nav-link:focus-visible {
    background: rgba(37, 99, 235, 0.08);
    border-color: #93c5fd;
    color: inherit;
}

.candidate-side-tabs .nav-link.active,
.candidate-side-tabs .nav-item.show .nav-link {
    margin-bottom: -1px;
    box-shadow: none;
}

.candidate-side-tabs .nav-link.active,
.candidate-side-tabs .nav-item.show .nav-link,
.candidate-side-tabs .nav-link.active:hover,
.candidate-side-tabs .nav-item.show .nav-link:hover,
.candidate-side-tabs .nav-link.active:focus-visible,
.candidate-side-tabs .nav-item.show .nav-link:focus-visible {
    background: var(--app-tabs-accent);
    border-color: var(--app-tabs-accent);
    color: var(--app-tabs-active-text);
}

.candidate-side-tabs-content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1 1 0;
    height: 0;
    overflow: hidden;
    overflow-x: hidden;
    scrollbar-gutter: auto;
    padding-right: 0;
}

.candidate-side-tab-pane {
    min-height: 0;
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
}

.candidate-side-tab-pane.active,
.candidate-side-tab-pane.show.active {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.candidate-side-search-wrap {
    padding: 0.7rem;
    position: relative;
}

.candidate-side-search-wrap--activity {
    padding-left: 0;
    padding-right: 0;
}

.candidate-activity-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    height: 100%;
}

.candidate-activity-panel__body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.55rem 0.65rem 0.75rem;
    scrollbar-gutter: stable;
}

.candidate-activity-panel .candidate-side-search-wrap--activity {
    padding: 0;
}

.candidate-activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    width: 100%;
    min-height: auto;
    flex: 0 0 auto;
    overflow: visible;
    padding-right: 0;
    padding-bottom: 0.35rem;
}

.candidate-activity-date-separator {
    display: flex;
    justify-content: center;
    position: relative;
    padding: 0.55rem 0 0.35rem;
}

.candidate-activity-date-separator::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% + 0.1rem);
    height: 1px;
    background: rgba(148, 163, 184, 0.22);
    transform: translateY(-50%);
}

.candidate-activity-date-separator span {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 1;
    min-height: 1.95rem;
    padding: 0.28rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.candidate-activity-feed-item {
    display: grid;
    grid-template-columns: 2.35rem minmax(0, 1fr);
    gap: 0.55rem;
    align-items: start;
    min-width: 0;
    padding: 0.58rem 0.62rem;
    border: 1px solid color-mix(in srgb, var(--activity-accent, #0f2a5f) 30%, #ffffff);
    border-left: 4px solid var(--activity-accent, #0f2a5f);
    border-radius: 14px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--activity-accent, #0f2a5f) 13%, #ffffff) 0%, #ffffff 74%);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--activity-accent, #0f2a5f) 12%, transparent);
}

.candidate-activity-feed-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-top: 0.05rem;
    border: 1px solid color-mix(in srgb, var(--activity-accent, #0f2a5f) 56%, transparent);
    border-radius: 0.85rem;
    background: var(--activity-accent, #0f2a5f);
    color: #ffffff;
    font-size: 0.92rem;
    box-shadow: 0 8px 16px color-mix(in srgb, var(--activity-accent, #0f2a5f) 24%, transparent);
}

.candidate-activity-feed-content {
    min-width: 0;
    padding: 0.05rem 0 0.45rem;
    border-bottom: 0;
}

.candidate-activity-feed-head {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    min-width: 0;
    color: #0f172a;
    line-height: 1.2;
}

.candidate-activity-feed-head strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 850;
    white-space: nowrap;
}

.candidate-activity-feed-head time {
    flex-shrink: 0;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
}

.candidate-activity-feed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    margin-top: 0.22rem;
}

.candidate-activity-feed-meta span {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 1.25rem;
    padding: 0.16rem 0.45rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--activity-accent, #0f2a5f) 30%, #ffffff);
    background: color-mix(in srgb, var(--activity-accent, #0f2a5f) 18%, #ffffff);
    color: color-mix(in srgb, var(--activity-accent, #0f2a5f) 92%, #0f172a);
    font-size: 0.72rem;
    font-weight: 800;
}

.candidate-activity-feed-detail {
    min-width: 0;
    margin-top: 0.2rem;
    color: #334155;
    font-size: 0.84rem;
    line-height: 1.34;
}

.candidate-activity-feed-detail .fs-6 {
    font-size: 0.86rem !important;
}

.candidate-activity-feed-detail .small {
    font-size: 0.78rem;
}

.candidate-activity-feed-detail .badge {
    padding: 0.18rem 0.45rem !important;
    font-size: 0.7rem;
}

.candidate-activity-feed-detail .btn-sm {
    min-height: 1.75rem;
    padding: 0.18rem 0.5rem;
    font-size: 0.76rem;
}

.candidate-activity-feed-item--application {
    --activity-accent: #1d4ed8;
}

.candidate-activity-feed-item--stage {
    background: linear-gradient(135deg, color-mix(in srgb, var(--activity-accent, #f59e0b) 20%, #ffffff) 0%, #fffaf0 74%);
}

.candidate-activity-feed-item--note {
    --activity-accent: #0891b2;
}

.candidate-activity-feed-item--interview {
    --activity-accent: #16a34a;
}

.candidate-activity-feed-item--task {
    --activity-accent: #7c3aed;
}

.candidate-activity-feed-item--ai_analysis {
    --activity-accent: #0f172a;
}

.activity-colors-preview-panel {
    position: sticky;
    top: 1rem;
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.activity-colors-preview-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.activity-colors-preview-list {
    display: grid;
    gap: 0.65rem;
}

.activity-colors-preview-list .candidate-activity-feed-item {
    padding: 0.54rem 0.58rem;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--activity-accent, #0f2a5f) 10%, transparent);
}

.activity-colors-preview-list .candidate-activity-feed-head strong {
    font-size: 0.86rem;
}

.activity-colors-preview-list .candidate-activity-feed-detail {
    font-size: 0.78rem;
}

@media (max-width: 991px) {
    .activity-colors-preview-panel {
        position: static;
    }
}

.candidate-ai-analysis-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.candidate-ai-analysis-summary-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.16rem;
    min-width: 0;
    min-height: 4rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1rem;
    background: #ffffff;
}

.candidate-ai-analysis-summary-card__label {
    min-width: 0;
    font-size: 0.72rem;
    line-height: 1.15;
    color: #64748b;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.candidate-ai-analysis-summary-card__value {
    min-width: 0;
    font-size: 1.2rem;
    line-height: 1.1;
    font-weight: 700;
    color: #0f172a;
}

.candidate-checklist-panel .candidate-side-search-wrap {
    background: #fbf7ef;
}

.candidate-side-search-inline {
    width: 100%;
    --search-height: 40px;
    --search-radius-left: 0.8rem;
    --search-radius-right: 0.8rem;
    --search-border: rgba(148, 163, 184, 0.22);
    --search-border-hover: rgba(100, 116, 139, 0.28);
    --search-border-focus: rgba(37, 99, 235, 0.32);
    --search-bg: #ffffff;
    --search-bg-focus: #ffffff;
    --search-icon-bg: #ffffff;
    --search-icon-color: #64748b;
    --search-icon-hover-bg: #f8fafc;
    --search-icon-hover-color: #334155;
    --search-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    --search-ring: rgba(37, 99, 235, 0.08);
    --search-placeholder: #94a3b8;
}

.candidate-notes-panel .candidate-side-search-wrap::after,
.candidate-checklist-panel .candidate-side-search-wrap::after {
    content: '';
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0;
    height: 1px;
    background: rgba(148, 163, 184, 0.14);
}

.candidate-checklist-panel .candidate-side-search-inline {
    --search-border: rgba(88, 28, 12, 0.12);
    --search-border-hover: rgba(120, 53, 15, 0.18);
    --search-border-focus: rgba(180, 83, 9, 0.24);
    --search-bg: #fffdf7;
    --search-bg-focus: #fffdf7;
    --search-icon-bg: #fffdf7;
    --search-icon-color: #8b6b45;
    --search-icon-hover-bg: #f8efdb;
    --search-icon-hover-color: #6b4f2d;
    --search-shadow: 0 6px 16px rgba(88, 28, 12, 0.06);
    --search-ring: rgba(180, 83, 9, 0.08);
    --search-placeholder: #a08a6a;
}

.candidate-side-search-inline .form-control,
.candidate-side-search-inline .admin-search-icon-btn {
    border-width: 1px;
}

.candidate-checklist-panel .candidate-side-search-inline .admin-search-icon-btn {
    order: 1;
    border-left: 0;
    border-right: 1px solid var(--search-border);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--search-radius-right);
    border-bottom-right-radius: var(--search-radius-right);
}

.candidate-checklist-panel .candidate-side-search-inline .form-control {
    order: 0;
    border-top-left-radius: var(--search-radius-left);
    border-bottom-left-radius: var(--search-radius-left);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.candidate-side-search-inline .form-control {
    color: #0f172a;
}

.candidate-checklist-panel .candidate-side-search-inline .form-control {
    color: #5b4631;
}

.candidate-detail-side .candidate-checklist-panel,
.candidate-detail-side .candidate-checklist-composer,
.candidate-detail-side .candidate-checklist-composer__input,
.candidate-detail-side .candidate-notes-composer,
.candidate-detail-side .candidate-notes-composer__editing,
.candidate-detail-side .candidate-notes-composer__input,
.candidate-detail-side .candidate-notes-visibility-popover,
.candidate-detail-side .candidate-notes-attachments,
.candidate-detail-side .candidate-notes-viewer-option,
.candidate-detail-side .candidate-note-item__attachment {
    border-radius: 0;
}

.candidate-checklist-panel,
.candidate-notes-panel {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    height: auto;
    flex: 1 1 0;
    align-self: stretch;
}

.candidate-checklist-panel,
.candidate-notes-panel {
    flex: 1 1 auto;
}

.candidate-checklist-panel {
    min-height: 0;
    background: #fbf7ef;
}

.candidate-notes-panel {
    min-height: 0;
}

.candidate-checklist-panel__header,
.candidate-notes-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.62rem 0.7rem 0.52rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    position: relative;
}

.candidate-checklist-panel__header--tabbed,
.candidate-notes-panel__header--tabbed {
    padding-top: 0.7rem;
}

.candidate-notes-panel__header--tabbed {
    justify-content: flex-end;
}

.candidate-checklist-panel__header .candidate-detail-label,
.candidate-notes-panel__header .candidate-detail-label {
    margin-bottom: 0 !important;
    font-size: 0.8rem;
    line-height: 1.05;
    letter-spacing: 0.05em;
    font-weight: 800;
    color: #334155;
}

.candidate-checklist-panel__meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.32rem;
}

.candidate-checklist-subtabs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0.18rem 0;
}

.candidate-checklist-subtabs::-webkit-scrollbar {
    display: none;
}

.candidate-checklist-subtab {
    border: 1px solid rgba(88, 28, 12, 0.14);
    border-radius: 12px;
    background: linear-gradient(180deg, #fffef8 0%, #f7efdd 100%);
    color: #5b4631;
    padding: 0.44rem 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.1;
    box-shadow: 0 3px 10px rgba(88, 28, 12, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
}

.candidate-checklist-subtab:hover {
    background: linear-gradient(180deg, #fffefb 0%, #f3e8d0 100%);
    border-color: rgba(120, 53, 15, 0.2);
    color: #4a3421;
    box-shadow: 0 5px 12px rgba(88, 28, 12, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.candidate-checklist-subtab.is-active {
    background: linear-gradient(180deg, #fff6dd 0%, #f3d892 100%);
    color: #6b3f12;
    border-color: rgba(180, 83, 9, 0.32);
    box-shadow: 0 7px 16px rgba(180, 83, 9, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.candidate-checklist-subtab .tab-count-badge {
    min-width: 1.3rem;
    height: 1.3rem;
    padding: 0 0.38rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.82);
    color: #6b3f12;
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(88, 28, 12, 0.08);
}

.candidate-checklist-subtab.is-active .tab-count-badge {
    background: rgba(255, 251, 235, 0.92);
    color: #92400e;
    box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.12);
}

.candidate-notes-panel__actions {
    gap: 0.35rem !important;
    width: 100%;
    align-items: stretch !important;
    flex-direction: column;
    justify-content: flex-start;
}

.candidate-notes-panel__actions .candidate-side-search-inline {
    flex: 1 1 auto;
    min-width: 0;
}

.candidate-checklist-access-state,
.candidate-notes-access-state {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.9rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: #fff7ed;
    color: #7c2d12;
}

.candidate-checklist-access-state {
    background: #fbf7ef;
    border-top: 1px solid rgba(var(--bs-body-color-rgb), 0.12);
    border-bottom: 1px solid rgba(var(--bs-body-color-rgb), 0.12);
}

.candidate-checklist-access-state__icon,
.candidate-notes-access-state__icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 115, 22, 0.12);
    color: #c2410c;
    flex: 0 0 auto;
}

.candidate-notes-filter-btn {
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    border-radius: 999px;
    font-size: 0.72rem;
}

.candidate-notes-filter-popover {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    z-index: 18;
    width: min(18rem, calc(100vw - 2.5rem));
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
    padding: 0.8rem 0.9rem;
}

.candidate-side-stack--panelized .candidate-notes-panel__header .candidate-notes-filter-popover {
    position: static;
    z-index: auto;
    width: 100%;
    padding: 0.35rem 0 0;
    border: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.candidate-side-filter-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
    width: 100%;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.candidate-checklist-filter-group {
    margin-top: 0.1rem;
}

.candidate-notes-filter-popover__title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.candidate-notes-filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: #0f172a;
    padding: 0.25rem 0;
}

.candidate-notes-panel__count {
    min-width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.74rem;
}

.candidate-checklist-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    min-height: 0;
    overflow-y: auto;
    flex: 1 1 auto;
    border: 0;
    box-shadow: none;
}

#candidate-activity-pane .candidate-activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    width: 100%;
    min-height: auto;
    flex: 0 0 auto;
    overflow: visible;
    padding: 0 0 0.35rem;
}

.candidate-checklist-item {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    position: relative;
    min-height: 2.58rem;
    padding: 0;
    border-bottom: 1.5px solid rgba(var(--bs-body-color-rgb), 0.26);
    background: transparent;
    transition: background-color 0.18s ease, opacity 0.18s ease;
    cursor: default;
}

.candidate-checklist-item:first-child {
    border-top: 1.5px solid rgba(var(--bs-body-color-rgb), 0.26);
}

.candidate-checklist-item.is-draggable {
    cursor: grab;
}

.candidate-checklist-item.is-completed {
    opacity: 0.82;
}

.candidate-checklist-item.is-suspended {
    background: rgba(var(--bs-danger-rgb), 0.03);
}

.candidate-checklist-item.is-draggable:hover,
.candidate-checklist-item.is-draggable:focus-within {
    background: rgba(var(--bs-body-color-rgb), 0.035);
}

.candidate-checklist-item--chosen {
    background: rgba(var(--bs-body-color-rgb), 0.06);
    box-shadow: inset 0 1.5px 0 rgba(var(--bs-body-color-rgb), 0.26), inset 0 -1.5px 0 rgba(var(--bs-body-color-rgb), 0.26);
}

.candidate-checklist-item--ghost {
    opacity: 0.22;
    box-shadow: inset 0 1.5px 0 rgba(var(--bs-body-color-rgb), 0.26), inset 0 -1.5px 0 rgba(var(--bs-body-color-rgb), 0.26);
}

.candidate-checklist-item--dragging {
    background: #fffef9;
    box-shadow: inset 0 1.5px 0 rgba(var(--bs-body-color-rgb), 0.26), inset 0 -1.5px 0 rgba(var(--bs-body-color-rgb), 0.26), 0 8px 20px rgba(15, 23, 42, 0.14);
}

.candidate-checklist-item__main {
    display: flex;
    align-items: center;
    gap: 0.72rem;
    padding: 0.34rem 0.7rem;
    min-width: 0;
    flex: 1 1 auto;
}

.candidate-checklist-item__toggle,
.candidate-checklist-item__toggle-button,
.candidate-checklist-item__action {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.candidate-checklist-item__markers {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    flex: 0 0 auto;
}

.candidate-checklist-item.is-editing .candidate-checklist-item__markers {
    display: none;
}

.candidate-checklist-item__toggle {
    appearance: none;
    -webkit-appearance: none;
    width: 1rem;
    height: 1rem;
    margin: 0;
    border: 1.8px solid rgba(var(--bs-body-color-rgb), 0.8);
    border-radius: 0.16rem;
    background: #fffef9;
    cursor: pointer;
    position: relative;
}

.candidate-checklist-item__toggle:disabled {
    opacity: 0.55;
}

.candidate-checklist-item__toggle:checked {
    background: rgba(var(--bs-body-color-rgb), 0.92);
    border-color: rgba(var(--bs-body-color-rgb), 0.92);
}

.candidate-checklist-item__toggle:checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.26rem;
    height: 0.52rem;
    border-right: 2px solid #fffef9;
    border-bottom: 2px solid #fffef9;
    transform: translate(-50%, -54%) rotate(45deg);
}

.candidate-checklist-item__toggle--suspended,
.candidate-checklist-item__toggle-button {
    width: 1rem;
    height: 1rem;
    border: 1.8px solid rgba(var(--bs-body-color-rgb), 0.45);
    border-radius: 0.16rem;
    background: #fffef9;
    color: rgba(var(--bs-body-color-rgb), 0.7);
    cursor: pointer;
}

.candidate-checklist-item__toggle--suspended {
    border-color: rgba(var(--bs-danger-rgb), 0.68);
    background: rgba(var(--bs-danger-rgb), 0.12);
    color: rgba(var(--bs-danger-rgb), 0.92);
    font-size: 0.54rem;
    cursor: default;
}

.candidate-checklist-item__toggle-button.is-suspend {
    border-color: rgba(var(--bs-danger-rgb), 0.38);
    color: rgba(var(--bs-danger-rgb), 0.82);
    cursor: pointer;
}

.candidate-checklist-item__toggle-button.is-suspend:hover,
.candidate-checklist-item__toggle-button.is-suspend:focus,
.candidate-checklist-item__toggle-button.is-suspend:focus-visible {
    background: rgba(var(--bs-danger-rgb), 0.08);
    border-color: rgba(var(--bs-danger-rgb), 0.56);
}

.candidate-checklist-item__content {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.16rem;
}

.candidate-checklist-item__text {
    display: block;
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--bs-body-color);
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.candidate-checklist-item.is-external .candidate-checklist-item__text {
    padding-right: 4.7rem;
}

.candidate-checklist-item.is-completed .candidate-checklist-item__text {
    text-decoration: line-through;
    color: var(--bs-secondary-color);
}

.candidate-checklist-item.is-suspended .candidate-checklist-item__text {
    color: #b91c1c;
    text-decoration: line-through;
    text-decoration-color: rgba(var(--bs-danger-rgb), 0.82);
}

.candidate-checklist-item.is-expired:not(.is-completed):not(.is-suspended) .candidate-checklist-item__text {
    color: #7f1d1d;
}

.candidate-checklist-item__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.28rem;
}

.candidate-checklist-item__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(180, 83, 9, 0.12);
    color: #8b5a1f;
    font-size: 0.67rem;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 auto;
}

.candidate-checklist-item__pill.is-overdue {
    background: rgba(var(--bs-danger-rgb), 0.14);
    color: #b91c1c;
    box-shadow: inset 0 0 0 1px rgba(var(--bs-danger-rgb), 0.16);
}

.candidate-checklist-item__meta-text {
    font-size: 0.66rem;
    line-height: 1.25;
    color: var(--bs-secondary-color);
    flex: 1 1 12rem;
    min-width: 0;
}

.candidate-checklist-item__meta-text.is-completed {
    color: #166534;
}

.candidate-checklist-item__meta-text.is-suspended {
    color: #991b1b;
}

.candidate-checklist-item.is-external {
    border-left: 3px solid rgba(217, 119, 6, 0.58);
    background: linear-gradient(180deg, #fffef9 0%, #fff9ef 100%);
}

.candidate-checklist-item__corner-badge {
    position: absolute;
    top: 0.34rem;
    right: 0.62rem;
    z-index: 1;
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-end;
    pointer-events: none;
}

.candidate-checklist-item__corner-badge .candidate-item-external-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.06rem 0.32rem;
    font-size: 0.54rem;
    line-height: 1;
    min-height: 16px;
    vertical-align: middle;
}

.candidate-checklist-item__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.24rem;
    flex: 0 0 auto;
    align-self: center;
    padding-right: 0.55rem;
    opacity: 0.58;
    transition: opacity 0.18s ease;
}

.candidate-checklist-item:hover .candidate-checklist-item__actions,
.candidate-checklist-item:focus-within .candidate-checklist-item__actions {
    opacity: 0.92;
}

.candidate-checklist-item.is-editing .candidate-checklist-item__actions {
    opacity: 0.92;
}

.candidate-checklist-item__action {
    border: 0;
    width: 1.9rem;
    height: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(var(--bs-body-color-rgb), 0.06);
    color: rgba(var(--bs-body-color-rgb), 0.68);
    font-size: 0.8rem;
    transition: background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.candidate-checklist-item__action.is-save {
    color: #15803d;
}

.candidate-checklist-item__action.is-edit {
    background: rgba(var(--tl-primary-rgb), 0.12);
    color: rgba(var(--tl-primary-rgb), 0.96);
}

.candidate-checklist-item__action.is-test {
    background: rgba(20, 184, 166, 0.12);
    color: #0f766e;
}

.candidate-checklist-item__action:hover,
.candidate-checklist-item__action:focus,
.candidate-checklist-item__action:focus-visible {
    background: rgba(var(--bs-body-color-rgb), 0.1);
    color: rgba(var(--bs-body-color-rgb), 0.86);
}

.candidate-checklist-item__action.is-edit:hover,
.candidate-checklist-item__action.is-edit:focus,
.candidate-checklist-item__action.is-edit:focus-visible {
    background: rgba(var(--tl-primary-rgb), 0.18);
    color: rgba(var(--tl-primary-rgb), 1);
}

.candidate-checklist-item__action.is-test:hover,
.candidate-checklist-item__action.is-test:focus,
.candidate-checklist-item__action.is-test:focus-visible {
    background: rgba(20, 184, 166, 0.18);
    color: #0f766e;
}

.candidate-checklist-item__edit-input {
    min-height: 2.22rem;
    padding: 0.5rem 0.72rem 0.56rem;
    font-size: 0.8rem;
    line-height: 1.35;
    color: #4b3422;
    border: 1px solid rgba(120, 53, 15, 0.14);
    border-radius: 0.8rem;
    background: rgba(255, 252, 245, 0.96);
    box-shadow: 0 4px 12px rgba(88, 28, 12, 0.04);
}

.candidate-checklist-item__edit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(6.9rem, 7.5rem);
    gap: 0.5rem;
    align-items: end;
}

.candidate-checklist-item__edit-date {
    min-height: 2.22rem;
    padding: 0.5rem 0.68rem 0.56rem;
    font-size: 0.75rem;
    line-height: 1.2;
    color: #5b4631;
    border: 1px solid rgba(120, 53, 15, 0.16);
    border-radius: 0.8rem;
    background: rgba(255, 252, 245, 0.96);
    box-shadow: 0 4px 12px rgba(88, 28, 12, 0.04);
}

.candidate-checklist-item__edit-input:focus,
.candidate-checklist-item__edit-date:focus {
    background: #fffdf8;
    border-color: rgba(180, 83, 9, 0.28);
    box-shadow: 0 0 0 0.16rem rgba(180, 83, 9, 0.08);
}

.candidate-notes-list {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    padding: 0.55rem 0.6rem;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    flex: 1 1 auto;
}

.candidate-checklist-empty,
.candidate-checklist-loading,
.candidate-notes-empty,
.candidate-notes-loading {
    min-height: 2.42rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    text-align: left;
    padding: 0.32rem 0.08rem 0.08rem;
    position: relative;
    border-bottom: 1.5px solid rgba(var(--bs-body-color-rgb), 0.26);
}

.candidate-notes-empty,
.candidate-notes-loading {
    align-items: center;
    text-align: center;
    padding: 0.65rem 0.5rem 0.45rem;
}

.candidate-checklist-empty-message {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.75rem;
    text-align: center;
    color: rgba(var(--bs-body-color-rgb), 0.54);
    font-size: 0.82rem;
    line-height: 1.35;
}

.candidate-checklist-empty__icon,
.candidate-notes-empty__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0;
    background: #ffe4ec;
    color: #db2777;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.candidate-checklist-empty__icon {
    display: none;
}

.candidate-checklist-empty h6,
.candidate-notes-empty h6,
.candidate-checklist-loading h6,
.candidate-notes-loading h6 {
    font-size: 0.86rem;
}

.candidate-notes-empty h6,
.candidate-notes-loading h6 {
    margin: 0.2rem 0 0;
}

.candidate-checklist-empty p,
.candidate-checklist-loading p {
    margin: 0;
    font-size: 0.74rem;
    line-height: 1.2;
    color: rgba(var(--bs-body-color-rgb), 0.58);
    font-style: italic;
}

.candidate-notes-empty p,
.candidate-notes-loading p {
    margin: 0;
    max-width: 24rem;
    font-size: 0.76rem;
    line-height: 1.3;
    color: rgba(var(--bs-body-color-rgb), 0.58);
}

.candidate-note-item {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0;
    background: #ffffff;
    padding: 0.55rem 0.65rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
}

.candidate-note-item--mine {
    border-radius: 10px;
    border-color: rgba(14, 165, 233, 0.25);
    background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
}

.candidate-note-item--external {
    border-radius: 10px;
    border-color: rgba(217, 119, 6, 0.28);
    background: linear-gradient(180deg, #fffdf7 0%, #fff8eb 100%);
}

.candidate-item-external-badge {
    background: rgba(217, 119, 6, 0.12);
    color: #9a5b07;
    border: 1px solid rgba(217, 119, 6, 0.18);
}

.candidate-share-modal__body {
    background: #f8fafc;
}

.candidate-share-panel {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.candidate-share-panel--tabs-attached {
    border-top-left-radius: 0;
}

.candidate-share-panel.is-invalid {
    border-color: rgba(220, 38, 38, 0.42);
    background: linear-gradient(180deg, #fffefe 0%, #fff5f5 100%);
    box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.08), 0 14px 30px rgba(220, 38, 38, 0.08);
}

.candidate-share-panel.is-invalid .candidate-share-section-title,
.candidate-share-panel.is-invalid .candidate-share-panel__summary {
    color: #b91c1c;
}

.candidate-share-section-error {
    font-size: 0.78rem;
}

.candidate-share-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.candidate-share-panel__intro {
    flex: 1 1 32rem;
    min-width: 0;
    max-width: 42rem;
}

.candidate-share-panel__aside {
    flex: 0 0 auto;
    min-width: 0;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 0.95rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.candidate-share-panel__aside-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
    color: #475569;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.candidate-share-panel__head h6 {
    font-size: 0.96rem;
}

.candidate-share-section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.candidate-share-section-title i {
    color: #2563eb;
    font-size: 0.92rem;
}

.candidate-share-panel__head p,
.candidate-share-panel__head .small {
    font-size: 0.77rem;
}

.candidate-share-panel__summary {
    color: #0f172a;
    font-size: 0.77rem;
    font-weight: 800;
    white-space: nowrap;
}

.candidate-share-panel__status-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 0 0 auto;
    min-height: 1.75rem;
    padding: 0.35rem 0.7rem;
    line-height: 1;
    white-space: nowrap;
}

.candidate-share-wizard-intro {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.95rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(46, 196, 182, 0.22);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(236, 254, 255, 0.86) 0%, rgba(248, 250, 252, 0.98) 100%);
    color: #334155;
}

.candidate-share-wizard-intro__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: #0f766e;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.18);
}

.candidate-share-wizard-intro h6 {
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 800;
}

.candidate-share-wizard-intro p {
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.45;
}

.candidate-share-stepper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 0.95rem;
}

.candidate-share-stepper__item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    min-height: 2.65rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 0.85rem;
    background: #ffffff;
    color: #64748b;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 800;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.candidate-share-stepper__item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.55rem;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
}

.candidate-share-stepper__item strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.candidate-share-stepper__item.is-active {
    border-color: rgba(37, 99, 235, 0.38);
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.12);
}

.candidate-share-stepper__item.is-active span {
    background: #2563eb;
    color: #ffffff;
}

.candidate-share-stepper__item.is-complete {
    border-color: rgba(47, 191, 113, 0.26);
    background: rgba(240, 253, 244, 0.86);
    color: #15803d;
}

.candidate-share-stepper__item.is-complete span {
    background: #2fbf71;
    color: #ffffff;
}

.candidate-share-confirm-summary {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.candidate-share-confirm-summary__hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 7rem;
    padding: 1.1rem 1.2rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0b1f44 0%, #0f766e 100%);
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.candidate-share-confirm-summary__hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 1.35rem;
}

.candidate-share-confirm-summary__hero-copy {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.candidate-share-confirm-summary__hero-copy span,
.candidate-share-confirm-summary__hero-copy small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
}

.candidate-share-confirm-summary__hero-copy strong {
    color: #ffffff;
    font-size: 1.45rem;
    line-height: 1.15;
}

.candidate-share-confirm-summary__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.candidate-share-confirm-summary__stats span {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 0.9rem;
    background: #ffffff;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.candidate-share-confirm-summary__stats strong {
    color: #0f172a;
    font-size: 1.45rem;
    line-height: 1;
    text-transform: none;
}

.candidate-share-confirm-summary__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    min-height: 0;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.candidate-share-confirm-summary__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.75rem;
    background: #e0f2fe;
    color: #0369a1;
}

.candidate-share-confirm-summary__item strong {
    display: block;
    margin-bottom: 0.4rem;
    color: #0f172a;
    font-size: 0.82rem;
}

.candidate-share-confirm-summary__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #475569;
    font-size: 0.78rem;
    line-height: 1.35;
}

.candidate-share-confirm-summary__list li {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
}

.candidate-share-confirm-summary__applications {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.candidate-share-confirm-summary__applications-head,
.candidate-share-confirm-summary__application-row {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
}

.candidate-share-confirm-summary__applications-head {
    padding: 0 0.55rem 0.1rem;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.candidate-share-confirm-summary__application-row {
    padding: 0.42rem 0.55rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 0.65rem;
    background: #f8fafc;
    color: #334155;
    font-size: 0.78rem;
    line-height: 1.25;
}

.candidate-share-confirm-summary__application-row span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.candidate-share-confirm-summary__application-row span:first-child {
    color: #0f172a;
    font-weight: 800;
}

.candidate-share-confirm-summary__application-row span:last-child {
    color: #64748b;
}

.candidate-share-confirm-summary__applications-more {
    display: inline-flex;
    justify-self: flex-start;
    margin-top: 0.1rem;
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 0.76rem;
}

.candidate-share-confirm-summary__empty {
    color: #94a3b8;
    font-size: 0.78rem;
}

.candidate-share-confirm-summary__total {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
    background: #ecfdf5;
    color: #047857;
    font-size: 0.9rem;
    font-weight: 800;
}

.candidate-share-confirm-summary__replacement {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.candidate-share-confirm-summary__replacement span {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
    padding: 0.72rem 0.8rem;
    border: 1px solid rgba(20, 184, 166, 0.18);
    border-radius: 0.85rem;
    background: #f0fdfa;
    color: #0f766e;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.candidate-share-confirm-summary__replacement strong {
    color: #0f172a;
    font-size: 1.3rem;
    line-height: 1;
    text-transform: none;
}

.candidate-share-confirm-summary__replacement.has-removals span:last-child {
    border-color: rgba(220, 38, 38, 0.18);
    background: #fef2f2;
    color: #b91c1c;
}

.candidate-share-reviewer-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.35rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.candidate-share-reviewer-state.is-none {
    background: #f1f5f9;
    color: #475569;
}

.candidate-share-reviewer-state.is-partial {
    background: #dbeafe;
    color: #1d4ed8;
}

.candidate-share-reviewer-state.is-full {
    background: #dcfce7;
    color: #047857;
}

.candidate-share-reviewer-state.is-assigned {
    background: var(--bs-secondary-bg);
    color: var(--bs-body-color);
}

.candidate-share-target-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-bottom: 0.85rem;
}

.candidate-share-channel-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: flex-start;
    gap: 0.65rem;
    min-height: 5rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 0.95rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #334155;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.candidate-share-channel-option:hover {
    border-color: rgba(37, 99, 235, 0.34);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.1);
}

.candidate-share-target-switch .btn-check:focus-visible + .candidate-share-channel-option {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14), 0 14px 28px rgba(37, 99, 235, 0.1);
}

.candidate-share-target-switch .btn-check:checked + .candidate-share-channel-option {
    border-color: rgba(37, 99, 235, 0.54);
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    color: #1d4ed8;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.14);
}

.candidate-share-target-switch .btn-check:disabled + .candidate-share-channel-option {
    cursor: not-allowed;
    opacity: 0.62;
    box-shadow: none;
}

.candidate-share-channel-option__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.78rem;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 1rem;
}

.candidate-share-target-switch .btn-check:checked + .candidate-share-channel-option .candidate-share-channel-option__icon {
    background: #2563eb;
    color: #ffffff;
}

.candidate-share-channel-option__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.candidate-share-channel-option__copy strong {
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.18;
}

.candidate-share-channel-option__copy small {
    color: #64748b;
    font-size: 0.74rem;
    line-height: 1.35;
}

.candidate-share-target-workspaces {
    display: grid;
    gap: 0.85rem;
}

.candidate-share-workspace {
    padding: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1rem;
    background: #f8fafc;
}

.candidate-share-workspace--reviewers {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.candidate-share-workspace--public {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.candidate-share-workspace__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.candidate-share-workspace__head h6 {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    margin: 0 0 0.18rem;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 800;
}

.candidate-share-workspace__head h6 i {
    color: #2563eb;
    font-size: 0.86rem;
}

.candidate-share-workspace__head p {
    margin: 0;
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.35;
}

.candidate-share-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
}

.candidate-share-toolbar__filters {
    flex: 1 1 42rem;
    width: 100%;
    margin: 0;
}

.candidate-share-toolbar__actions {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.candidate-share-toolbar__actions--applications {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.candidate-share-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.2rem;
    padding: 0.42rem 0.82rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.72rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.candidate-share-action-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    font-size: 0.78rem;
    background: var(--bs-body-bg);
}

.candidate-share-action-btn,
.candidate-share-action-btn:hover,
.candidate-share-action-btn:focus,
.candidate-share-action-btn:focus-visible,
.candidate-share-action-btn:active {
    text-decoration: none;
}

.candidate-share-action-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.candidate-share-action-btn:disabled {
    opacity: 0.55;
    box-shadow: none;
}

.candidate-share-action-btn--select {
    background: rgba(var(--tl-primary-rgb), 0.08);
    border-color: rgba(var(--tl-primary-rgb), 0.24);
    color: var(--tl-primary);
}

.candidate-share-action-btn--select:hover,
.candidate-share-action-btn--select:focus,
.candidate-share-action-btn--select:focus-visible,
.candidate-share-action-btn--select:active {
    background: rgba(var(--tl-primary-rgb), 0.12);
    border-color: rgba(var(--tl-primary-rgb), 0.34);
    color: var(--tl-primary);
}

.candidate-share-action-btn--clear {
    background: var(--bs-body-bg);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

.candidate-share-action-btn--clear:hover,
.candidate-share-action-btn--clear:focus,
.candidate-share-action-btn--clear:focus-visible,
.candidate-share-action-btn--clear:active {
    background: var(--bs-secondary-bg);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

.candidate-share-action-btn--reset {
    background: var(--bs-body-bg);
    border-color: rgba(var(--tl-primary-rgb), 0.24);
    color: var(--tl-primary);
}

.candidate-share-action-btn--reset:hover,
.candidate-share-action-btn--reset:focus,
.candidate-share-action-btn--reset:focus-visible,
.candidate-share-action-btn--reset:active {
    background: rgba(var(--tl-primary-rgb), 0.06);
    border-color: rgba(var(--tl-primary-rgb), 0.34);
    color: var(--tl-primary);
}

.candidate-share-action-btn--clear i {
    background: var(--bs-secondary-bg);
    color: var(--bs-secondary-color);
}

.candidate-share-action-btn--reset i {
    background: rgba(var(--tl-primary-rgb), 0.08);
    color: var(--tl-primary);
}

.candidate-share-search-inline {
    flex: 1 1 18rem;
    min-width: 16rem;
}

.candidate-share-search-inline .admin-search-icon-btn[disabled] {
    opacity: 0.45;
    pointer-events: none;
}

.candidate-share-toolbar__filters > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.candidate-share-toolbar .form-select {
    width: 100%;
}

.candidate-share-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.candidate-share-list--reviewers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.candidate-share-list--applications {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.candidate-share-item {
    display: flex;
    align-items: center;
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #fff;
    border-radius: 0.95rem;
    padding: 0.7rem 0.8rem;
    gap: 0.8rem;
    min-width: 0;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.candidate-share-item--reviewer {
    align-items: center;
    min-height: 0;
}

.candidate-share-item:hover {
    border-color: rgba(37, 99, 235, 0.48);
    background: linear-gradient(180deg, #ffffff 0%, #dbeafe 100%);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.18);
    transform: translateY(-2px);
}

.candidate-share-item--reviewer:hover {
    border-color: rgba(37, 99, 235, 0.48);
    background: linear-gradient(180deg, #ffffff 0%, #dbeafe 100%);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.18);
}

.candidate-share-item.is-locked,
.candidate-share-item.is-locked:hover {
    cursor: not-allowed;
    border-color: rgba(148, 163, 184, 0.36);
    background: linear-gradient(180deg, var(--bs-body-bg) 0%, var(--bs-secondary-bg) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transform: none;
}

.candidate-share-item.is-locked .candidate-share-item__check {
    background: linear-gradient(180deg, var(--bs-body-bg) 0%, var(--bs-secondary-bg) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.candidate-share-item.is-selected {
    border-color: rgba(37, 99, 235, 0.78);
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.16), 0 18px 34px rgba(37, 99, 235, 0.18);
    transform: translateY(-1px);
}

.candidate-share-item.is-selected:hover {
    border-color: rgba(37, 99, 235, 0.88);
    background: linear-gradient(180deg, #eaf3ff 0%, #cfe5ff 100%);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.22), 0 20px 38px rgba(37, 99, 235, 0.2);
}

.candidate-share-item.is-focused,
.candidate-share-item:focus-within {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.candidate-share-item.is-selected.is-focused,
.candidate-share-item.is-selected:focus-within {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16), 0 18px 34px rgba(37, 99, 235, 0.18);
}

.candidate-share-item.is-share-remove {
    border-color: rgba(220, 38, 38, 0.36);
    background: linear-gradient(180deg, #fff 0%, #fef2f2 100%);
}

.candidate-share-item.is-share-add {
    border-color: rgba(22, 163, 74, 0.34);
    background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
}

.candidate-share-item__check {
    flex: 0 0 auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    border-radius: 0.7rem;
    background: linear-gradient(180deg, #ffffff 0%, #edf4ff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 10px 20px rgba(148, 163, 184, 0.16);
    margin-top: 0;
}

.candidate-share-item__media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.38rem;
    flex: 0 0 auto;
}

.candidate-share-item__check input {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    width: 1.05rem;
    height: 1.05rem;
    border: 1px solid rgba(100, 116, 139, 0.42);
    border-radius: 0.35rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: inset 0 1px 2px rgba(148, 163, 184, 0.2);
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.candidate-share-item__check input:hover {
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: inset 0 1px 2px rgba(37, 99, 235, 0.12), 0 0 0 4px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.candidate-share-item__check input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

.candidate-share-item__check input:checked {
    border-color: #1d4ed8;
    background-color: #2563eb;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M3.25 8.5l3 3L12.75 5'/%3E%3C/svg%3E"), linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.72rem 0.72rem, auto;
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.28);
}

.candidate-share-item__check input:checked:hover {
    border-color: #1e40af;
    box-shadow: 0 12px 20px rgba(37, 99, 235, 0.32), 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.candidate-share-item.is-locked .candidate-share-item__check input {
    cursor: not-allowed;
    opacity: 0.58;
    box-shadow: none;
}

.candidate-share-item.is-locked .candidate-share-item__avatar {
    filter: grayscale(0.22) saturate(0.82);
    opacity: 0.9;
}

.candidate-share-item.is-locked .candidate-share-item__copy strong,
.candidate-share-item.is-locked .candidate-share-item__copy small,
.candidate-share-item.is-locked .candidate-share-item__count,
.candidate-share-item.is-locked .candidate-share-item__hint {
    color: var(--bs-secondary-color);
}

.candidate-share-item__avatar {
    width: 2rem;
    height: 2rem;
    object-fit: cover;
    flex: 0 0 2rem;
    border-radius: 999px;
}

.candidate-share-item--reviewer .candidate-share-item__avatar {
    width: 2.9rem;
    height: 2.9rem;
    flex: 0 0 2.9rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.candidate-share-item--reviewer .candidate-share-item__check {
    min-width: 1.85rem;
    min-height: 1.85rem;
    border-radius: 0.6rem;
}

.candidate-share-item__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 0.12rem;
}

.candidate-share-item__body {
    min-width: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
}

.candidate-share-item--application .candidate-share-item__copy {
    justify-content: center;
}

.candidate-share-item__copy strong {
    line-height: 1.2;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: normal;
    overflow-wrap: anywhere;
}

.candidate-share-item__copy small {
    color: var(--bs-secondary-color);
    font-size: 0.72rem;
    line-height: 1.2;
}

.candidate-share-item__hint {
    color: #b45309;
    font-size: 0.69rem;
    line-height: 1.2;
}

.candidate-share-item__meta-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.candidate-share-item__preset {
    display: inline-flex;
    align-items: center;
    min-height: 1.2rem;
    padding: 0.08rem 0.4rem;
    border-radius: 999px;
    background: rgba(var(--tl-primary-rgb), 0.1);
    color: var(--tl-primary);
    font-size: 0.67rem;
    font-weight: 700;
}

.candidate-share-item.is-selected .candidate-share-item__copy strong {
    color: #0f172a;
}

.candidate-share-item__footer {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    flex-wrap: wrap;
}

.candidate-share-item__meta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.candidate-share-item__meta--application {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.22rem;
}

.candidate-share-item__change-row,
.candidate-share-item__status-row {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    max-width: 100%;
}

.candidate-share-application__stage {
    display: inline-flex;
    align-items: center;
    min-height: 1.2rem;
    padding: 0.08rem 0.4rem;
    border-radius: 999px;
    border: 1px solid var(--candidate-share-stage-border, rgba(55, 48, 163, 0.18));
    background: var(--candidate-share-stage-bg, #eef2ff);
    color: var(--candidate-share-stage-color, #3730a3);
    font-size: 0.67rem;
    font-weight: 800;
}

.candidate-share-change-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.2rem;
    padding: 0.08rem 0.42rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
    white-space: nowrap;
}

.candidate-share-change-badge--remove {
    background: #fef2f2;
    color: #b91c1c;
}

.candidate-share-change-badge--add {
    background: #dcfce7;
    color: #15803d;
}

.candidate-share-change-badge--keep {
    background: #eff6ff;
    color: #1d4ed8;
}

.candidate-share-remove-btn {
    font-weight: 800;
}

.candidate-share-item__count {
    color: #64748b;
    font-size: 0.71rem;
    font-weight: 700;
    white-space: nowrap;
}

.candidate-share-origin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.2rem;
    padding: 0.08rem 0.45rem;
    border-radius: 999px;
    background: #ecfeff;
    color: #0f766e;
    font-size: 0.67rem;
    font-weight: 800;
}

.candidate-share-item__icon {
    color: #2563eb;
    font-size: 0.8rem;
}

.candidate-share-mode {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0;
    flex: 0 0 auto;
    align-self: flex-start;
    justify-content: flex-end;
    min-width: 16rem;
    max-width: 100%;
}

.candidate-share-block {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #0f172a;
}

.candidate-share-mode .btn.active {
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.candidate-share-mode .btn {
    min-width: 9rem;
}

.candidate-share-individual-tools {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    margin-bottom: 0.9rem;
}

.candidate-share-individual-switch {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0;
    min-height: 2rem;
}

.candidate-share-individual-switch .form-check-input {
    float: none;
    margin: 0;
    width: 2.75rem;
    height: 1.45rem;
    cursor: pointer;
}

.candidate-share-individual-switch .form-check-label {
    display: flex;
    align-items: center;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
}

.candidate-share-reviewer-tabs {
    margin-bottom: 0.9rem;
}

.candidate-share-reviewer-tabs__label {
    color: #475569;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.candidate-share-reviewer-tabs__items {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: thin;
}

.candidate-share-reviewer-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.14rem;
    min-width: 12rem;
    padding: 0.72rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 0.95rem;
    background: #fff;
    color: #0f172a;
    text-align: left;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.candidate-share-reviewer-tab:hover,
.candidate-share-reviewer-tab:focus-visible {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
}

.candidate-share-reviewer-tab.is-active {
    border-color: rgba(37, 99, 235, 0.45);
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.16);
}

.candidate-share-reviewer-tab__name {
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
}

.candidate-share-reviewer-tab__meta {
    font-size: 0.72rem;
    color: #475569;
    font-weight: 700;
}

.candidate-share-visibility-note {
    color: #64748b;
    font-size: 0.74rem;
    margin-top: 0.45rem;
}

.candidate-share-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.candidate-share-presets--aside {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.3rem;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 0;
}

.candidate-share-presets--aside::-webkit-scrollbar {
    display: none;
}

.candidate-share-preset {
    flex: 0 0 auto;
    position: relative;
    min-height: 1.72rem;
    padding: 0.28rem 0.48rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.candidate-share-preset.is-active {
    border-color: rgba(37, 99, 235, 0.24);
    background: #eff6ff;
    color: #1d4ed8;
}

.candidate-share-preset:disabled {
    opacity: 0.62;
    cursor: not-allowed;
}

.candidate-share-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.candidate-share-block--global {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 1.95rem;
    padding: 0.38rem 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.candidate-share-block--global input {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    width: 0.95rem;
    height: 0.95rem;
    border: 1px solid rgba(100, 116, 139, 0.42);
    border-radius: 0.3rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: inset 0 1px 2px rgba(148, 163, 184, 0.18);
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.candidate-share-block--global input:hover {
    border-color: rgba(37, 99, 235, 0.48);
    box-shadow: inset 0 1px 2px rgba(37, 99, 235, 0.12), 0 0 0 4px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.candidate-share-block--global input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

.candidate-share-block--global input:checked {
    border-color: #1d4ed8;
    background-color: #2563eb;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M3.25 8.5l3 3L12.75 5'/%3E%3C/svg%3E"), linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.64rem 0.64rem, auto;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.22);
}

.candidate-share-block--global.is-active {
    border-color: rgba(37, 99, 235, 0.2);
    background: #eff6ff;
    color: #1d4ed8;
}

.candidate-share-block--global.is-disabled {
    opacity: 0.52;
    cursor: not-allowed;
}

.candidate-share-presets.is-disabled,
.candidate-share-blocks.is-disabled {
    opacity: 0.72;
}

.candidate-share-footer-summary {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    margin-right: auto;
    color: #475569;
    font-size: 0.78rem;
}

.candidate-share-footer-summary strong {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #0f172a;
    font-size: 0.8rem;
}

.candidate-share-footer-summary span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.candidate-share-footer-summary__warning {
    color: #b91c1c;
    font-weight: 800;
}

.candidate-share-empty {
    padding: 1rem;
    border: 1px dashed rgba(148, 163, 184, 0.32);
    color: #64748b;
    text-align: center;
    background: rgba(248, 250, 252, 0.85);
}

.candidate-share-public-recipients {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.95rem;
    background: #ffffff;
    padding: 0.8rem;
}

.candidate-share-public-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.32fr);
    align-items: start;
    gap: 0.8rem;
}

.candidate-share-public-grid__history {
    grid-column: 1 / -1;
}

.candidate-share-public-expiry {
    min-width: 0;
    padding: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.95rem;
    background: #ffffff;
}

.candidate-share-public-recipient-list {
    display: grid;
    gap: 0.65rem;
}

.candidate-share-public-editing {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
    padding: 0.72rem 0.8rem;
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 0.85rem;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    color: #334155;
}

.candidate-share-public-editing__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.7rem;
    background: #2563eb;
    color: #ffffff;
}

.candidate-share-public-editing__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.candidate-share-public-editing__copy strong {
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
}

.candidate-share-public-editing__copy span {
    color: #475569;
    font-size: 0.74rem;
    line-height: 1.35;
}

.candidate-share-public-recipient-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
    align-items: start;
    gap: 0.65rem;
    border: 1px solid rgba(203, 213, 225, 0.88);
    border-radius: 14px;
    background: #ffffff;
    padding: 0.75rem;
}

.candidate-share-public-recipient-row__remove {
    width: 2.35rem;
    height: 2.35rem;
    align-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.candidate-share-public-recipient-row__remove.is-disabled {
    visibility: hidden;
}

.candidate-share-public-history {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.95rem;
    background: #ffffff;
    padding: 0.8rem;
}

.candidate-share-public-history__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
}

.candidate-share-public-history__list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-height: 360px;
    overflow: auto;
    padding-right: 0.15rem;
}

.candidate-share-public-card {
    display: block;
    padding: 0.82rem 0.9rem;
    border: 1px solid rgba(203, 213, 225, 0.88);
    border-radius: 14px;
    background: #ffffff;
}

.candidate-share-public-card__summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
    list-style: none;
}

.candidate-share-public-card__summary::-webkit-details-marker {
    display: none;
}

.candidate-share-public-card__chevron {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: #eef2f7;
    color: #475569;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.candidate-share-public-card[open] .candidate-share-public-card__chevron {
    transform: rotate(180deg);
    background: #dbeafe;
    color: #1d4ed8;
}

.candidate-share-public-card__details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 34rem);
    align-items: end;
    gap: 0.55rem 0.8rem;
    margin-top: 0.62rem;
    padding-top: 0.62rem;
    border-top: 1px solid #e2e8f0;
}

.candidate-share-public-card--expired {
    background: #fffaf0;
}

.candidate-share-public-card--revoked {
    background: #fff5f5;
}

.candidate-share-public-card__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    flex: 1 1 auto;
}

.candidate-share-public-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.candidate-share-public-card__head-side {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.candidate-share-public-card__details-info {
    min-width: 0;
    display: grid;
    gap: 0.42rem;
}

.candidate-share-public-card__details-actions {
    min-width: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.42rem;
}

.candidate-share-public-card__identity {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
}

.candidate-share-public-card__identity strong {
    color: #0f172a;
    font-size: 0.92rem;
    line-height: 1.2;
}

.candidate-share-public-card__identity span {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.25;
}

.candidate-share-public-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem 0.5rem;
}

.candidate-share-public-card__chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.56rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.81rem;
    font-weight: 600;
}

.candidate-share-public-card__chips .candidate-share-public-card__status {
    background: rgba(47, 191, 113, 0.16) !important;
    color: #15803d !important;
}

.candidate-share-public-card__chips .candidate-share-public-card__status--expired {
    background: rgba(245, 158, 11, 0.16) !important;
    color: #b45309 !important;
}

.candidate-share-public-card__chips .candidate-share-public-card__status--revoked {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #b91c1c !important;
}

.candidate-share-public-card__chips span strong {
    color: #0f172a;
    font-weight: 700;
}

.candidate-share-public-expiry-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.candidate-share-public-expiry-quick .btn {
    flex: 1 1 0;
    min-width: 0;
}

.candidate-share-public-expiry-quick .btn.active {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.candidate-share-public-card__names {
    min-width: 0;
    color: #475569;
    font-size: 0.84rem;
    line-height: 1.35;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.candidate-share-public-card__names strong,
.candidate-share-public-card__names span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.candidate-share-public-card__names strong {
    color: #0f172a;
    flex: 0 0 auto;
}

.candidate-share-public-card__names span {
    min-width: 0;
}

.candidate-share-public-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    min-width: 0;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.25;
}

.candidate-share-public-card__meta span {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
}

.candidate-share-public-card__meta span + span::before {
    content: '·';
    margin-right: 0.55rem;
    color: #94a3b8;
}

.candidate-share-public-card__meta strong {
    color: #0f172a;
    font-weight: 600;
}

.candidate-share-public-card__status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.56rem;
    border-radius: 999px;
    font-size: 0.79rem;
    font-weight: 700;
    white-space: nowrap;
}

.candidate-share-public-card__status--active {
    background: rgba(47, 191, 113, 0.14);
    color: #15803d;
}

.candidate-share-public-card__status--expired {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.candidate-share-public-card__status--revoked {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.candidate-share-public-card__actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.candidate-share-public-card__actions .btn {
    padding: 0.42rem 0.72rem;
    font-size: 0.82rem;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .candidate-share-panel__head,
    .candidate-share-toolbar,
    .candidate-share-toolbar__actions,
    .candidate-share-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .candidate-share-panel__aside {
        width: 100%;
        min-width: 0;
    }

    .candidate-share-presets--aside {
        gap: 0.35rem;
    }

    .candidate-share-search-inline {
        width: 100%;
        min-width: 0;
    }

    .candidate-share-target-switch,
    .candidate-share-public-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .candidate-share-channel-option {
        min-height: 0;
    }

    .candidate-share-list--reviewers {
        grid-template-columns: minmax(0, 1fr);
    }

    .candidate-share-list--applications {
        grid-template-columns: minmax(0, 1fr);
    }

    .candidate-share-item__meta {
        margin-left: 0;
        justify-content: flex-start;
    }

    .candidate-share-item__meta--application,
    .candidate-share-item__change-row,
    .candidate-share-item__status-row {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .candidate-share-mode .btn,
    .candidate-share-toolbar__actions .btn {
        width: 100%;
    }

    .candidate-share-individual-tools {
        flex-direction: column;
        align-items: flex-start;
    }

    .candidate-share-reviewer-tab {
        width: 100%;
        min-width: 0;
    }

    .candidate-share-public-recipient-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .candidate-share-public-editing {
        grid-template-columns: minmax(0, 1fr);
    }

    .candidate-share-public-recipient-row__remove {
        width: 100%;
    }

    .candidate-share-public-history__head,
    .candidate-share-public-card,
    .candidate-share-public-card__head,
    .candidate-share-public-card__head-side,
    .candidate-share-public-card__details-actions,
    .candidate-share-public-card__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .candidate-share-public-expiry-quick .btn {
        flex-basis: 100%;
    }

    .candidate-share-stepper {
        grid-template-columns: minmax(0, 1fr);
    }

    .candidate-share-confirm-summary__hero,
    .candidate-share-wizard-intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .candidate-share-confirm-summary__stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .candidate-share-confirm-summary__applications-head,
    .candidate-share-confirm-summary__application-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.18rem;
    }

    .candidate-share-confirm-summary__applications-head {
        display: none;
    }

    .candidate-share-confirm-summary__application-row span {
        white-space: normal;
    }

    .candidate-share-public-card__details {
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }

    .candidate-share-public-card__details-actions {
        width: 100%;
    }

    .candidate-share-public-card__actions {
        width: 100%;
    }

    .candidate-share-public-card__meta {
        flex-wrap: wrap;
    }

    .candidate-share-public-card__meta span + span::before {
        margin-right: 0.4rem;
    }
}

.candidate-note-item__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.45rem;
}

.candidate-note-item__author {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    min-width: 0;
}

.candidate-note-item__author img {
    width: 36px;
    height: 36px;
    border-radius: 0;
    object-fit: cover;
    flex: 0 0 36px;
}

.candidate-note-item__name {
    font-weight: 600;
    font-size: 0.92rem;
    color: #0f172a;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    line-height: 1.2;
}

.candidate-note-item__meta {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.25;
}

.candidate-note-item__visibility {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-end;
    text-align: right;
    flex: 0 0 auto;
}

.candidate-note-item__visibility-summary {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    max-width: 100%;
}

.candidate-note-item__visibility-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.34rem;
    padding: 0.18rem 0.58rem;
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 999px;
    background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.1);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.candidate-note-item__visibility-trigger:hover,
.candidate-note-item__visibility-trigger:focus,
.candidate-note-item__visibility-trigger:focus-visible {
    background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 100%);
    border-color: rgba(37, 99, 235, 0.34);
    color: #1d4ed8;
    outline: none;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.14);
    text-decoration: none;
}

.candidate-note-item__visibility-trigger i {
    font-size: 0.73rem;
    color: #2563eb;
}

.candidate-note-item__actions {
    display: flex;
    gap: 0.28rem;
    justify-content: flex-end;
}

.candidate-note-item__actions .btn {
    font-size: 0.95rem;
    text-decoration: none;
}

.candidate-note-item__actions .btn:disabled {
    opacity: 0.55;
}

.employer-ops-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.employer-ops-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.employer-ops-hero__copy {
    min-width: 0;
    max-width: 48rem;
}

.employer-ops-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 0.35rem;
    color: #0f766e;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.employer-ops-hero h4 {
    margin: 0 0 0.35rem;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0;
}

.employer-ops-hero p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.employer-ops-hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
    flex: 0 0 auto;
}

.employer-ops-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.employer-ops-stat,
.employer-ops-panel {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.employer-ops-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.85rem 0.95rem;
}

.employer-ops-stat__icon {
    display: grid;
    place-items: center;
    flex: 0 0 2.4rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.8rem;
    background: #eff6ff;
    color: #1d4ed8;
}

.employer-ops-stat__icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
}

.employer-ops-stat strong,
.employer-ops-stat > div > span {
    display: block;
}

.employer-ops-stat strong {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.1;
}

.employer-ops-stat span {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 700;
}

.employer-ops-panel {
    padding: 1rem;
}

.employer-ops-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.employer-ops-panel__head h5 {
    margin: 0;
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 800;
}

.employer-ops-empty {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 12rem;
    padding: 1rem;
    border: 1px dashed rgba(148, 163, 184, 0.38);
    border-radius: 0.9rem;
    background: #f8fafc;
    color: #64748b;
}

.employer-ops-empty i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.6rem;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.85rem;
    background: #ffffff;
    color: #2563eb;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.employer-ops-empty p {
    margin: 0;
    color: #475569;
    font-size: 0.86rem;
    line-height: 1.45;
}

.employer-ops-checklist {
    display: grid;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.employer-ops-checklist li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.55rem;
    align-items: flex-start;
    padding: 0.7rem 0.75rem;
    border: 1px solid rgba(20, 184, 166, 0.16);
    border-radius: 0.75rem;
    background: #f0fdfa;
    color: #334155;
    font-size: 0.84rem;
    line-height: 1.35;
}

.employer-ops-checklist i {
    margin-top: 0.12rem;
    color: #0f766e;
}

.employer-ops-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.employer-ops-flow__step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 3.25rem;
    padding: 0.75rem;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 0.85rem;
    background: #f8fbff;
}

.employer-ops-flow__step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.7rem;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
}

.employer-ops-flow__step strong {
    min-width: 0;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
}

@media (max-width: 991.98px) {
    .employer-ops-hero,
    .employer-ops-hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .employer-ops-stats,
    .employer-ops-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .employer-interviews-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .employer-interviews-row__actions,
    .employer-interviews-board__actions,
    .employer-interviews-board__filters {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .employer-ops-stats,
    .employer-ops-flow {
        grid-template-columns: minmax(0, 1fr);
    }

    .employer-ops-hero__actions .btn {
        width: 100%;
    }
}

.candidate-note-item__body {
    color: #1e293b;
    line-height: 1.35;
    font-size: 0.84rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

.candidate-note-item__body-host {
    order: 2;
}

.candidate-note-item__attachments-host {
    order: 3;
}

.candidate-note-item--editing .candidate-note-item__attachments-host {
    order: 2;
}

.candidate-note-item--editing .candidate-note-item__body-host {
    order: 3;
}

.candidate-note-item__editor {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
}

.candidate-note-item__edit-input {
    min-height: 84px;
    resize: vertical;
    font-size: 0.84rem;
    line-height: 1.35;
    border-radius: 0;
    padding: 0.48rem 0.55rem;
}

.candidate-note-inline-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.candidate-note-inline-visibility,
.candidate-note-inline-attachments-tools {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.candidate-note-inline-visibility-popover {
    position: absolute;
    left: 0;
    bottom: calc(100% + 0.35rem);
    width: min(280px, calc(100vw - 2rem));
    max-height: min(320px, calc(100vh - 16rem));
    overflow-y: auto;
    padding: 0.55rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0;
    background: #ffffff;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
    z-index: 20;
}

.candidate-note-inline-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.candidate-note-inline-attachments .candidate-note-attachment-chip {
    padding: 0.26rem 0.42rem;
    border-radius: 0;
}

.candidate-note-inline-attachments .candidate-note-attachment-chip--image {
    display: block;
    width: 46px;
    height: 46px;
    padding: 0;
    gap: 0;
    border-radius: 0;
}

.candidate-note-inline-attachments .candidate-note-attachment-chip__name {
    font-size: 0.74rem;
    max-width: 140px;
}

.candidate-note-inline-attachments .candidate-note-attachment-chip__remove {
    top: 0.15rem;
    right: 0.15rem;
}

.candidate-note-item__attachments {
    margin-top: 0.45rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.35rem;
}

.candidate-note-item--editing .candidate-note-item__attachments {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

.candidate-note-item__attachment-wrap {
    position: relative;
}

.candidate-note-item__attachment {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0;
    padding: 0.35rem 0.5rem;
    text-decoration: none;
    color: #0f172a;
    background: #f8fafc;
    text-align: left;
    width: fit-content;
    font-size: 0.76rem;
    line-height: 1.2;
}

.candidate-note-item__attachment:hover {
    background: #eff6ff;
    border-color: rgba(59, 130, 246, 0.22);
    color: #0f172a;
}

.candidate-note-item__attachment--image {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    background: #e2e8f0;
}

.candidate-note-item__attachment-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.candidate-note-item__attachment-remove {
    position: absolute;
    top: 0.18rem;
    right: 0.18rem;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.76);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    backdrop-filter: blur(6px);
}

.candidate-note-item__attachment-remove:hover {
    background: rgba(185, 28, 28, 0.92);
    color: #ffffff;
}

.candidate-rejection-modal .modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
}

.candidate-rejection-modal__hero {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(244, 63, 94, 0.14);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff1f2 0%, #ffffff 100%);
    margin-bottom: 1rem;
}

.candidate-rejection-modal__icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #ffe4e6;
    color: #e11d48;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex: 0 0 52px;
}

.candidate-rejection-modal__hero-copy {
    min-width: 0;
}

.candidate-rejection-modal__switch {
    margin-bottom: 1rem;
}

.candidate-rejection-modal__layout {
    min-height: 32rem;
}

.candidate-rejection-modal__panel {
    border: 1px solid #d8e2f0;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 0.8rem;
}

.candidate-rejection-modal__panel-head {
    margin-bottom: 1rem;
}

.candidate-rejection-modal__textarea {
    min-height: 14rem;
    resize: vertical;
}

.candidate-rejection-modal__sidebar {
    position: sticky;
    top: 0;
}

.candidate-rejection-modal__preview {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.candidate-rejection-modal__preview-card {
    border: 1px solid #d8e2f0;
    border-radius: 1rem;
    background: #fff;
    padding: 1rem;
}

.candidate-rejection-modal__preview-subject {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.45;
    margin-bottom: 0.85rem;
    word-break: break-word;
}

.candidate-rejection-modal__preview-body {
    font-size: 0.94rem;
    color: #475569;
    line-height: 1.7;
    white-space: normal;
}

.candidate-rejection-modal__context-list {
    display: grid;
    gap: 0.7rem;
}

.candidate-rejection-modal__recipients-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
}

.candidate-rejection-modal__recipients-stats {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.candidate-rejection-modal__recipients {
    display: grid;
    gap: 0.3rem;
    max-height: 17rem;
    overflow: auto;
}

.candidate-rejection-modal__recipients-toolbar {
    display: grid;
    gap: 0.35rem;
}

.candidate-rejection-modal__recipients-toolbar--single {
    grid-template-columns: minmax(0, 1fr);
}

.candidate-rejection-modal__recipients-search {
    min-width: 0;
}

.candidate-rejection-modal__recipient-filters {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.candidate-rejection-modal__recipient-filter {
    border: 1px solid #d8e2f0;
    background: #fff;
    color: #475569;
    border-radius: 999px;
    padding: 0.18rem 0.45rem;
    font-size: 0.68rem;
    line-height: 1.1;
    transition: all 0.18s ease;
}

.candidate-rejection-modal__recipient-filter.is-active {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.candidate-rejection-modal__recipients-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.candidate-rejection-modal__recipients-actions .btn {
    padding: 0.18rem 0.45rem;
    line-height: 1.15;
}

.candidate-rejection-recipients-empty {
    padding: 0.85rem 0.9rem;
    border: 1px dashed #cbd5e1;
    border-radius: 0.85rem;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.82rem;
}

.candidate-rejection-recipient {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.35rem;
    align-items: center;
    padding: 0.3rem 0.42rem;
    border: 1px solid #d8e2f0;
    border-radius: 0.58rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.candidate-rejection-recipient:hover {
    border-color: #b7cdf6;
    background: #f8fbff;
}

.candidate-rejection-recipient--disabled {
    cursor: not-allowed;
    opacity: 0.82;
    background: #f8fafc;
}

.candidate-rejection-recipient__toggle {
    padding-top: 0.05rem;
}

.candidate-rejection-recipient__toggle input {
    width: 0.88rem;
    height: 0.88rem;
}

.candidate-rejection-recipient__content {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
}

.candidate-rejection-recipient__name-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: nowrap;
    min-width: 0;
}

.candidate-rejection-recipient__avatar {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 1.2rem;
    background: #e2e8f0;
}

.candidate-rejection-recipient__name {
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    min-width: 0;
}

.candidate-rejection-recipient__meta {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.18rem;
    align-items: center;
    min-width: 0;
}

.candidate-rejection-recipient__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.05rem 0.26rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.58rem;
    line-height: 1.1;
    white-space: nowrap;
}

.candidate-rejection-recipient__pill--hunting {
    background: #fef3c7;
    color: #92400e;
}

.candidate-rejection-recipient__pill--blocked {
    background: #f1f5f9;
    color: #475569;
}

.candidate-rejection-recipient__reason {
    font-size: 0.58rem;
    color: #64748b;
    line-height: 1.2;
    max-width: 6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.candidate-rejection-modal__context-row {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.86);
}

.candidate-rejection-modal__context-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.candidate-rejection-modal__context-value {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #0f172a;
}

.candidate-rejection-modal__variables {
    display: grid;
    gap: 0.55rem;
}

.candidate-rejection-modal__token {
    width: 100%;
    display: block;
    text-align: left;
    padding: 0.7rem 0.8rem;
    border-radius: 0.85rem;
    background: #fff;
    border: 1px solid #d8e2f0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.candidate-rejection-modal__token:hover,
.candidate-rejection-modal__token:focus-visible {
    border-color: #7fb0ff;
    background: #f8fbff;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.12);
    outline: 0;
}

.candidate-rejection-modal__token-code {
    display: inline-flex;
    align-items: center;
    color: #7a4d00;
    background: rgba(242, 201, 76, 0.18);
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
    margin-bottom: 0.3rem;
    font-size: 0.78rem;
    font-family: var(--bs-font-monospace);
}

.candidate-rejection-modal__token-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.candidate-rejection-modal__token-help {
    display: block;
    font-size: 0.76rem;
    color: #64748b;
    margin-top: 0.12rem;
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .candidate-rejection-modal__sidebar {
        position: static;
    }

    .candidate-side-stack {
        height: auto;
    }

    .candidate-checklist-panel,
    .candidate-notes-panel {
        flex: 0 0 auto;
        min-height: 0;
    }
}

.candidate-checklist-composer {
    padding: 0.45rem 0.7rem 0.55rem;
    border: 0;
    border-top: 1px solid rgba(var(--bs-body-color-rgb), 0.12);
    background-color: #fbf7ef;
    box-shadow: none;
}

.candidate-checklist-composer__title {
    margin-bottom: 0.48rem;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8b6b45;
}

.candidate-checklist-composer__title-required {
    color: #b45309;
}

.candidate-checklist-composer__row {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.candidate-checklist-composer__input {
    min-height: 2.9rem;
    padding: 0.7rem 0.9rem 0.78rem;
    border: 1px solid rgba(120, 53, 15, 0.14);
    border-radius: 0.95rem;
    background: rgba(255, 252, 245, 0.96);
    font-size: 0.88rem;
    line-height: 1.4;
    color: #4b3422;
    box-shadow: 0 8px 18px rgba(88, 28, 12, 0.04);
}

.candidate-checklist-composer__input::placeholder {
    color: #a08a6a;
}

.candidate-checklist-composer__input:focus {
    background: #fffdf8;
    border-color: rgba(180, 83, 9, 0.28);
    box-shadow: 0 0 0 0.18rem rgba(180, 83, 9, 0.08);
}

.candidate-checklist-composer__input.is-invalid,
.candidate-checklist-composer__date.is-invalid {
    border-color: rgba(var(--bs-danger-rgb), 0.52);
    box-shadow: 0 0 0 0.18rem rgba(var(--bs-danger-rgb), 0.08);
}

.candidate-checklist-composer__meta {
    display: flex;
    align-items: flex-end;
    gap: 0.65rem;
}

.candidate-checklist-composer__date-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.candidate-checklist-composer__date {
    min-height: 2.5rem;
    padding: 0.58rem 0.8rem 0.62rem;
    border: 1px solid rgba(120, 53, 15, 0.16);
    border-radius: 0.85rem;
    background: rgba(255, 252, 245, 0.96);
    font-size: 0.82rem;
    line-height: 1.2;
    color: #5b4631;
    box-shadow: 0 6px 16px rgba(88, 28, 12, 0.04);
}

.candidate-checklist-composer__date:focus {
    background: #fffdf8;
    border-color: rgba(180, 83, 9, 0.28);
    box-shadow: 0 0 0 0.18rem rgba(180, 83, 9, 0.08);
}

.candidate-checklist-composer .invalid-feedback {
    margin-top: 0.32rem;
    font-size: 0.76rem;
}

.candidate-checklist-composer__submit {
    min-width: 6.1rem;
    height: 2.5rem;
    padding: 0 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    align-self: flex-end;
    border-radius: 0.85rem;
    border: 1.5px solid rgba(var(--bs-body-color-rgb), 0.72);
    background: linear-gradient(180deg, #fffdf7 0%, #f4ead3 100%);
    color: rgba(var(--bs-body-color-rgb), 0.92);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 2px 6px rgba(15, 23, 42, 0.08);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.candidate-checklist-composer__submit:hover,
.candidate-checklist-composer__submit:focus,
.candidate-checklist-composer__submit:focus-visible {
    border-color: rgba(var(--bs-body-color-rgb), 0.88);
    background: linear-gradient(180deg, #fffdf8 0%, #ecdcb4 100%);
    color: rgba(var(--bs-body-color-rgb), 1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 4px 10px rgba(15, 23, 42, 0.12);
}

.candidate-checklist-composer__submit:active {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset, 0 2px 5px rgba(15, 23, 42, 0.08);
}

@media (max-width: 767.98px) {
    .candidate-checklist-composer__meta {
        flex-wrap: wrap;
    }

    .candidate-checklist-item__edit-grid {
        grid-template-columns: 1fr;
    }

    .candidate-checklist-composer__date-wrap {
        flex-basis: 100%;
    }

    .candidate-checklist-composer__submit {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }
}

.candidate-notes-composer {
    margin-top: auto;
    padding: 0.45rem 0.6rem 0.55rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.96);
}

.candidate-notes-composer__editing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(59, 130, 246, 0.16);
    background: #eff6ff;
    border-radius: 14px;
    margin-bottom: 0.9rem;
}

.candidate-notes-composer__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.candidate-notes-composer__input {
    min-height: 82px;
    border-radius: 14px;
    margin-top: 0;
    margin-bottom: 0.4rem;
    resize: vertical;
}

.candidate-notes-composer__footer-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    flex-wrap: wrap;
}

.candidate-notes-composer__action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.36rem;
    min-height: 1.95rem;
    padding: 0.28rem 0.58rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f8fafc;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.1;
    color: #0f172a;
    white-space: nowrap;
}

.candidate-notes-composer__action-btn:hover,
.candidate-notes-composer__action-btn:focus-visible {
    filter: brightness(0.97);
}

.candidate-notes-composer__action-btn--visibility {
    gap: 0.28rem;
    padding-inline: 0.5rem;
    background: #dbeafe;
    border-color: rgba(37, 99, 235, 0.18);
    color: #1d4ed8;
}

#candidate-note-visibility-summary {
    display: inline-block;
    max-width: 8.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.69rem;
}

.candidate-notes-composer__action-btn--attach {
    background: #fef3c7;
    border-color: rgba(217, 119, 6, 0.18);
    color: #b45309;
}

.candidate-notes-composer__action-btn i {
    font-size: 0.82rem;
}

#saveCandidateNotesBtn {
    min-height: 1.95rem;
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.candidate-notes-visibility-popover {
    position: absolute;
    bottom: calc(100% + 0.45rem);
    left: 0;
    width: min(320px, calc(100vw - 2rem));
    max-height: min(360px, calc(100vh - 14rem));
    overflow-y: auto;
    padding: 0.7rem 0.75rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.16);
    z-index: 35;
}

.candidate-notes-visibility-popover__title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.candidate-notes-viewers {
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding-right: 0.1rem;
}

.candidate-notes-viewer-option {
    display: grid;
    grid-template-columns: auto 32px minmax(0, 1fr);
    gap: 0.5rem;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    padding: 0.38rem 0.52rem;
    cursor: pointer;
    background: #fff;
}

.candidate-notes-viewer-option--has-access {
    border-color: rgba(37, 99, 235, 0.18);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.86), #ffffff 70%);
}

.candidate-notes-viewer-option--no-access {
    border-color: rgba(249, 115, 22, 0.18);
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.9), #ffffff 72%);
}

.candidate-notes-viewer-option--all {
    margin-bottom: 0.42rem;
    grid-template-columns: auto minmax(0, 1fr);
}

.candidate-notes-viewer-option img {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    object-fit: cover;
}

.candidate-notes-viewer-option__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.candidate-notes-viewer-option__name {
    display: block;
    color: #0f172a;
    font-weight: 600;
    line-height: 1.25;
    font-size: 0.82rem;
}

.candidate-notes-viewer-option__meta,
.candidate-notes-viewers__empty {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
}

.tooltip.candidate-note-audience-tooltip,
.candidate-note-audience-tooltip {
    --bs-tooltip-bg: #0f172a;
    --bs-tooltip-color: #f8fafc;
    --bs-tooltip-border-color: rgba(148, 163, 184, 0.36);
    --bs-tooltip-opacity: 1;
    --bs-tooltip-padding-x: 0.62rem;
    --bs-tooltip-padding-y: 0.5rem;
}

.tooltip.candidate-note-audience-tooltip .tooltip-inner,
.candidate-note-audience-tooltip .tooltip-inner {
    min-width: 170px;
    max-width: 250px;
    background: #0f172a;
    color: #f8fafc;
    border: 1px solid var(--bs-tooltip-border-color);
    border-radius: 12px;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.24);
    text-align: left;
}

.tooltip.candidate-note-audience-tooltip[data-popper-placement^="top"] .tooltip-arrow::before,
.candidate-note-audience-tooltip[data-popper-placement^="top"] .tooltip-arrow::before {
    border-top-color: #0f172a;
}

.tooltip.candidate-note-audience-tooltip[data-popper-placement^="bottom"] .tooltip-arrow::before,
.candidate-note-audience-tooltip[data-popper-placement^="bottom"] .tooltip-arrow::before {
    border-bottom-color: #0f172a;
}

.tooltip.candidate-note-audience-tooltip[data-popper-placement^="start"] .tooltip-arrow::before,
.candidate-note-audience-tooltip[data-popper-placement^="start"] .tooltip-arrow::before {
    border-left-color: #0f172a;
}

.tooltip.candidate-note-audience-tooltip[data-popper-placement^="end"] .tooltip-arrow::before,
.candidate-note-audience-tooltip[data-popper-placement^="end"] .tooltip-arrow::before {
    border-right-color: #0f172a;
}

.candidate-note-audience-tooltip__list {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
}

.candidate-note-audience-tooltip__item {
    display: block;
    font-size: 0.76rem;
    line-height: 1.3;
    color: #e2e8f0;
}

.candidate-notes-viewer-option__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.14rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.candidate-notes-viewer-option__status.is-access {
    color: #1d4ed8;
}

.candidate-notes-viewer-option__status.is-no-access {
    color: #c2410c;
}

.candidate-notes-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.candidate-note-attachment-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.55rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.24);
    max-width: 100%;
}

.candidate-note-attachment-chip--image {
    position: relative;
    display: block;
    width: 58px;
    height: 58px;
    padding: 0;
    gap: 0;
    border-radius: 16px;
    background: #e2e8f0;
    border: none;
    overflow: hidden;
}

.candidate-note-attachment-chip__preview {
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    display: block;
    cursor: pointer;
    user-select: none;
    -webkit-user-drag: none;
    appearance: none;
    border-radius: inherit;
    overflow: hidden;
    line-height: 0;
    box-shadow: none;
}

.candidate-note-attachment-chip__preview:hover .candidate-note-attachment-chip__thumb,
.candidate-note-attachment-chip__preview:focus-visible .candidate-note-attachment-chip__thumb {
    transform: scale(1.04);
}

.candidate-note-attachment-chip__preview:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.35);
    outline-offset: -2px;
}

.candidate-note-attachment-chip__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.18s ease;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.candidate-note-attachment-chip__name {
    font-size: 0.8rem;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.candidate-note-attachment-chip__remove {
    border: none;
    background: transparent;
    color: #64748b;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.candidate-note-attachment-chip--image .candidate-note-attachment-chip__remove {
    position: absolute;
    top: 0.28rem;
    right: 0.28rem;
    width: 22px;
    height: 22px;
    background: rgba(15, 23, 42, 0.72);
    color: #ffffff;
    backdrop-filter: blur(6px);
}

.candidate-note-attachment-chip__remove:hover {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.12);
}

.candidate-note-attachment-chip--image .candidate-note-attachment-chip__remove:hover {
    color: #ffffff;
    background: rgba(185, 28, 28, 0.92);
}

.app-document-preview-modal .modal-dialog {
    max-width: min(1140px, calc(100vw - 2rem));
    height: calc(100vh - 2rem);
    margin: 1rem auto;
}

.app-document-preview-modal .modal-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 2rem);
    max-height: calc(100vh - 2rem);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 1rem;
    overflow: hidden;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.app-document-preview-modal .modal-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: #ffffff;
}

.app-document-preview-modal .modal-header .modal-title {
    color: #0f172a;
}

.app-document-preview-modal .modal-header .text-muted,
.app-document-preview-modal .modal-header p {
    color: #64748b !important;
}

.app-document-preview-modal .btn-close {
    filter: none;
    opacity: 1;
}

.app-document-preview-modal .modal-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: #ffffff;
}

.app-document-preview-modal .btn-outline-primary {
    border-color: rgba(37, 99, 235, 0.24);
    color: #1d4ed8;
    background: #ffffff;
}

.app-document-preview-modal .btn-outline-primary:hover,
.app-document-preview-modal .btn-outline-primary:focus-visible {
    border-color: rgba(37, 99, 235, 0.35);
    color: #1d4ed8;
    background: rgba(239, 246, 255, 0.95);
}

.app-document-preview-modal__canvas {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    background: #ffffff;
    overflow: hidden !important;
}

.app-document-preview-modal .modal-body.app-document-preview-modal__canvas {
    overflow: hidden !important;
}

.app-document-preview-modal__body,
.candidate-note-preview-modal__body {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    overflow: hidden;
}

.app-document-preview-surface {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: #ffffff;
    overflow: hidden;
}

.app-document-preview-frame {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 0;
    overflow: hidden;
    border: 0;
    background: #ffffff;
    box-shadow: none;
}

.app-document-preview-iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: 0;
    background: #ffffff;
}

.app-document-preview-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: contain;
    background: #ffffff;
}

.candidate-note-preview-modal__empty {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2.25rem 1.5rem;
    border-radius: 0.9rem;
    border: 1px dashed rgba(148, 163, 184, 0.3);
    background: #f8fafc;
    text-align: center;
    color: #334155;
}

.candidate-note-preview-modal__empty i {
    font-size: 3rem;
    display: block;
}

@media (max-width: 991.98px) {
    .app-document-preview-modal .modal-dialog {
        max-width: calc(100vw - 1rem);
        height: calc(100vh - 1rem);
        margin: 0.5rem auto;
    }

    .app-document-preview-modal .modal-content {
        height: calc(100vh - 1rem);
        max-height: calc(100vh - 1rem);
        border-radius: 1rem;
    }

    .app-document-preview-modal__body,
    .candidate-note-preview-modal__body {
        min-height: 0;
    }

    .app-document-preview-frame,
    .app-document-preview-frame--cv,
    .app-document-preview-frame--embedded {
        border-radius: 0.95rem;
    }
}

@media (max-width: 1199.98px) {
    #candidateModal .modal-content,
    .public-share-candidate-modal .modal-content {
        min-height: 0;
    }

    #candidateModal .modal-body,
    #candidateModal .modal-dialog-scrollable .modal-body,
    .public-share-candidate-modal .modal-body,
    .public-share-candidate-modal.modal-dialog-scrollable .modal-body {
        overflow-y: auto;
    }

    .candidate-detail-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .candidate-detail-layout--panel-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto auto;
        grid-template-areas:
            "main-header"
            "main-content"
            "side-header"
            "side-content";
    }

    .candidate-detail-main,
    .candidate-detail-side {
        max-height: none;
        height: auto;
        overflow: visible;
        padding-right: 0;
    }

    .candidate-detail-main--panelized {
        overflow: visible;
        border-right: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    .candidate-detail-panel-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .candidate-detail-panel-header__vacancy {
        flex: 1 1 100%;
        min-width: 100%;
        margin-left: 0;
    }

    .candidate-detail-panel-body--main {
        height: auto;
        overflow: visible;
        padding-bottom: 1rem;
    }

    .candidate-detail-floating-actions-zone {
        position: static;
        min-height: 0;
        padding: 0.8rem;
        opacity: 1;
        transform: none;
    }

    .candidate-detail-floating-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .candidate-detail-panel-header--side {
        padding-right: 3.8rem;
        border-left: 0;
    }

    .candidate-notes-list {
        max-height: none;
    }

    .candidate-side-stack {
        min-height: 0;
    }

}

@media (max-width: 575.98px) {
    .public-share-candidate-modal.modal-dialog {
        --bs-modal-margin: 0;
        width: 100%;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        margin: 0;
    }

    .public-share-candidate-modal .modal-content {
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0;
    }

    .public-share-candidate-modal .candidate-side-tabs-bar {
        align-items: stretch;
        gap: 0.5rem;
    }

    .public-share-candidate-modal .candidate-side-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: thin;
    }

    .public-share-candidate-modal .candidate-side-tabs .nav-item {
        flex: 0 0 auto;
    }

    .public-share-candidate-modal .candidate-notes-composer__footer,
    .public-share-candidate-modal .candidate-checklist-composer__meta {
        align-items: stretch;
        flex-direction: column;
    }
}

.candidate-detail-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.candidate-detail-value {
    font-size: 0.98rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
}

.candidate-detail-value--inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.candidate-detail-value:empty::after {
    content: 'N/D';
    color: #94a3b8;
    font-weight: 500;
}

.candidate-labor-profile {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border-color: rgba(37, 99, 235, 0.18);
    padding: 1rem 1rem 1.05rem;
}

.candidate-profile-section-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #0f172a;
}

.candidate-profile-section-title__icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2rem;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.16);
}

.candidate-profile-section-title h5 {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
}

.candidate-labor-grid {
    --bs-gutter-x: 0.95rem;
    --bs-gutter-y: 0.95rem;
}

.candidate-labor-block {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.candidate-labor-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #1e3a8a;
    margin-bottom: 0;
}

.candidate-labor-value {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
    line-height: 1.35;
}

.candidate-labor-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0;
    margin-top: 0.15rem;
}

.candidate-labor-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.candidate-labor-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.62rem;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.candidate-labor-empty {
    color: #94a3b8;
    font-size: 0.86rem;
    font-weight: 500;
    display: block;
    padding: 0.15rem 0;
}

@media (max-width: 991.98px) {
    .candidate-labor-grid {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
    .candidate-labor-block {
        padding: 0.8rem 0.85rem;
        border-radius: 12px;
    }
}

.profile-language-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-language-item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: #ffffff;
    padding: 0.42rem 0.75rem;
    width: auto;
    max-width: 100%;
}

.profile-language-flag-wrap {
    width: 26px;
    height: 18px;
    border-radius: 4px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    flex: 0 0 auto;
}

.profile-language-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-language-flag-fallback {
    font-size: 0.9rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-language-text {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.25;
    white-space: nowrap;
}

.profile-language-name {
    color: #0f172a;
    font-weight: 700;
}

.profile-language-cefr {
    color: #1d4ed8;
    font-weight: 700;
}

.profile-language-sep {
    color: #94a3b8;
}

/* Candidate dashboard history */
.dashboard-experience-card {
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.dashboard-experience-role {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.2rem;
}

.dashboard-experience-role i {
    color: #2563eb;
    font-size: 0.86rem;
}

.dashboard-education-item {
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 12px;
    background: #fff;
    padding: 0.65rem 0.75rem;
}

.dashboard-education-head {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.dashboard-education-icon {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--tl-primary-rgb), 0.1);
    color: var(--tl-primary);
    flex: 0 0 auto;
    margin-top: 0.05rem;
}

.dashboard-education-meta {
    color: #64748b;
    font-size: 0.78rem;
    margin-top: 0.35rem;
    margin-left: 2.25rem;
}

.kanban-card .drag-handle:active {
    cursor: grabbing;
}

.kanban-card.is-dragging {
    opacity: 0.7;
    border-style: dashed;
}

.kanban-card.is-drag-source-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.kanban-card--drop-preview {
    opacity: 0.55;
    border: 2px dashed rgba(15, 95, 255, 0.5);
    border-radius: 12px;
    min-height: 2.85rem;
    pointer-events: none;
    margin-bottom: 0.4rem;
}

.kanban-card.is-pinned {
    background: #fff7ed;
    border-color: #fdba74;
    box-shadow: 0 12px 20px rgba(251, 146, 60, 0.25);
}

.kanban-column.is-over {
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    border-color: rgba(var(--tl-primary-rgb), 0.35);
    box-shadow: inset 0 0 0 1px rgba(var(--tl-primary-rgb), 0.12);
}

/* Candidate onboarding */
main.main-content:has(> .onboarding-banner),
main.main-content:has(> .candidate-dashboard-profile-main) {
    padding-top: 0 !important;
}

.onboarding-banner {
    position: sticky;
    top: var(--app-header-offset, 56px);
    z-index: 60;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 18px;
    background: linear-gradient(120deg, #0f172a 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

body.candidate-onboarding-guide-active .onboarding-banner {
    display: none !important;
}

.onboarding-banner h2 {
    font-weight: 600;
}

.onboarding-banner p,
.onboarding-banner .text-muted,
.onboarding-banner small {
    color: rgba(255, 255, 255, 0.85) !important;
}

.onboarding-wrapper .card {
    border: none;
}

.onboarding-wrapper {
    --onboarding-sidebar-top: calc(var(--app-header-offset, 56px) + 10rem);
    align-items: flex-start;
}

.onboarding-steps-col {
    width: 100%;
}

.onboarding-sidebar-sticky {
    position: sticky;
    top: var(--onboarding-sidebar-top, calc(var(--app-header-offset, 56px) + 0.5rem));
    z-index: 30;
    max-height: calc(100vh - var(--onboarding-sidebar-top, calc(var(--app-header-offset, 56px) + 0.5rem)) - 0.5rem);
    padding: 1rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.onboarding-sidebar-sticky.onboarding-sidebar-sticky--fit-content {
    max-height: calc(100vh - var(--onboarding-sidebar-top, calc(var(--app-header-offset, 56px) + 0.5rem)) - 0.5rem);
}

.onboarding-sidebar-sticky.onboarding-sidebar-sticky--ready {
    overflow-y: auto;
}

@supports (height: 100dvh) {
    .onboarding-sidebar-sticky,
    .onboarding-sidebar-sticky.onboarding-sidebar-sticky--fit-content {
        max-height: calc(100dvh - var(--onboarding-sidebar-top, calc(var(--app-header-offset, 56px) + 0.5rem)) - 0.5rem);
    }
}

.onboarding-sidebar-actions {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.onboarding-sidebar-actions--microflow-hidden {
    display: none !important;
}

.onboarding-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.82);
    display: none;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 10;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem 0 1rem;
}

.onboarding-loading-overlay.is-active {
    display: flex;
}

.hunting-loading-overlay {
    padding-top: 0.35rem;
}

.hunting-results-shell {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 0.75rem;
    min-height: 160px;
}

.hunting-results-shell .hunting-loading-overlay {
    inset: 0;
    z-index: 2;
}

.onboarding-loading-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    font-weight: 600;
    color: #0f172a;
}

.onboarding-step {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.75rem 0.85rem;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e2e8f0;
    margin-bottom: 0.75rem;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.onboarding-step:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.onboarding-step > i {
    margin-top: 0.2rem;
    flex: 0 0 auto;
}

.onboarding-step__content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
    flex: 1 1 auto;
}

.onboarding-step__head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.onboarding-step__title-wrap {
    min-width: 0;
    flex: 1 1 auto;
}

.onboarding-step__title {
    color: #0f172a;
    font-size: 0.97rem;
    font-weight: 700;
    line-height: 1.2;
}

.onboarding-step__description {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.4;
    width: 100%;
}

.onboarding-step .step-number {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    flex: 0 0 34px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    box-sizing: border-box;
    background: #e2e8f0;
    font-weight: 600;
    color: #1f2937;
}

.onboarding-step.active {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
}

.onboarding-step.active .step-number {
    background: #2563eb;
    color: #fff;
}

.onboarding-step.done {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
}

.onboarding-step.done .step-number {
    background: #22c55e;
    color: #fff;
}

.onboarding-step.incomplete {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

.onboarding-step.incomplete .step-number {
    background: #ef4444;
    color: #fff;
}

.onboarding-step.partial {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
}

.onboarding-step.partial .step-number {
    background: #f59e0b;
    color: #fff;
}

.onboarding-step.current {
    border-color: #0f2a5f;
    box-shadow: 0 0 0 4px rgba(46, 196, 182, 0.22), 0 14px 32px rgba(15, 42, 95, 0.18);
}

.onboarding-step.current::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.38rem;
    background: linear-gradient(180deg, #2ec4b6, #0f2a5f);
}

.onboarding-step.current .onboarding-step__title {
    color: #0f2a5f;
}

.onboarding-step.current .step-number {
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.onboarding-step.current.incomplete .step-number {
    box-shadow: 0 6px 14px rgba(239, 68, 68, 0.22);
}

.onboarding-step.current.partial .step-number {
    box-shadow: 0 6px 14px rgba(245, 158, 11, 0.24);
}

.onboarding-step.current.done .step-number {
    box-shadow: 0 6px 14px rgba(34, 197, 94, 0.22);
}

@media (max-width: 575px) {
    .onboarding-step {
        padding: 0.7rem 0.8rem;
    }
}

.candidate-step-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.candidate-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.16);
    background-color: rgba(37, 99, 235, 0.06) !important;
}

.candidate-step-card:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 2px;
}

.candidate-profile-sticky {
    position: sticky;
    top: var(--app-header-offset);
    z-index: 50;
    background-color: #ffffff !important;
    border-radius: 18px;
    padding: 0;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.candidate-profile-body {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    padding: 1rem 1.25rem;
}

.candidate-profile-header-layout {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.candidate-profile-header-main {
    min-width: 0;
}

.candidate-profile-header-top {
    display: grid;
    grid-template-columns: minmax(16rem, max-content) minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
}

.candidate-profile-header-identity {
    min-width: 0;
}

.candidate-profile-header-back {
    justify-self: end;
    white-space: nowrap;
}

.candidate-profile-identity-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.candidate-profile-header-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.candidate-profile-header-meta-list,
.candidate-profile-header-meta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    min-width: 0;
}

.candidate-profile-header-meta-list {
    flex: 1 1 auto;
}

.candidate-profile-header-meta-actions {
    flex: 0 1 auto;
    justify-content: flex-end;
}

.candidate-profile-header-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.36rem 0.62rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.76rem;
    line-height: 1;
}

.candidate-profile-header-meta__item i {
    color: #0f2a5f;
}

.candidate-profile-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    line-height: 1;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.candidate-profile-contact-compact {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.candidate-profile-contact-compact__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
    min-height: 2.45rem;
    padding: 0.34rem 0.72rem 0.34rem 0.42rem;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #0f172a;
    text-decoration: none;
    font-size: 0.78rem;
    line-height: 1.1;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.candidate-profile-contact-compact__item:hover,
.candidate-profile-contact-compact__item:focus-visible {
    color: #0f2a5f;
    text-decoration: none;
    border-color: rgba(15, 42, 95, 0.28);
    background: #eff6ff;
    transform: translateY(-1px);
}

.candidate-profile-contact-compact__icon {
    width: 1.65rem;
    height: 1.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 10px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.14);
}

.candidate-profile-contact-compact__icon i {
    font-size: 0.82rem;
}

.candidate-profile-contact-compact__text {
    display: inline-flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.candidate-profile-contact-compact__label,
.candidate-profile-contact-compact__detail {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 11rem;
}

.candidate-profile-contact-compact__label {
    color: #0f172a;
    font-weight: 800;
}

.candidate-profile-contact-compact__detail {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
}

.candidate-profile-contact-compact__item--phone .candidate-profile-contact-compact__icon {
    background: #ecfdf5;
    color: #047857;
    border-color: rgba(5, 150, 105, 0.18);
}

.candidate-profile-contact-compact__item--emergency .candidate-profile-contact-compact__icon {
    background: #fff7ed;
    color: #c2410c;
    border-color: rgba(249, 115, 22, 0.2);
}

.candidate-profile-contact-dropdown {
    justify-self: end;
}

@media (max-width: 991px) {
    .candidate-detail-layout--panel-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr) auto minmax(18rem, 0.65fr);
        grid-template-areas:
            "main-header"
            "main-content"
            "side-header"
            "side-content";
    }

    .candidate-detail-panel-header--main {
        flex-wrap: wrap;
        align-items: center;
    }

    .candidate-detail-panel-header__identity {
        flex: 1 1 calc(100% - 7rem);
    }

    .candidate-detail-panel-header__vacancy {
        order: 5;
        flex: 1 1 100%;
        margin-left: 0;
    }

    .candidate-detail-contact-menu {
        margin-left: auto;
    }

    .candidate-ai-analysis-grid {
        grid-template-columns: 1fr;
    }

    .candidate-ai-analysis-signal {
        border-right: 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    .candidate-ai-analysis-signal:last-child {
        border-bottom: 0;
    }

    .candidate-ai-analysis-summary summary,
    .candidate-ai-analysis-card__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .candidate-ai-analysis-score {
        width: 100%;
        max-width: 100%;
    }

    .candidate-detail-media-trio__grid {
        grid-template-columns: 1fr;
    }

    .candidate-profile-header-layout {
        grid-template-columns: 1fr;
    }

    .candidate-profile-header-top {
        grid-template-columns: 1fr;
    }

    .candidate-profile-header-meta {
        flex-direction: column;
    }

    .candidate-profile-header-meta-actions {
        justify-content: flex-start;
    }

    .candidate-profile-contact-compact {
        justify-content: flex-start;
    }
}

.hunting-assign-card {
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #ffffff;
    border-radius: 14px;
    padding: 0.85rem 1rem;
}

.hunting-assign-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hunting-assign-actions select option[data-applied="1"] {
    font-weight: 600;
}

.hunting-assign-dropdown .dropdown-menu {
    max-height: 260px;
    overflow-y: auto;
}

.hunting-assign-dropdown [data-hunting-assign-toggle],
.hunting-assign-dropdown [data-hunting-favorite-toggle] {
    min-height: 2.875rem;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    line-height: 1.2;
}

.hunting-assign-dropdown [data-hunting-assign-toggle] span,
.hunting-assign-dropdown [data-hunting-favorite-toggle] span {
    display: block;
    min-width: 0;
}

.hunting-favorite-modal-dialog {
    max-width: min(34rem, calc(100vw - 1.5rem));
}

.hunting-assign-dropdown [data-hunting-favorite-menu].dropdown-menu {
    width: 100% !important;
    min-width: 100%;
}

.hunting-assign-dropdown [data-hunting-favorite-menu].dropdown-menu .dropdown-item.is-current-favorite {
    background: rgba(245, 158, 11, 0.12);
    color: #7c4a03;
    font-weight: 600;
}

.hunting-favorite-option-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.72rem;
    line-height: 1;
    white-space: nowrap;
}

.hunting-assign-dropdown .dropdown-item.disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

[data-application-row][data-favorite="1"] {
    background: #fff7d6;
}

[data-application-row][data-favorite="1"] > td {
    background: #fff7d6;
}

.application-favorite-star {
    color: #f59e0b;
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    vertical-align: middle;
}

.application-favorite-star .fa-star {
    font-size: 1.15rem;
}

.application-favorite-star:hover,
.application-favorite-star:focus {
    color: #d97706;
}

.application-favorite-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .hunting-assign-actions {
        flex-direction: row;
        align-items: center;
    }

    .hunting-assign-actions .form-select {
        flex: 1 1 auto;
    }

    .hunting-assign-actions .btn {
        white-space: nowrap;
    }
}

.candidate-steps-row {
    margin-left: 0;
    margin-right: 0;
}

.candidate-steps-row > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}



.onboarding-tip {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    border: 1px dashed #cbd5f5;
}

.onboarding-wrapper textarea {
    resize: vertical;
}

@media (max-width: 991px) {
    .onboarding-banner {
        flex-direction: column;
        gap: 1rem;
    }

    .onboarding-sidebar-sticky {
        position: static;
        top: auto;
        max-height: none;
        overflow: visible;
    }
}

@media (min-width: 992px) {
    .onboarding-steps-col {
        flex: 0 0 340px;
        max-width: 340px;
        align-self: stretch;
    }

    .onboarding-content-col {
        flex: 1 1 auto;
        max-width: calc(100% - 340px);
        align-self: flex-start;
    }
}

.header-nav {
    flex-grow: 1;
}

.header-config-link {
    color: #f8f9fa;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, color 0.2s ease;
}

.header-config-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.config-preview {
    background: var(--config-gradient, linear-gradient(135deg, #041b2d, #062c4c));
    border-radius: 1.25rem;
    padding: 1.75rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.config-pill {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.15rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.config-chip {
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.config-chip-static {
    background: rgba(15, 23, 42, 0.7);
}

.config-preview .preview-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid transparent;
}

.config-preview .preview-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: rgba(255, 255, 255, 0.9);
}

.config-resource {
    background: #f8fafc;
}

.palette-item {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
}

.palette-preview-btn {
    border: 1px dashed rgba(15, 23, 42, 0.25);
}

.palette-preview-btn:disabled {
    opacity: 1;
}

.menu-bar-preview {
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 1.25rem;
}

.menu-bar-preview--below {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 1rem;
}

.menu-bar-preview--right {
    flex-direction: row;
    align-items: center;
}

.menu-bar-preview-logo {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    display: inline-block;
}

.menu-bar-preview-text {
    font-weight: 600;
}

.menu-bar-preview-pill {
    border-radius: 999px;
    padding: 0.2rem 0.75rem;
    border: 1px solid currentColor;
    font-size: 0.75rem;
}

@media (max-width: 767px) {
    .config-preview {
        flex-direction: column;
        text-align: left;
    }
}

.profile-photo-frame {
    width: 150px;
    height: 150px;
    min-width: 150px;
    min-height: 150px;
    aspect-ratio: 1 / 1;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 3px solid rgba(15, 95, 255, 0.15);
    padding: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-photo-frame--sm {
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
    border-width: 2px;
    padding: 0;
}

.profile-photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.profile-photo-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: #f8fafc;
}

.profile-photo-cta .profile-photo-frame {
    flex-shrink: 0;
}

.profile-photo-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.photo-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 767px) {
    .profile-photo-cta {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .photo-actions {
        justify-content: center;
    }
}

.security-profile-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.1rem;
    border: 1px solid rgba(15, 95, 255, 0.14);
    border-radius: 16px;
    padding: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.security-profile-shell.is-locked {
    border-color: rgba(148, 163, 184, 0.35);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.security-profile-avatar-col {
    text-align: center;
}

.security-profile-action-tools {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.security-profile-action-tools .btn {
    line-height: 1;
}

.security-profile-photo-trigger {
    border: 0;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 0;
}

.security-profile-photo-trigger:disabled {
    cursor: default;
}

.security-profile-photo-frame {
    width: 156px;
    height: 156px;
    min-width: 156px;
    min-height: 156px;
    border-width: 3px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.security-profile-photo-trigger:not(:disabled):hover .security-profile-photo-frame {
    border-color: rgba(15, 95, 255, 0.4);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
    transform: translateY(-1px);
}

.security-profile-photo-hint {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1d4ed8;
}

.security-profile-shell.is-locked .security-profile-photo-hint {
    color: #64748b;
}

.security-profile-fields .form-control,
.security-profile-fields .form-select {
    min-height: 42px;
}

.security-profile-readonly {
    background-color: #f8fafc !important;
    color: #475569 !important;
    cursor: not-allowed;
}

@media (max-width: 991.98px) {
    .security-profile-shell {
        grid-template-columns: 1fr;
    }
}

.header-user-toggle::after {
    display: none;
}

.app-mini-header-host {
    padding-left: 0;
    padding-right: 0;
    background: #f8fafc;
    overflow: visible;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.app-main-column {
    min-height: 100vh;
}

.app-mini-header {
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-radius: 0;
    min-height: 56px;
    padding: 0.45rem 1rem;
    margin: 0;
    position: relative;
    top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    z-index: 1;
    backdrop-filter: none;
    width: 100%;
}

@media (min-width: 768px) {
    .app-mini-header {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.app-mini-header__left {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-mini-header__eyebrow {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 0.15rem;
    font-weight: 700;
}

.app-mini-header__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(62vw, 640px);
}

.app-mini-header__right {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.app-mini-btn {
    border: 1px solid transparent;
    background: transparent;
    color: #334155;
    border-radius: 8px;
    min-height: 36px;
}

.app-mini-btn:hover,
.app-mini-btn:focus {
    border-color: rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.45);
    color: #0f172a;
}

.app-sidebar-mobile-toggle {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
    color: #0f172a;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.app-sidebar-mobile-toggle:hover,
.app-sidebar-mobile-toggle:focus {
    border-color: rgba(59, 130, 246, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, #e0ebff 100%);
    color: #0f172a;
}

.app-mini-language-menu .dropdown-item {
    color: #0f172a;
}

.app-mini-language-menu .dropdown-item:hover,
.app-mini-language-menu .dropdown-item:focus {
    background: #e0ebff;
    color: #0f172a;
}

.app-mini-language-menu .dropdown-item.active,
.app-mini-language-menu .dropdown-item:active {
    background: #1d4ed8;
    color: #ffffff;
}

.app-mini-language-menu .dropdown-item.active small,
.app-mini-language-menu .dropdown-item:active small {
    color: rgba(255, 255, 255, 0.84) !important;
}

.app-mini-notifications-btn {
    position: relative;
    width: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-mini-notifications-badge {
    position: absolute;
    top: -6px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    line-height: 17px;
    font-weight: 700;
    text-align: center;
    padding: 0 4px;
}

.app-mini-notifications {
    width: min(370px, calc(100vw - 2rem));
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.app-mini-notifications__head {
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: #f8fafc;
}

.app-mini-notifications-head-btn {
    font-size: 0.72rem;
    text-decoration: none;
}

.app-mini-notifications-head-btn:hover {
    text-decoration: underline;
}

.app-mini-notifications__list {
    max-height: 320px;
    overflow-y: auto;
}

.app-mini-notification-item {
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    position: relative;
    border-left: 4px solid transparent;
}

.app-mini-notification-item:last-child {
    border-bottom: 0;
}

.app-mini-notification-item.is-unread {
    background: #eaf1fb;
    border-left-color: #3b82f6;
}

.app-mini-notification-link {
    display: block;
    color: inherit;
    text-decoration: none;
    padding-right: 1.2rem;
}

.app-mini-notification-link:hover .app-mini-notification-item__title {
    color: var(--tl-primary);
}

.app-mini-notification-dismiss {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    width: 1.2rem;
    height: 1.2rem;
    border: 0;
    padding: 0;
    color: #64748b;
    background: transparent;
    border-radius: 999px;
    line-height: 1;
}

.app-mini-notification-dismiss:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
}

.app-mini-notification-item__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.app-mini-notification-item__body {
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.app-mini-notification-item__meta {
    font-size: 0.72rem;
    color: #64748b;
}

.app-mini-notifications__empty {
    padding: 1.2rem 0.9rem;
    color: #64748b;
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.header-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(148, 163, 184, 0.42);
    background: #fff;
}

.header-user-avatar--logo {
    object-fit: contain;
    padding: 4px;
}

@media (max-width: 767px) {
    .container-fluid,
    .container-fluid > .row {
        height: 100dvh;
        min-height: 100dvh;
        overflow: hidden;
    }

    .app-mini-header-host {
        position: relative;
        top: auto;
        flex: 0 0 auto;
    }

    .app-main-column {
        display: flex;
        flex-direction: column;
        min-height: 100dvh;
        height: 100dvh;
        overflow: hidden;
    }

    .main-content {
        display: block;
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .app-mini-header {
        min-height: 56px;
        background: #f8fafc;
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
        flex-wrap: nowrap;
        gap: 0.55rem;
        padding: 0.45rem 0.85rem;
    }

    .app-mini-header__left {
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.6rem;
    }

    .app-mini-header__right {
        flex: 0 0 auto;
        gap: 0.35rem;
    }

    .app-mini-header__title {
        max-width: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 1rem;
    }

    .app-mini-btn,
    .app-mini-notifications-btn,
    .header-user-toggle {
        min-height: 34px;
    }

    .app-mini-notifications-btn {
        width: 34px;
    }

    .app-layout-sidebar.offcanvas-md,
    .app-layout-sidebar.offcanvas-start {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: var(--bs-offcanvas-width);
        max-width: 100%;
        min-height: 100dvh;
        height: 100dvh;
        z-index: 1045;
    }

    .app-layout-sidebar {
        border-right: 0;
        box-shadow: 0 22px 48px rgba(15, 23, 42, 0.22);
    }

    .app-layout-sidebar .offcanvas-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem 1rem 0.9rem;
        background: linear-gradient(140deg, rgba(11, 31, 68, 0.98) 0%, rgba(15, 42, 95, 0.98) 100%);
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .app-layout-sidebar .offcanvas-body {
        display: flex;
        padding: 0;
        overflow-y: auto;
        background: var(--sidebar-bg, #0f2a5f);
    }

    .app-layout-sidebar .sidebar-sticky {
        position: relative;
        top: 0;
        min-height: 100%;
        max-height: none;
        width: 100%;
    }

    .app-layout-sidebar .sidebar .nav-link {
        margin-left: 0.6rem;
        margin-right: 0.6rem;
    }

}

.photo-editor-frame {
    --photo-editor-crop-inset: 2px;
    width: 220px;
    height: 220px;
    cursor: grab;
    position: relative;
    border-radius: 14px;
    border: 2px solid rgba(15, 95, 255, 0.2);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.photo-editor-frame--square {
    border-radius: 14px;
}

.photo-editor-frame:active {
    cursor: grabbing;
}

.admin-avatar-editor {
    border-radius: 14px;
}

.admin-avatar-canvas {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: grab;
    touch-action: none;
}

.admin-avatar-canvas:active {
    cursor: grabbing;
}

.admin-avatar-image {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: none;
    max-height: none;
    transform: translate(-50%, -50%) scale(1);
    user-select: none;
}

.admin-avatar-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
    background-size: 25% 25%;
    pointer-events: none;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.catalog-title {
    font-weight: 600;
    color: #111827;
}

.catalog-subtitle {
    color: #6b7280;
    font-size: 0.85rem;
}

.catalog-search {
    min-width: 220px;
}

.catalog-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #6b7280;
}

.catalog-flag-wrap {
    width: 24px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.catalog-flag-wrap .catalog-flag--placeholder {
    display: none;
}

.catalog-flag-wrap.catalog-flag--fallback .catalog-flag {
    display: none;
}

.catalog-flag-wrap.catalog-flag--fallback .catalog-flag--placeholder {
    display: inline-flex;
}

.catalog-flag--placeholder {
    width: 24px;
    height: 18px;
    border-radius: 4px;
    background: #f3f4f6;
}

.flag-select .form-select {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 12px;
    width: 100%;
    min-height: 44px;
    background-image: none;
}

.flag-select .form-select i {
    color: #6b7280;
}

.flag-select .dropdown-menu {
    max-height: 280px;
    overflow: auto;
}

.flag-select .dropdown-item {
    white-space: nowrap;
}

.flag-select .dropdown-item .catalog-flag,
.flag-select .dropdown-item .catalog-flag--placeholder {
    flex: 0 0 auto;
}

.application-hero {
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.06), rgba(59, 130, 246, 0.08));
    border-radius: 18px;
    padding: 24px;
}

.application-hero-body {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
}

.application-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    color: #64748b;
    font-size: 0.95rem;
}

.application-title-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.application-company-logo {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #334155;
    font-size: 1rem;
}

.application-company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.application-company-name {
    font-weight: 600;
    color: #334155;
}

.application-hero-date {
    background: #fff;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    text-align: right;
    min-width: 180px;
}

.application-section {
    padding: 16px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.application-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.application-text {
    color: #0f172a;
    line-height: 1.7;
}

.application-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: #0f172a;
}

.application-side-card {
    position: static;
}

.application-kpi {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.application-kpi:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.application-notes {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 14px;
}

.application-answer {
    background: #f8fafc;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.application-answer-question {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
}

.application-answer-response {
    font-weight: 600;
    color: #0f172a;
}

 .notifications-history-list .list-group-item {
    border-color: #e2e8f0;
 }

.notifications-history-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 16px 18px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.notifications-history-item:hover {
    background-color: #d6e0ee;
    box-shadow: inset 0 0 0 1px #c4d2e7;
}

.notifications-history-badge-new {
    background: #e8f7ee;
    color: #166534;
    border: 1px solid #b7e4c7;
}

.notifications-history-item:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

 .notifications-history-item.is-unread {
    background-color: #eaf1fb;
    border-left: 4px solid #3b82f6;
 }

 .notifications-history-item.is-unread:hover {
    background-color: #d2e3f7;
    box-shadow: inset 0 0 0 1px #b9d0f1;
 }

.notifications-history-chevron {
    color: #94a3b8;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.notifications-history-date {
    white-space: nowrap;
}

.notifications-history-item__body {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.notifications-history-read {
    border-radius: 10px;
    min-width: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.notifications-history-read--mark-read {
    color: #166534;
    border: 1px solid #4ade80;
    background-color: #dcfce7;
}

.notifications-history-read--mark-read:hover {
    background-color: #bbf7d0;
    border-color: #22c55e;
    color: #14532d;
}

.notifications-history-read--mark-unread {
    color: #1d4ed8;
    border: 1px solid #93c5fd;
    background-color: #dbeafe;
}

.notifications-history-read--mark-unread:hover {
    background-color: #bfdbfe;
    border-color: #60a5fa;
    color: #1e40af;
}

.notifications-history-read:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

.notifications-history-tooltip {
    --bs-tooltip-bg: #0f172a;
    --bs-tooltip-color: #f8fafc;
    --bs-tooltip-padding-x: 0.6rem;
    --bs-tooltip-padding-y: 0.4rem;
    --bs-tooltip-border-radius: 0.5rem;
    --bs-tooltip-font-size: 0.75rem;
}

.notifications-filter-btn {
    border-radius: 10px;
}


@media (max-width: 991px) {
    .application-side-card {
        position: static;
    }
    .application-hero-date {
        text-align: left;
    }
    .application-title-block {
        width: 100%;
    }
}

.catalog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.catalog-meta {
    color: #6b7280;
    font-size: 0.85rem;
}

.catalog-pagination {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.catalog-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.catalog-table tbody tr:hover {
    background: #f8fafc;
}

.photo-editor-frame::after {
    content: '';
    position: absolute;
    inset: var(--photo-editor-crop-inset);
    border-radius: 50%;
    border: 2px solid rgba(15, 95, 255, 0.4);
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.45);
    pointer-events: none;
    z-index: 5;
}

.photo-editor-frame--single-ring::after {
    content: '';
    position: absolute;
    inset: var(--photo-editor-crop-inset);
    border-radius: 50%;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.45);
    pointer-events: none;
    z-index: 5;
}

.photo-editor-frame .cropper-view-box,
.photo-editor-frame .cropper-face {
    border-radius: 50%;
}

.photo-editor-frame .cropper-canvas img,
.photo-editor-frame .cropper-view-box img {
    border-radius: 0 !important;
}

.photo-editor-frame.has-cropper > [data-photo-preview] {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.photo-editor-frame .cropper-container {
    width: 100% !important;
    height: 100% !important;
}

.photo-editor-frame .cropper-view-box {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

.photo-editor-frame .cropper-face {
    background-color: transparent !important;
}

.photo-editor-frame .cropper-line,
.photo-editor-frame .cropper-point,
.photo-editor-frame .cropper-dashed {
    display: none;
}

.photo-editor-frame .cropper-modal {
    opacity: 0;
}

.photo-editor-frame.is-loading::after {
    opacity: 0;
}

.photo-editor-frame.is-loading .profile-photo-preview,
.photo-editor-frame.is-loading .cropper-container {
    opacity: 0;
}

.photo-editor-frame.is-loading::before {
    content: '';
    position: absolute;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 2px solid rgba(37, 99, 235, 0.25);
    border-top-color: rgba(37, 99, 235, 0.95);
    animation: photo-editor-spin 0.9s linear infinite;
    z-index: 7;
}

@keyframes photo-editor-spin {
    to {
        transform: rotate(360deg);
    }
}

.profile-photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

.experience-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1.25rem;
    background-color: #fff;
}

.experience-card.is-draggable {
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.experience-card--chosen,
.experience-card.is-draggable:hover {
    border-color: rgba(46, 196, 182, 0.45);
    box-shadow: 0 0.75rem 1.75rem rgba(16, 24, 40, 0.08);
}

.experience-card--dragging {
    opacity: 0.88;
    transform: scale(0.995);
}

.experience-card--ghost {
    background-color: #f5fffd;
    border-color: rgba(46, 196, 182, 0.55);
}

.experience-drag-handle {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.65rem;
    background: #fff;
    color: var(--bs-secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.experience-drag-handle:hover,
.experience-drag-handle:focus {
    color: var(--bs-primary);
    border-color: rgba(46, 196, 182, 0.65);
    outline: 0;
}

.experience-drag-handle:active {
    cursor: grabbing;
}

.skill-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1.25rem;
    background-color: #fff;
}

.education-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1.25rem;
    background-color: #fff;
}

.education-card.is-draggable {
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.education-card--chosen,
.education-card.is-draggable:hover {
    border-color: rgba(46, 196, 182, 0.45);
    box-shadow: 0 0.75rem 1.75rem rgba(16, 24, 40, 0.08);
}

.education-card--dragging {
    opacity: 0.88;
    transform: scale(0.995);
}

.education-card--ghost {
    background-color: #f5fffd;
    border-color: rgba(46, 196, 182, 0.55);
}

.education-drag-handle {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.65rem;
    background: #fff;
    color: var(--bs-secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.education-drag-handle:hover,
.education-drag-handle:focus {
    color: var(--bs-primary);
    border-color: rgba(46, 196, 182, 0.65);
    outline: 0;
}

.education-drag-handle:active {
    cursor: grabbing;
}

.education-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
}

.education-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.education-card-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    background: rgba(var(--tl-primary-rgb), 0.1);
    color: var(--tl-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.education-card-degree {
    font-size: 1rem;
    line-height: 1.3;
}

.education-card-subtitle {
    color: #64748b;
    font-size: 0.875rem;
}

.education-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    color: #64748b;
    font-size: 0.82rem;
    margin-bottom: 0.6rem;
}

.education-card-meta i {
    color: #94a3b8;
}

.education-card-description {
    margin-top: 0.7rem;
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.45;
}

.education-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

/* Language cards */
#onboarding-languages .language-card {
    cursor: pointer;
    border: 1px solid rgba(15, 42, 95, 0.12);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.94)),
        #fff;
    box-shadow: 0 12px 28px rgba(11, 31, 68, 0.06);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

#onboarding-languages .language-card:hover,
#onboarding-languages .language-card:focus {
    border-color: rgba(46, 196, 182, 0.48);
    box-shadow: 0 0.75rem 1.75rem rgba(16, 24, 40, 0.08);
    outline: 0;
}

.language-card-grid {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
}

.language-card-grid > :first-child {
    min-width: 0;
    flex: 1 1 auto;
}

.language-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.language-card-flag {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
}

.language-card-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.language-flag-fallback {
    font-size: 0.73rem;
    line-height: 1;
    color: #334155;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

.language-card-name {
    font-size: 1rem;
    line-height: 1.3;
}

.language-card-code {
    color: #64748b;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.language-card-notes {
    margin-top: 0.65rem;
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.45;
}

.language-card-actions {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    flex: 0 0 auto;
}

.language-drag-handle,
.language-card-edit-cue {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.65rem;
    background: #fff;
    color: var(--bs-secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.language-drag-handle {
    cursor: grab;
}

.language-drag-handle:hover,
.language-drag-handle:focus {
    color: var(--bs-primary);
    border-color: rgba(46, 196, 182, 0.65);
    outline: 0;
}

.language-drag-handle:active {
    cursor: grabbing;
}

.language-card-edit-cue {
    background: rgba(46, 196, 182, 0.1);
    border-color: rgba(46, 196, 182, 0.24);
    color: #0f766e;
}

.language-card--chosen,
.language-card.is-draggable:hover {
    border-color: rgba(46, 196, 182, 0.45);
    box-shadow: 0 0.75rem 1.75rem rgba(16, 24, 40, 0.08);
}

.language-card--dragging {
    opacity: 0.88;
    transform: scale(0.995);
}

.language-card--ghost {
    background-color: #f5fffd;
    border-color: rgba(46, 196, 182, 0.55);
}

@media (max-width: 991.98px) {
    .education-card-grid {
        grid-template-columns: 1fr;
    }

    .education-card-actions {
        align-items: flex-start;
    }

    .language-card-grid {
        flex-direction: column;
    }

    .language-card-actions {
        align-items: flex-start;
    }
}

.achievement-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1.25rem;
    background-color: #fff;
}

.achievement-card--chosen,
.achievement-card.is-draggable:hover {
    border-color: rgba(46, 196, 182, 0.45);
    box-shadow: 0 0.75rem 1.75rem rgba(16, 24, 40, 0.08);
}

.achievement-card--dragging {
    opacity: 0.88;
    transform: scale(0.995);
}

.achievement-card--ghost {
    background-color: #f5fffd;
    border-color: rgba(46, 196, 182, 0.55);
}

.achievement-drag-handle {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.65rem;
    background: #fff;
    color: var(--bs-secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.achievement-drag-handle:hover,
.achievement-drag-handle:focus {
    color: var(--bs-primary);
    border-color: rgba(46, 196, 182, 0.65);
    outline: 0;
}

.achievement-drag-handle:active {
    cursor: grabbing;
}

.contact-channel-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    padding: 1.25rem;
    background-color: #fff;
}

.contact-channel-card--chosen,
.contact-channel-card.is-draggable:hover {
    border-color: rgba(46, 196, 182, 0.45);
    box-shadow: 0 0.75rem 1.75rem rgba(16, 24, 40, 0.08);
}

.contact-channel-card--dragging {
    opacity: 0.88;
    transform: scale(0.995);
}

.contact-channel-card--ghost {
    background-color: #f5fffd;
    border-color: rgba(46, 196, 182, 0.55);
}

.contact-channel-drag-handle {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.65rem;
    background: #fff;
    color: var(--bs-secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.contact-channel-drag-handle:hover,
.contact-channel-drag-handle:focus {
    color: var(--bs-primary);
    border-color: rgba(46, 196, 182, 0.65);
    outline: 0;
}

.contact-channel-drag-handle:active {
    cursor: grabbing;
}

.contact-channel-list {
    display: grid;
    gap: 0.75rem;
}

.experience-tags .badge {
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.experience-highlight {
    background-color: #f4f7ff;
    border-radius: 0.85rem;
    padding: 0.75rem 1rem;
    border: 1px dashed rgba(12, 110, 253, 0.3);
}

.experience-achievement {
    background-color: #f9fafb;
}

.experience-achievements-builder {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.experience-achievements-builder__header h6 {
    font-weight: 700;
}

.experience-achievements-builder__composer {
    padding: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.experience-achievements-builder__ai-panel {
    padding: 0.85rem !important;
}

.experience-achievements-builder__ai-panel h6 {
    font-size: 0.95rem;
}

.experience-achievements-builder__ai-text {
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 0.85rem;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.93rem;
    line-height: 1.5;
    white-space: pre-wrap;
}

.experience-achievement-action-btn {
    border: 1px solid transparent;
    border-radius: 0.85rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.experience-achievement-action-btn:hover,
.experience-achievement-action-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
    filter: brightness(0.98);
}

.experience-achievement-action-btn--ai {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #0f172a;
}

.experience-achievement-action-btn--ai:hover,
.experience-achievement-action-btn--ai:focus-visible {
    background: #cbd5e1;
    border-color: #94a3b8;
    color: #0f172a;
}

.experience-achievement-action-btn--add {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
}

.experience-achievement-action-btn--add:hover,
.experience-achievement-action-btn--add:focus-visible {
    background: #0b5ed7;
    border-color: #0b5ed7;
    color: #ffffff;
}

.experience-achievement-remove-btn {
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-radius: 0.75rem;
    background: #fff5f5;
    color: #b91c1c;
    font-weight: 700;
    box-shadow: none;
}

.experience-achievement-remove-btn:hover,
.experience-achievement-remove-btn:focus-visible {
    background: #fee2e2;
    border-color: rgba(220, 38, 38, 0.28);
    color: #991b1b;
}

.experience-achievements-list {
    max-height: 240px;
    overflow-y: auto;
}

.experience-achievements-list::-webkit-scrollbar {
    width: 6px;
}

.experience-achievements-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 999px;
}

.achievements-builder textarea {
    resize: vertical;
}

.experience-list .btn-group .btn {
    min-width: 40px;
}

/* allow Bootstrap default scrolling; no custom cap */

.password-masked-input {
    -webkit-text-security: disc;
    -moz-text-security: disc;
}

.score-progress {
    width: 100%;
    height: 18px;
}

.score-header {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.score-header-left {
    flex: 0 0 38%;
}

.score-header-bar {
    flex: 1 1 auto;
}

.score-header-value {
    flex: 0 0 auto;
    text-align: right;
}

.candidate-score-alert-card {
    position: relative;
    border: 1px solid rgba(180, 83, 9, 0.34);
    border-left: 5px solid #d97706;
    background: linear-gradient(180deg, #fff1c2 0%, #ffe7a3 100%);
    box-shadow: 0 16px 34px rgba(180, 83, 9, 0.18);
}

.candidate-score-alert-card__eyebrow {
    color: #9a3412;
    letter-spacing: 0.08em;
}

.candidate-score-alert-card__item {
    background: rgba(255, 251, 235, 0.42);
    border: 1px solid rgba(180, 83, 9, 0.22);
    border-radius: 14px;
    padding: 0.95rem 1rem;
}

.candidate-score-alert-card .list-group-item:first-child {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.candidate-score-alert-card .list-group-item:last-child {
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.candidate-score-alert-card__copy {
    color: #6c2e06;
}

.candidate-score-alert-card__cta {
    border-color: #f59e0b;
    background: #f59e0b;
    color: #3b1d00;
}

.candidate-score-alert-card__cta:hover,
.candidate-score-alert-card__cta:focus {
    border-color: #d97706;
    background: #d97706;
    color: #2b1600;
}

.activity-preview {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.activity-preview-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 0.6rem;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    background: #f8fafc;
}

.activity-preview-item i {
    color: #0f172a;
}

.activity-preview-body {
    min-width: 0;
}

.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
}

.activity-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef2ff;
    color: #312e81;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.activity-content {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    background: #ffffff;
}

.score-progress .progress-bar {
    transition: width 0.3s ease;
}

.score-bar--red {
    background-color: #dc3545;
}

.score-bar--orange {
    background-color: #f28c28;
}

.score-bar--yellow {
    background-color: #f4b400;
}

.score-bar--green {
    background-color: #198754;
}

.score-bar--lime {
    background-color: #9acb3c;
}

.score-text--red {
    color: #dc3545;
}

.score-text--orange {
    color: #f28c28;
}

.score-text--yellow {
    color: #f4b400;
}

.score-text--lime {
    color: #9acb3c;
}

.score-text--green {
    color: #198754;
}

.score-value {
    background-color: transparent;
    line-height: 1;
}

.profile-score-item {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    height: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
}

.profile-score-item--red {
    border-color: rgba(220, 53, 69, 0.24);
    background: linear-gradient(180deg, #fff7f8 0%, #ffffff 100%);
}

.profile-score-item--yellow {
    border-color: rgba(244, 180, 0, 0.28);
    background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
}

.profile-score-item--green {
    border-color: rgba(25, 135, 84, 0.24);
    background: linear-gradient(180deg, #f4fcf7 0%, #ffffff 100%);
}

.profile-score-item--interactive {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.profile-score-item--interactive:hover,
.profile-score-item--interactive:focus {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.profile-score-item--interactive.profile-score-item--red:hover,
.profile-score-item--interactive.profile-score-item--red:focus {
    border-color: rgba(220, 53, 69, 0.42);
    background: linear-gradient(180deg, #fff4f5 0%, #ffffff 100%);
}

.profile-score-item--interactive.profile-score-item--yellow:hover,
.profile-score-item--interactive.profile-score-item--yellow:focus {
    border-color: rgba(245, 158, 11, 0.42);
    background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
}

.profile-score-item--interactive.profile-score-item--green:hover,
.profile-score-item--interactive.profile-score-item--green:focus {
    border-color: rgba(25, 135, 84, 0.38);
    background: linear-gradient(180deg, #eefbf3 0%, #ffffff 100%);
}

.profile-score-item__title {
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}

.profile-score-item__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.profile-score-item__detail {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #64748b;
}

.profile-score-item__hint {
    margin-top: 0.28rem;
    font-size: 0.76rem;
    line-height: 1.4;
    color: #475569;
}

.profile-score-item__value {
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.profile-score-item__progress {
    height: 0.38rem;
    background: rgba(226, 232, 240, 0.72);
    border-radius: 999px;
    overflow: hidden;
}

.candidate-score-item-link {
    color: #0f172a;
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.28) !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.candidate-score-item-link:hover,
.candidate-score-item-link:focus {
    color: #0f172a;
    background: #fffdf7;
    border-color: rgba(245, 158, 11, 0.48) !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.candidate-score-item-link .fw-semibold {
    color: #0f172a;
}

.candidate-company-copy-card {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    padding: 1rem 1.05rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.candidate-company-overview__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.candidate-company-overview__item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: #f8fafc;
}

.candidate-company-overview__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.candidate-company-overview__value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.25;
}

.candidate-company-overview__panel {
    padding: 1rem 1.05rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.candidate-company-overview__note {
    color: #475569;
    font-weight: 500;
    line-height: 1.45;
}

.candidate-company-stars {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    flex-wrap: wrap;
}

.candidate-company-stars--header {
    gap: 0.18rem;
}

.candidate-company-stars--button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.candidate-company-stars--button:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 4px;
    border-radius: 8px;
}

.candidate-company-stars--header .candidate-company-stars__star {
    font-size: 0.82rem;
}

.candidate-company-stars--header .candidate-company-stars__value {
    margin-left: 0.2rem;
    font-size: 0.82rem;
}

.candidate-company-stars__star {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.candidate-company-stars__star.is-active {
    color: #f59e0b;
}

.candidate-company-stars__value {
    margin-left: 0.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
}

.candidate-company-applications-trigger {
    --candidate-company-applications-bg: rgba(var(--bs-primary-rgb), 0.08);
    --candidate-company-applications-bg-hover: rgba(var(--bs-primary-rgb), 0.14);
    --candidate-company-applications-bg-active: rgba(var(--bs-primary-rgb), 0.18);
    --candidate-company-applications-border: rgba(var(--bs-primary-rgb), 0.24);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.72rem;
    border: 1px solid var(--candidate-company-applications-border);
    border-radius: 999px;
    background: var(--candidate-company-applications-bg);
    color: var(--bs-primary);
    font-size: 0.83rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.18s ease;
}

.candidate-company-applications-trigger:hover {
    background: var(--candidate-company-applications-bg-hover);
}

.candidate-company-applications-trigger:focus-visible {
    outline: 2px solid rgba(var(--bs-primary-rgb), 0.32);
    outline-offset: 3px;
}

.candidate-company-applications-trigger:active {
    background: var(--candidate-company-applications-bg-active);
}

.candidate-company-applications-trigger[data-bs-toggle="tooltip"] {
    --app-tooltip-bg: #eaf2ff;
    --app-tooltip-color: #0f172a;
    --app-tooltip-border: #cfe0ff;
}

.candidate-rating-modal-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.candidate-rating-modal-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    background: #f8fafc;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.candidate-rating-modal-list__item:hover,
.candidate-rating-modal-list__item:focus-visible {
    border-color: rgba(var(--bs-primary-rgb), 0.24);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.candidate-rating-modal-list__copy {
    min-width: 0;
}

.candidate-rating-modal-list__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.38rem;
}

.candidate-rating-modal-list__score {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 0 0 auto;
}

.candidate-company-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.candidate-company-stack__title {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
}

.candidate-company-stack__item {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: #ffffff;
}

.candidate-company-stack__copy {
    line-height: 1.45;
}

.candidate-company-stack__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.candidate-company-inline-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.58rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #0f2a5f;
    font-size: 0.73rem;
    font-weight: 600;
}

.candidate-company-inline-pill--muted {
    background: #f1f5f9;
    color: #475569;
}

.candidate-experience-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

.candidate-experience-count {
    display: inline-flex;
    align-items: center;
    min-height: 1.75rem;
    padding: 0.22rem 0.62rem;
    border: 1px solid rgba(46, 196, 182, 0.34);
    border-radius: 999px;
    background: #e7f8f6;
    color: #0f2a5f;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
}

.candidate-experience-timeline {
    --candidate-experience-marker-column: 1.55rem;
    --candidate-experience-marker-size: 0.9rem;
    --candidate-experience-line-x: calc(0.42rem + (var(--candidate-experience-marker-column) / 2));
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-left: 0.42rem;
}

.candidate-experience-timeline::before {
    content: "";
    position: absolute;
    top: 0.7rem;
    bottom: 0.7rem;
    left: var(--candidate-experience-line-x);
    width: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(180deg, #2ec4b6 0%, #1d4ed8 48%, rgba(148, 163, 184, 0.2) 100%);
}

.candidate-experience-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: var(--candidate-experience-marker-column) minmax(0, 1fr);
    gap: 0.68rem;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
}

.candidate-experience-timeline__marker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    justify-self: center;
    width: var(--candidate-experience-marker-size);
    height: var(--candidate-experience-marker-size);
    margin: 0.84rem 0 0;
    border: 3px solid #ffffff;
    border-radius: 999px;
    background: #2ec4b6;
    box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.22), 0 8px 18px rgba(15, 42, 95, 0.14);
}

.candidate-experience-timeline__content {
    min-width: 0;
    padding: 0.76rem 0.82rem;
    border: 1px solid rgba(15, 42, 95, 0.1);
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f0fbfa 100%);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.candidate-experience-timeline__item:hover .candidate-experience-timeline__content,
.candidate-experience-timeline__item:focus-visible .candidate-experience-timeline__content {
    border-color: rgba(46, 196, 182, 0.48);
    box-shadow: 0 14px 28px rgba(15, 42, 95, 0.12);
    transform: translateY(-1px);
}

.candidate-experience-timeline__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.candidate-experience-timeline__role {
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1.22;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.candidate-experience-current {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    padding: 0.12rem 0.48rem;
    border-radius: 999px;
    background: #0f2a5f;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}

.candidate-experience-timeline__company {
    margin-top: 0.12rem;
    overflow: hidden;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.candidate-experience-timeline__meta {
    margin-top: 0.16rem;
    overflow: hidden;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.candidate-experience-timeline__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    margin-top: 0.48rem;
    color: #0f2a5f;
    font-size: 0.74rem;
    font-weight: 800;
}

.candidate-experience-timeline__footer span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    gap: 0.32rem;
    overflow: hidden;
    color: #0f766e;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.candidate-experience-timeline__footer strong {
    flex: 0 0 auto;
    color: #1d4ed8;
    font-size: 0.72rem;
}

.candidate-experience-detail-modal .modal-content {
    border-radius: 18px;
    overflow: hidden;
}

.candidate-experience-detail-modal .modal-header {
    align-items: flex-start;
    border-bottom: 1px solid rgba(15, 42, 95, 0.1);
    background: linear-gradient(135deg, #0f2a5f 0%, #0f766e 100%);
    color: #ffffff;
}

.candidate-experience-detail-modal .btn-close {
    filter: invert(1) grayscale(1);
    opacity: 0.9;
}

.candidate-experience-detail-modal__eyebrow,
.candidate-experience-detail-modal__label {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.candidate-experience-detail-modal__label {
    display: block;
    margin-bottom: 0.55rem;
    color: #0f2a5f;
}

.candidate-experience-detail-modal__lead {
    margin-bottom: 1rem;
    color: #334155;
    font-size: 0.94rem;
    line-height: 1.5;
}

.candidate-experience-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.candidate-experience-detail-grid div {
    min-width: 0;
    padding: 0.68rem 0.74rem;
    border: 1px solid rgba(15, 42, 95, 0.1);
    border-radius: 12px;
    background: #f8fbff;
}

.candidate-experience-detail-grid span {
    display: block;
    margin-bottom: 0.22rem;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.candidate-experience-detail-grid strong {
    display: block;
    color: #0f172a;
    font-size: 0.86rem;
    line-height: 1.25;
}

.candidate-experience-detail-impact {
    margin-top: 0.8rem;
    padding: 0.78rem 0.85rem;
    border: 1px solid rgba(46, 196, 182, 0.24);
    border-radius: 14px;
    background: #e7f8f6;
    color: #0f2a5f;
}

.candidate-experience-detail-impact strong {
    display: block;
    margin-bottom: 0.25rem;
}

.candidate-experience-detail-impact p {
    margin: 0;
    color: #334155;
    line-height: 1.42;
}

.candidate-experience-detail-achievements {
    margin-top: 0.95rem;
}

.candidate-experience-detail-achievement {
    padding: 0.72rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.candidate-experience-detail-achievement strong {
    display: block;
    color: #0f172a;
}

.candidate-experience-detail-achievement span {
    display: inline-flex;
    margin-top: 0.25rem;
    padding: 0.16rem 0.5rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.74rem;
    font-weight: 800;
}

.candidate-experience-detail-achievement p {
    margin: 0.38rem 0 0;
    color: #475569;
    font-size: 0.85rem;
    line-height: 1.42;
}

@media (max-width: 575.98px) {
    .candidate-experience-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .candidate-experience-detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.candidate-profile-comments-modal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.candidate-profile-comments-modal__group {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 18px;
    padding: 1rem;
    background: #ffffff;
}

.candidate-profile-comments-modal__group-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.candidate-profile-comments-modal__notes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.candidate-profile-comments-modal__note {
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 14px;
    background: #f8fafc;
}

#onboarding-experience,
#onboarding-education,
#onboarding-certifications,
#onboarding-languages,
#onboarding-skills,
#onboarding-summary,
#onboarding-achievements,
#onboarding-test {
    scroll-margin-top: calc(var(--app-header-offset, 56px) + 20px);
}

@media (max-width: 992px) {
    .score-progress {
        max-width: 100%;
    }
    .score-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .score-header-left,
    .score-header-bar,
    .score-header-value {
        flex: 0 0 auto;
        width: 100%;
        text-align: left;
    }

    .candidate-company-overview__meta {
        grid-template-columns: 1fr;
    }
}

.skill-autocomplete-menu {
    max-height: 240px;
    overflow-y: auto;
    z-index: 1200;
}

.dropdown-menu.w-100.show {
    z-index: 1200;
}

.job-skill-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.job-skill-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.job-skill-section-title--role {
    color: #0284c7;
}

.job-skill-section-title--catalog {
    color: #c2410c;
}

.job-skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.1;
    background: #f8fafc;
    color: #0f172a;
}

.job-skill-chip__icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 0.75rem;
}

.job-skill-chip__label {
    white-space: nowrap;
}

.job-skill-chip__meta {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: inherit;
}

.job-skill-chip__remove {
    border: none;
    background: transparent;
    color: inherit;
    font-size: 1rem;
    line-height: 1;
    padding: 0 0.1rem;
    margin-left: 0.15rem;
    cursor: pointer;
}

.job-skill-chip__remove:hover {
    color: #dc2626;
}

.job-skill-chip--selected {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.35);
    color: #1d4ed8;
}

.job-skill-chip--role {
    background: rgba(14, 165, 233, 0.12);
    border-color: rgba(14, 165, 233, 0.35);
    color: #0369a1;
}

.job-skill-chip--catalog {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.35);
    color: #c2410c;
}

.job-skill-menu-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.06);
    font-size: 0.8rem;
}

.skill-catalog-list {
    max-height: 520px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
}

.skill-catalog-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.6rem;
    background: #fff;
}

.skill-catalog-panel {
    background: #fff;
}

.skill-catalog-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.skill-catalog-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.skill-type-tabs .btn {
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    border: 1px solid #dbe2ea;
    background: #fff;
    color: #64748b;
}

.skill-type-tabs .btn.active {
    border-color: #dbe2ea;
    border-bottom-color: #f3f4f6;
    background: #f3f4f6;
    color: #0f172a;
}

.skill-catalog-surface {
    margin-top: 0;
    border: 1px solid #dbe2ea;
}
.skill-catalog-wrapper {
    position: relative;
    min-height: 180px;
}

.skill-catalog-loading {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    border-radius: 12px;
    background: #f8fafc;
}

.skill-catalog-wrapper.is-loading .skill-catalog-loading {
    display: flex;
}

.skill-catalog-wrapper.is-loading .skill-catalog-surface {
    opacity: 0;
    visibility: hidden;
}
.skill-catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.skill-add-inline {
    border-radius: 10px;
    padding: 0.35rem 0.85rem;
    font-weight: 600;
}

.skill-catalog-surface {
    background: #f3f4f6;
    border-radius: 0 14px 14px 14px;
    padding: 1rem;
}

.skill-catalog-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (max-width: 1399.98px) {
    .skill-catalog-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .skill-catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .skill-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.skill-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0.6rem;
    background: #fff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: visible;
    width: 100%;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.skill-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.2), 0 0 0 2px rgba(59, 130, 246, 0.12);
    transform: translateY(-3px);
}


.skill-card-body {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 0.4rem;
    align-items: center;
    justify-items: center;
    text-align: center;
}

.skill-card.is-editing .skill-card-body {
    min-height: 180px;
}

.skill-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    font-size: 1rem;
}

.skill-card-info {
    min-width: 0;
}

.skill-card-title {
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    word-break: break-word;
}

.role-name-wrap {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.skill-card-meta {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    grid-column: 2 / 4;
    padding-right: 0.25rem;
}

.skill-suggestion-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

.icon-picker {
    position: relative;
    min-width: 220px;
    z-index: 10000;
    overflow: visible;
}

.icon-picker-toggle {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.icon-picker-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icon-picker-preview {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-picker-panel {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    width: min(520px, calc(100vw - 16px));
    min-width: 320px;
    background: #fff;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    padding: 0.75rem;
    z-index: 100000;
    overflow: hidden;
    margin-top: 0;
    transform: translateZ(0);
    max-height: 420px;
    max-height: min(84vh, 420px);
}


.skill-card-form {
    position: relative;
    z-index: 2;
}

.skill-card.is-editing {
    z-index: 10;
}

/* Candidate onboarding skills */
.candidate-skill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 0.6rem;
}

.candidate-skill-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.candidate-skill-grid > .onboarding-collection-empty {
    flex: 1 1 100%;
    width: 100%;
}

.candidate-skill-card {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: min(100%, 14rem);
    min-height: 0;
    padding: 0.68rem 0.75rem;
    border: 1px solid #d7e3f0;
    border-radius: 14px;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
    cursor: pointer;
}

.candidate-skill-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.candidate-skill-card:focus-visible {
    outline: 3px solid rgba(46, 196, 182, 0.35);
    outline-offset: 2px;
    border-color: #2ec4b6;
}

.candidate-skill-grid.is-sorting .candidate-skill-card:hover {
    transform: none;
    border-color: #d7e3f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.candidate-skill-grid.is-sorting .candidate-skill-card {
    transition: box-shadow 0.12s ease, border-color 0.12s ease, opacity 0.12s ease !important;
}

.candidate-skill-card--chosen {
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.18), 0 10px 24px rgba(15, 23, 42, 0.05);
}

.candidate-skill-card--dragging {
    background: #fffef9;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
    cursor: grabbing;
}

.candidate-skill-card--ghost {
    opacity: 0.22;
    box-shadow: inset 0 0 0 1.5px rgba(37, 99, 235, 0.26);
}

.candidate-skill-card--ghost:hover {
    transform: none;
    box-shadow: inset 0 0 0 1.5px rgba(37, 99, 235, 0.26);
}

.candidate-skill-card--mirror {
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
    border-color: #60a5fa;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 36%),
        linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.22);
    cursor: grabbing;
    pointer-events: none;
    will-change: transform;
    z-index: 30 !important;
}

.candidate-skill-card:active {
    cursor: grabbing;
}

.candidate-skill-card .candidate-skill-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.58rem;
    width: 100%;
}

.candidate-skill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.16);
    font-size: 0.98rem;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    align-self: center;
}

.candidate-skill-body {
    min-width: 0;
    display: grid;
    gap: 0.14rem;
}

.candidate-skill-topline {
    display: block;
    align-items: start;
}

.candidate-skill-heading {
    min-width: 0;
    display: grid;
    gap: 0.38rem;
}

.candidate-skill-title-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.42rem;
    min-width: 0;
}

.candidate-skill-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.84rem;
    line-height: 1.2;
    word-break: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    min-width: 0;
    max-width: 7.6rem;
}

.candidate-skill-level {
    margin-left: 0;
    flex-shrink: 0;
    cursor: help;
}

.candidate-skill-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.candidate-skill-meta .badge {
    font-weight: 600;
    padding: 0.26rem 0.42rem;
    border-radius: 999px;
    font-size: 0.68rem;
}

.candidate-skill-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex-shrink: 0;
}

.candidate-skill-action {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
    background: #fff;
    color: #475569;
    line-height: 1;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
}

.candidate-skill-action:hover,
.candidate-skill-action:focus {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: rgba(37, 99, 235, 0.28);
    transform: translateY(-1px);
}

.candidate-skill-action-danger {
    color: #dc2626;
}

.candidate-skill-action-danger:hover,
.candidate-skill-action-danger:focus {
    color: #b91c1c;
    background: #fef2f2;
    border-color: rgba(220, 38, 38, 0.24);
}

@media (max-width: 575.98px) {
    .candidate-skill-grid {
        align-items: stretch;
    }

    .candidate-skill-card {
        max-width: 100%;
    }

    .candidate-skill-card .candidate-skill-main {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0.58rem;
    }

    .candidate-skill-icon {
        width: 2.45rem;
        height: 2.45rem;
    }

    .candidate-skill-name {
        font-size: 0.84rem;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .candidate-skill-grid {
        align-items: center;
    }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
    .candidate-skill-grid {
        align-items: center;
    }
}

@media (min-width: 1400px) {
    .candidate-skill-grid {
        align-items: center;
    }
}

.skills-registered-header {
    margin-top: 1.35rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.labor-role-selected {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.45rem;
}

.labor-role-selected .role-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    max-width: 100%;
    min-height: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.34);
    border-radius: 999px;
    background: #f8fafc;
    color: #0f172a;
    padding: 0.24rem 0.32rem 0.24rem 0.72rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.labor-role-selected .role-chip .role-chip-label {
    display: inline-block;
    max-width: min(30ch, calc(100vw - 12rem));
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1.15;
    font-size: 0.84rem;
}

.labor-role-selected .role-chip--suggested {
    background: #fff7ed;
    color: #9a3412;
    border-color: rgba(251, 146, 60, 0.6);
}

.labor-role-selected .role-chip .role-chip-suggested-tag {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0.1rem 0.42rem;
    border-radius: 999px;
    border: 1px solid rgba(154, 52, 18, 0.28);
    background: rgba(255, 237, 213, 0.75);
    color: #9a3412;
    font-size: 0.63rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.01em;
}

.labor-role-selected .role-chip .role-chip-remove {
    appearance: none;
    -webkit-appearance: none;
    width: 1.1rem;
    height: 1.1rem;
    min-width: 1.1rem;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.05rem;
    padding: 0;
    line-height: 1;
    color: #991b1b;
    background: rgba(220, 38, 38, 0.14);
    text-decoration: none !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

@media (max-width: 767.98px) {
    .labor-role-selected .role-chip .role-chip-label {
        max-width: min(24ch, calc(100vw - 10rem));
    }
}

.labor-role-selected .role-chip .role-chip-remove > svg {
    width: 0.68rem;
    height: 0.68rem;
    display: block;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    fill: none;
}

.labor-role-selected .role-chip .role-chip-remove:hover,
.labor-role-selected .role-chip .role-chip-remove:focus {
    color: #ffffff;
    background: #dc2626;
    text-decoration: none !important;
    outline: none;
}

.labor-role-selected .role-chip .role-chip-remove:active {
    background: #b91c1c;
    transform: translateY(1px);
}

.required-skills-panel {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
    padding: 0.95rem 0.95rem 1rem;
}

.required-skills-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 0.9rem;
    align-items: end;
    margin-bottom: 0.85rem;
}

.required-skills-toolbar.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.required-skills-role-picker {
    min-width: 0;
}

.required-skills-role-picker__label {
    display: block;
    margin-bottom: 0.35rem;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.2;
}

.required-skills-role-picker .form-select {
    border-radius: 12px;
    border-color: rgba(148, 163, 184, 0.34);
    background-color: #fff;
    min-height: 2.5rem;
}

.required-skills-progress-summary {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.84);
    padding: 0.7rem 0.8rem;
}

.required-skills-progress-summary__label {
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.required-skills-progress-summary__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
}

.required-skills-progress-summary__percent {
    color: #0f5fff;
}

.required-roles-stack {
    min-width: 0;
}

.required-role-card {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    background: #ffffff;
    padding: 0.8rem 0.85rem 0.85rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
}

.required-role-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
}

.required-role-block + .required-role-block {
    margin-top: 0.75rem;
}

.required-role-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.required-skill-chip {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.68rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.required-skill-chip:hover,
.required-skill-chip:focus {
    border-color: #60a5fa;
    background: #dbeafe;
    color: #1e3a8a;
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.14);
    transform: translateY(-1px);
    outline: none;
}

.required-skill-chip--soft {
    border-color: rgba(221, 214, 254, 0.95);
    background: #f5f3ff;
    color: #6d28d9;
}

.required-skill-chip--soft:hover,
.required-skill-chip--soft:focus {
    border-color: #a78bfa;
    background: #ede9fe;
    color: #5b21b6;
}

.required-skill-chip.is-added,
.required-skill-chip:disabled {
    border-color: rgba(187, 247, 208, 0.95);
    background: #f0fdf4;
    color: #15803d;
    box-shadow: none;
    transform: none;
    cursor: default;
    opacity: 1;
}

.required-skill-chip__icon {
    width: 1.15rem;
    height: 1.15rem;
    min-width: 1.15rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
}

.required-skill-chip__label {
    white-space: nowrap;
    max-width: 22ch;
    overflow: hidden;
    text-overflow: ellipsis;
}

.required-role-title {
    font-weight: 700;
    color: #0f172a;
    min-width: 0;
}

.required-role-progress {
    width: 120px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.required-role-progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb 0%, #22c55e 100%);
}

.required-role-progress--summary {
    width: 100%;
}

.required-role-progress-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 1.75rem;
    padding: 0.2rem 0.58rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.1;
}

.required-role-body {
    padding: 0.75rem 0.9rem 0.9rem;
    background: #ffffff;
}

.candidate-skill-hint {
    color: #94a3b8;
    font-size: 0.85rem;
}

.candidate-skill-ghost {
    opacity: 0.6;
}

.skills-manager .onboarding-section-body {
    padding-top: 0.35rem;
}

.candidate-skill-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748b;
    font-size: 0.75rem;
}

@media (max-width: 767.98px) {
    .required-skills-panel {
        padding: 0.9rem;
    }

    .required-skills-toolbar {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .required-role-card {
        padding: 0.78rem 0.8rem 0.82rem;
    }

    .candidate-skill-grid {
        align-items: stretch;
    }

    .required-skill-chip__label {
        max-width: 18ch;
    }
}

.icon-picker-search {
    background: #fff;
    background-color: #fff;
    margin-bottom: 0.65rem;
}

.icon-picker-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.35rem;
    max-height: 330px;
    max-height: min(330px, calc(84vh - 122px));
    background: #fff;
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.icon-picker-item {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.35rem;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icon-picker-item:hover {
    border-color: #cbd5f5;
    background: #eef2ff;
}

.icon-class-picker {
    position: relative;
    min-width: 220px;
}

.business-lines-admin-page .icon-class-picker .icon-picker-panel {
    max-height: min(60vh, 340px);
    overflow: hidden;
}

.business-lines-admin-page .icon-class-picker .icon-picker-grid {
    max-height: min(240px, calc(60vh - 120px));
}

.icon-catalog-grid {
    column-gap: 0.75rem;
    column-count: 6;
}

@media (max-width: 1600px) {
    .icon-catalog-grid {
        column-count: 5;
    }
}

@media (max-width: 1400px) {
    .icon-catalog-grid {
        column-count: 4;
    }
}

@media (max-width: 1200px) {
    .icon-catalog-grid {
        column-count: 3;
    }
}

@media (max-width: 992px) {
    .icon-catalog-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .icon-catalog-grid {
        column-count: 1;
    }
}

.icon-catalog-wrapper {
    position: relative;
    min-height: 160px;
}

.icon-catalog-loading {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    border-radius: 12px;
    background: #f8fafc;
}

.icon-catalog-wrapper.is-loading .icon-catalog-loading {
    display: flex;
}

.icon-catalog-wrapper.is-loading .icon-catalog-grid {
    opacity: 0;
    visibility: hidden;
}

.icon-catalog-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.6rem;
    background: #fff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 0.75rem;
    break-inside: avoid;
}

.icon-catalog-button {
    border: none;
    background: transparent;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: #0f172a;
}

.icon-catalog-button:hover {
    background: #f8fafc;
    border-radius: 10px;
}

.icon-catalog-button i {
    font-size: 1.4rem;
}

.icon-catalog-name {
    font-size: 0.8rem;
    text-align: center;
}

.icon-catalog-form {
    margin-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.6rem;
}

.icon-catalog-form .icon-picker-panel {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
    box-sizing: border-box;
}

.skill-image-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.skill-image-overlay img {
    max-height: 90vh;
}

.skill-image-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    filter: invert(1);
}

.icon-catalog-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.icon-catalog-form .icon-class-picker,
.icon-catalog-form .color-input,
.icon-catalog-form input[type="text"] {
    width: 100%;
}

.icon-catalog-form .icon-picker,
.icon-catalog-form .icon-class-picker {
    min-width: 0;
    width: 100%;
}

.icon-catalog-form .icon-picker-toggle {
    width: 100%;
    justify-content: space-between;
    min-width: 0;
}

.icon-catalog-form .icon-picker-panel {
    width: 280px;
    max-width: calc(100vw - 24px);
}

.skill-suggestion-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
}

.skill-suggestion-controls .form-select {
    min-width: 140px;
}

#skills-suggestions .skill-suggestion-controls .icon-picker {
    z-index: 2147483647;
}

#skills-suggestions .skill-suggestion-controls .icon-picker-panel {
    z-index: 2147483647;
}

.color-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-input input[type="color"] {
    width: 38px;
    height: 34px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.skill-card-actions {
    position: absolute;
    left: 0.6rem;
    bottom: 0.75rem;
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    justify-content: flex-end;
}

.skill-card-actions .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.skill-card-form {
    display: none;
    margin-top: 0.75rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 0.35rem;
}

.skill-card.is-editing [data-skill-view] {
    display: none;
}

.skill-card.is-editing .skill-card-form {
    display: flex;
}

.skill-card.is-editing {
    z-index: 5;
}

.skill-card-form input,
.skill-card-form select {
    flex: 1 1 120px;
}

.skill-card-form-actions {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.skill-catalog-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.skill-catalog-form input[type="text"],
.skill-catalog-form select {
    flex: 1 1 160px;
    min-width: 140px;
}

.skill-catalog-form button {
    flex: 0 0 auto;
}

.skill-catalog-static {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.cursor-pointer {
    cursor: pointer;
}

.vacancy-search .form-control:focus {
    box-shadow: none;
}

.vacancy-search .input-group-text,
.vacancy-search .form-control,
.vacancy-create-btn,
.vacancy-bulk-btn {
    height: 44px;
    min-height: 44px;
}

.vacancy-create-btn,
.vacancy-bulk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
}

.quota-cart-qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 999px;
    padding: 0 8px;
    font-weight: 600;
}

.quota-row {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.quota-list .quota-row:last-child {
    border-bottom: 0;
}

@media (min-width: 768px) {
    .quota-row .row {
        flex-wrap: nowrap;
    }
}

.drag-ghost {
    opacity: 0.6;
    background: #f8fafc;
}

[data-contract-type-table] tbody tr {
    cursor: grab;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

[data-contract-type-table] tbody tr:active {
    cursor: grabbing;
}

[data-contract-type-table] tbody tr:hover {
    background-color: rgba(15, 23, 42, 0.04);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.vacancy-create-btn {
    min-width: 210px;
    padding-left: 1rem;
    padding-right: 1rem;
    line-height: 1.1;
    white-space: nowrap;
}

.vacancy-create-btn .vacancy-create-text {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.vacancy-create-btn .vacancy-word-break {
    display: inline;
}

.vacancy-action-btn {
    border-width: 1px;
    border-style: solid;
    font-weight: 600;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.vacancy-action-btn:hover,
.vacancy-action-btn:focus {
    transform: translateY(-1px);
    filter: brightness(0.97);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.vacancy-action-btn:disabled,
.vacancy-action-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.72;
}

.vacancy-action-btn[aria-hidden="true"] {
    opacity: 0.62;
    cursor: not-allowed;
    pointer-events: none;
}

.vacancy-action-btn--view {
    color: #1d4ed8;
    background: rgba(29, 78, 216, 0.1);
    border-color: rgba(29, 78, 216, 0.35);
}

.vacancy-action-btn--view:hover,
.vacancy-action-btn--view:focus {
    color: #1d4ed8 !important;
    background: rgba(29, 78, 216, 0.1) !important;
    border-color: rgba(29, 78, 216, 0.35) !important;
}
.vacancy-action-btn--view:active {
    color: #1d4ed8 !important;
    background: rgba(29, 78, 216, 0.26) !important;
    border-color: rgba(29, 78, 216, 0.45) !important;
}

.vacancy-action-btn--view.active,
.show > .vacancy-action-btn--view.dropdown-toggle {
    color: #1d4ed8 !important;
    background: rgba(29, 78, 216, 0.2) !important;
    border-color: rgba(29, 78, 216, 0.35) !important;
}

.vacancy-action-btn--edit {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.1);
    border-color: rgba(15, 118, 110, 0.32);
}

.vacancy-action-btn--edit:hover,
.vacancy-action-btn--edit:focus {
    color: #0f766e !important;
    background: rgba(15, 118, 110, 0.1) !important;
    border-color: rgba(15, 118, 110, 0.32) !important;
}
.vacancy-action-btn--edit:active {
    color: #0f766e !important;
    background: rgba(15, 118, 110, 0.26) !important;
    border-color: rgba(15, 118, 110, 0.42) !important;
}

.vacancy-action-btn--edit.active,
.show > .vacancy-action-btn--edit.dropdown-toggle {
    color: #0f766e !important;
    background: rgba(15, 118, 110, 0.2) !important;
    border-color: rgba(15, 118, 110, 0.32) !important;
}

.vacancy-action-btn--history {
    color: #4338ca;
    background: rgba(67, 56, 202, 0.12);
    border-color: rgba(67, 56, 202, 0.28);
}

.vacancy-action-btn--history:hover,
.vacancy-action-btn--history:focus {
    color: #4338ca !important;
    background: rgba(67, 56, 202, 0.12) !important;
    border-color: rgba(67, 56, 202, 0.28) !important;
}

.vacancy-action-btn--history:active {
    color: #4338ca !important;
    background: rgba(67, 56, 202, 0.26) !important;
    border-color: rgba(67, 56, 202, 0.38) !important;
}

.vacancy-action-btn--history.active,
.show > .vacancy-action-btn--history.dropdown-toggle {
    color: #4338ca !important;
    background: rgba(67, 56, 202, 0.2) !important;
    border-color: rgba(67, 56, 202, 0.28) !important;
}

.vacancy-action-btn--pause {
    color: #b45309;
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(180, 83, 9, 0.3);
}

.vacancy-action-btn--pause:hover,
.vacancy-action-btn--pause:focus {
    color: #b45309 !important;
    background: rgba(245, 158, 11, 0.14) !important;
    border-color: rgba(180, 83, 9, 0.3) !important;
}
.vacancy-action-btn--pause:active {
    color: #b45309 !important;
    background: rgba(245, 158, 11, 0.3) !important;
    border-color: rgba(180, 83, 9, 0.4) !important;
}

.vacancy-action-btn--pause.active,
.show > .vacancy-action-btn--pause.dropdown-toggle {
    color: #b45309 !important;
    background: rgba(245, 158, 11, 0.24) !important;
    border-color: rgba(180, 83, 9, 0.3) !important;
}

.vacancy-action-btn--resume,
.vacancy-action-btn--reactivate {
    color: #166534;
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(22, 101, 52, 0.3);
}

.vacancy-action-btn--resume:hover,
.vacancy-action-btn--resume:focus,
.vacancy-action-btn--reactivate:hover,
.vacancy-action-btn--reactivate:focus {
    color: #166534 !important;
    background: rgba(34, 197, 94, 0.14) !important;
    border-color: rgba(22, 101, 52, 0.3) !important;
}
.vacancy-action-btn--resume:active,
.vacancy-action-btn--reactivate:active {
    color: #166534 !important;
    background: rgba(34, 197, 94, 0.3) !important;
    border-color: rgba(22, 101, 52, 0.4) !important;
}

.vacancy-action-btn--resume.active,
.show > .vacancy-action-btn--resume.dropdown-toggle,
.vacancy-action-btn--reactivate.active,
.show > .vacancy-action-btn--reactivate.dropdown-toggle {
    color: #166534 !important;
    background: rgba(34, 197, 94, 0.24) !important;
    border-color: rgba(22, 101, 52, 0.3) !important;
}

.vacancy-action-btn--archive {
    color: #374151;
    background: rgba(107, 114, 128, 0.14);
    border-color: rgba(55, 65, 81, 0.28);
}

.vacancy-action-btn--archive:hover,
.vacancy-action-btn--archive:focus {
    color: #374151 !important;
    background: rgba(107, 114, 128, 0.14) !important;
    border-color: rgba(55, 65, 81, 0.28) !important;
}
.vacancy-action-btn--archive:active {
    color: #374151 !important;
    background: rgba(107, 114, 128, 0.3) !important;
    border-color: rgba(55, 65, 81, 0.38) !important;
}

.vacancy-action-btn--archive.active,
.show > .vacancy-action-btn--archive.dropdown-toggle {
    color: #374151 !important;
    background: rgba(107, 114, 128, 0.24) !important;
    border-color: rgba(55, 65, 81, 0.28) !important;
}

.vacancy-action-btn--clone {
    color: #6d28d9;
    background: rgba(139, 92, 246, 0.14);
    border-color: rgba(109, 40, 217, 0.3);
}

.vacancy-action-btn--clone:hover,
.vacancy-action-btn--clone:focus {
    color: #6d28d9 !important;
    background: rgba(139, 92, 246, 0.14) !important;
    border-color: rgba(109, 40, 217, 0.3) !important;
}
.vacancy-action-btn--clone:active {
    color: #6d28d9 !important;
    background: rgba(139, 92, 246, 0.3) !important;
    border-color: rgba(109, 40, 217, 0.4) !important;
}

.vacancy-action-btn--clone.active,
.show > .vacancy-action-btn--clone.dropdown-toggle {
    color: #6d28d9 !important;
    background: rgba(139, 92, 246, 0.24) !important;
    border-color: rgba(109, 40, 217, 0.3) !important;
}

.vacancy-action-btn--delete {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(185, 28, 28, 0.3);
}

.vacancy-action-btn--delete:hover,
.vacancy-action-btn--delete:focus {
    color: #b91c1c !important;
    background: rgba(239, 68, 68, 0.14) !important;
    border-color: rgba(185, 28, 28, 0.3) !important;
}
.vacancy-action-btn--delete:active {
    color: #b91c1c !important;
    background: rgba(239, 68, 68, 0.3) !important;
    border-color: rgba(185, 28, 28, 0.4) !important;
}

.vacancy-action-btn--delete.active,
.show > .vacancy-action-btn--delete.dropdown-toggle {
    color: #b91c1c !important;
    background: rgba(239, 68, 68, 0.24) !important;
    border-color: rgba(185, 28, 28, 0.3) !important;
}

.vacancy-action-btn--approve {
    color: #065f46;
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(6, 95, 70, 0.3);
}

.vacancy-action-btn--approve:hover,
.vacancy-action-btn--approve:focus {
    color: #065f46 !important;
    background: rgba(16, 185, 129, 0.22) !important;
    border-color: rgba(6, 95, 70, 0.3) !important;
}

.vacancy-action-btn--approve:active {
    color: #065f46 !important;
    background: rgba(16, 185, 129, 0.32) !important;
    border-color: rgba(6, 95, 70, 0.42) !important;
}

.vacancy-action-btn--approve.active,
.show > .vacancy-action-btn--approve.dropdown-toggle {
    color: #065f46 !important;
    background: rgba(16, 185, 129, 0.26) !important;
    border-color: rgba(6, 95, 70, 0.3) !important;
}

.vacancy-action-btn--reject {
    color: #9f1239;
    background: rgba(244, 63, 94, 0.14);
    border-color: rgba(159, 18, 57, 0.3);
}

.vacancy-action-btn--reject:hover,
.vacancy-action-btn--reject:focus {
    color: #9f1239 !important;
    background: rgba(244, 63, 94, 0.22) !important;
    border-color: rgba(159, 18, 57, 0.3) !important;
}

.vacancy-action-btn--reject:active {
    color: #9f1239 !important;
    background: rgba(244, 63, 94, 0.32) !important;
    border-color: rgba(159, 18, 57, 0.42) !important;
}

.vacancy-action-btn--reject.active,
.show > .vacancy-action-btn--reject.dropdown-toggle {
    color: #9f1239 !important;
    background: rgba(244, 63, 94, 0.24) !important;
    border-color: rgba(159, 18, 57, 0.3) !important;
}

.vacancy-actions-compact {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.vacancy-action-primary,
.vacancy-action-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-height: 2.1rem;
    border-width: 1px;
    border-style: solid;
    border-radius: 0.7rem;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.vacancy-action-primary:hover,
.vacancy-action-primary:focus,
.vacancy-action-more:hover,
.vacancy-action-more:focus {
    transform: translateY(-1px);
    filter: brightness(0.98);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.11);
}

.vacancy-action-more {
    width: 2.1rem;
    padding: 0;
    color: #475569;
    background: #f8fafc;
    border-color: #dbe4f0;
}

.vacancy-action-more:hover,
.vacancy-action-more:focus,
.show > .vacancy-action-more.dropdown-toggle {
    color: #0f172a;
    background: #eef2f7;
    border-color: #cbd5e1;
}

.vacancy-action-primary--detail {
    color: #334155;
    background: #f8fafc;
    border-color: #cbd5e1;
}

.vacancy-action-primary--view {
    color: #1d4ed8;
    background: rgba(29, 78, 216, 0.1);
    border-color: rgba(29, 78, 216, 0.35);
}

.vacancy-action-primary--edit {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.1);
    border-color: rgba(15, 118, 110, 0.32);
}

.vacancy-action-primary--approve,
.vacancy-action-primary--resume,
.vacancy-action-primary--reactivate {
    color: #166534;
    background: rgba(34, 197, 94, 0.14);
    border-color: rgba(22, 101, 52, 0.3);
}

.vacancy-action-primary--reject,
.vacancy-action-primary--close,
.vacancy-action-primary--delete {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(185, 28, 28, 0.3);
}

.vacancy-action-primary--pause {
    color: #b45309;
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(180, 83, 9, 0.3);
}

.vacancy-action-primary--archive {
    color: #374151;
    background: rgba(107, 114, 128, 0.14);
    border-color: rgba(55, 65, 81, 0.28);
}

.vacancy-action-primary--clone {
    color: #6d28d9;
    background: rgba(139, 92, 246, 0.14);
    border-color: rgba(109, 40, 217, 0.3);
}

.vacancy-action-primary--detail:hover,
.vacancy-action-primary--detail:focus {
    color: #1e293b;
    background: #eef2f7;
    border-color: #cbd5e1;
}

.vacancy-action-primary--view:hover,
.vacancy-action-primary--view:focus {
    color: #1e40af;
    background: rgba(29, 78, 216, 0.16);
    border-color: rgba(29, 78, 216, 0.42);
}

.vacancy-action-primary--edit:hover,
.vacancy-action-primary--edit:focus {
    color: #115e59;
    background: rgba(15, 118, 110, 0.16);
    border-color: rgba(15, 118, 110, 0.4);
}

.vacancy-action-primary--approve:hover,
.vacancy-action-primary--approve:focus,
.vacancy-action-primary--resume:hover,
.vacancy-action-primary--resume:focus,
.vacancy-action-primary--reactivate:hover,
.vacancy-action-primary--reactivate:focus {
    color: #14532d;
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(22, 101, 52, 0.38);
}

.vacancy-action-primary--reject:hover,
.vacancy-action-primary--reject:focus,
.vacancy-action-primary--close:hover,
.vacancy-action-primary--close:focus,
.vacancy-action-primary--delete:hover,
.vacancy-action-primary--delete:focus {
    color: #991b1b;
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(185, 28, 28, 0.38);
}

.vacancy-action-primary--pause:hover,
.vacancy-action-primary--pause:focus {
    color: #92400e;
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(180, 83, 9, 0.38);
}

.vacancy-action-primary--archive:hover,
.vacancy-action-primary--archive:focus {
    color: #1f2937;
    background: rgba(107, 114, 128, 0.2);
    border-color: rgba(55, 65, 81, 0.36);
}

.vacancy-action-primary--clone:hover,
.vacancy-action-primary--clone:focus {
    color: #5b21b6;
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(109, 40, 217, 0.38);
}

.vacancy-actions-menu {
    min-width: 15rem;
    padding: 0.35rem;
    border: 1px solid #dbe4f0;
    border-radius: 0.85rem;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.vacancy-actions-menu__item {
    display: flex;
    align-items: center;
    gap: 0.62rem;
    min-height: 2.35rem;
    padding: 0.58rem 0.72rem;
    border-radius: 0.65rem;
    color: #334155;
    font-weight: 700;
}

.vacancy-actions-menu__item i {
    width: 1.1rem;
    text-align: center;
    color: #64748b;
}

.vacancy-actions-menu__item:hover,
.vacancy-actions-menu__item:focus {
    background: #f1f5f9;
    color: #0f172a;
}

.vacancy-actions-menu__item--view,
.vacancy-actions-menu__item--view i {
    color: #1d4ed8;
}

.vacancy-actions-menu__item--edit,
.vacancy-actions-menu__item--edit i {
    color: #0f766e;
}

.vacancy-actions-menu__item--history,
.vacancy-actions-menu__item--history i {
    color: #4338ca;
}

.vacancy-actions-menu__item--approve,
.vacancy-actions-menu__item--resume,
.vacancy-actions-menu__item--reactivate,
.vacancy-actions-menu__item--approve i,
.vacancy-actions-menu__item--resume i,
.vacancy-actions-menu__item--reactivate i {
    color: #166534;
}

.vacancy-actions-menu__item--pause,
.vacancy-actions-menu__item--pause i {
    color: #b45309;
}

.vacancy-actions-menu__item--clone,
.vacancy-actions-menu__item--clone i {
    color: #6d28d9;
}

.vacancy-actions-menu__item--archive,
.vacancy-actions-menu__item--archive i,
.vacancy-actions-menu__item--detail,
.vacancy-actions-menu__item--detail i {
    color: #475569;
}

.vacancy-actions-menu__item--reject,
.vacancy-actions-menu__item--close,
.vacancy-actions-menu__item--delete,
.vacancy-actions-menu__item--reject i,
.vacancy-actions-menu__item--close i,
.vacancy-actions-menu__item--delete i {
    color: #b91c1c;
}

.vacancy-actions-menu__item--view:hover,
.vacancy-actions-menu__item--view:focus {
    background: #eff6ff;
}

.vacancy-actions-menu__item--edit:hover,
.vacancy-actions-menu__item--edit:focus,
.vacancy-actions-menu__item--approve:hover,
.vacancy-actions-menu__item--approve:focus,
.vacancy-actions-menu__item--resume:hover,
.vacancy-actions-menu__item--resume:focus,
.vacancy-actions-menu__item--reactivate:hover,
.vacancy-actions-menu__item--reactivate:focus {
    background: #ecfdf5;
}

.vacancy-actions-menu__item--pause:hover,
.vacancy-actions-menu__item--pause:focus {
    background: #fffbeb;
}

.vacancy-actions-menu__item--history:hover,
.vacancy-actions-menu__item--history:focus,
.vacancy-actions-menu__item--clone:hover,
.vacancy-actions-menu__item--clone:focus {
    background: #f5f3ff;
}

.vacancy-actions-menu__item--reject:hover,
.vacancy-actions-menu__item--reject:focus,
.vacancy-actions-menu__item--close:hover,
.vacancy-actions-menu__item--close:focus,
.vacancy-actions-menu__item--delete:hover,
.vacancy-actions-menu__item--delete:focus {
    background: #fff1f2;
}

@media (max-width: 575.98px) {
    .vacancy-action-primary span {
        max-width: 9rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 420px) {
    .vacancy-create-btn {
        min-width: 160px;
        white-space: normal;
    }

    .vacancy-create-btn .vacancy-create-text {
        display: inline;
    }

    .vacancy-create-btn .vacancy-word-break {
        display: block;
    }
}

.hunting-search {
    border-radius: 0.78rem;
    overflow: visible;
}

.hunting-search .form-control {
    border-top-left-radius: 0.78rem !important;
    border-bottom-left-radius: 0.78rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.hunting-search .admin-search-icon-btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 0.78rem !important;
    border-bottom-right-radius: 0.78rem !important;
}

.hunting-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.25);
}

.hunting-hero .card-body {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.84), rgba(15, 23, 42, 0.48));
}

.hunting-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg, rgba(4, 23, 48, 0.25), rgba(15, 23, 42, 0.65));
    z-index: 1;
}

.hunting-hero .text-uppercase {
    letter-spacing: 0.08em;
}

.hunting-plan-strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.48rem 0.85rem;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(226, 232, 240, 0.4);
    color: #ffffff;
    font-weight: 700;
}

.hunting-result-card {
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    cursor: pointer;
    transition: background 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.hunting-result-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(46, 196, 182, 0.14), transparent 42%),
        linear-gradient(180deg, rgba(15, 42, 95, 0.05), transparent 62%);
    opacity: 0;
    transition: opacity 160ms ease;
    z-index: 0;
}

.hunting-result-card::after {
    content: "\f061";
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid rgba(46, 196, 182, 0.42);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #0f766e;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.09);
    font-family: "Font Awesome 6 Free";
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 160ms ease, transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hunting-result-card .card-body {
    position: relative;
    z-index: 1;
    padding: 1rem;
}

.hunting-result-card:hover,
.hunting-result-card:focus-visible {
    border-color: rgba(46, 196, 182, 0.58);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12), 0 0 0 3px rgba(46, 196, 182, 0.1);
}

.hunting-result-card:hover::before,
.hunting-result-card:focus-visible::before,
.hunting-result-card:hover::after,
.hunting-result-card:focus-visible::after {
    opacity: 1;
}

.hunting-result-card:hover::after,
.hunting-result-card:focus-visible::after {
    transform: scale(1);
}

.hunting-result-card:hover .hunting-card-name,
.hunting-result-card:focus-visible .hunting-card-name {
    color: #0f766e;
}

.hunting-result-card:focus-visible {
    outline: 3px solid rgba(46, 196, 182, 0.35);
    outline-offset: 3px;
}

.hunting-result-card.is-locked {
    background: #f8fafc;
    border-color: rgba(15, 23, 42, 0.15);
}

.hunting-result-card.is-locked .hunting-recommendation {
    opacity: 0.9;
}

.hunting-avatar-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    position: relative;
    background: rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.4);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
}

.hunting-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hunting-card-name {
    font-size: 1.22rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.hunting-inline-metadata-title {
    font-size: 0.9rem;
    margin-bottom: 0.18rem;
}

.hunting-card-headline {
    font-size: 0.9rem;
    line-height: 1.25;
}

.hunting-access-help {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(46, 196, 182, 0.28);
    border-radius: 0.85rem;
    background: linear-gradient(180deg, rgba(240, 253, 250, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    color: #0f172a;
}

.hunting-access-help > i {
    margin-top: 0.12rem;
    color: #0f766e;
}

.hunting-access-help__title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
}

.hunting-access-help__text {
    font-size: 0.82rem;
    line-height: 1.35;
    color: #475569;
}

.hunting-access-status {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    max-width: 100%;
    margin-top: 0.08rem;
    padding: 0.28rem 0.56rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.hunting-access-status.is-visible {
    border: 1px solid rgba(47, 191, 113, 0.38);
    background: rgba(236, 253, 245, 0.95);
    color: #047857;
}

.hunting-access-status.is-pending {
    border: 1px solid rgba(242, 153, 74, 0.42);
    background: rgba(255, 247, 237, 0.95);
    color: #b45309;
}

.hunting-card-unlock-action {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    max-width: 100%;
    margin-top: 0.18rem;
    padding: 0.34rem 0.62rem;
    border: 1px solid rgba(46, 196, 182, 0.55);
    border-radius: 999px;
    background: rgba(236, 253, 245, 0.9);
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.hunting-card-unlock-action:hover,
.hunting-card-unlock-action:focus-visible {
    border-color: rgba(15, 118, 110, 0.72);
    background: #0f766e;
    color: #ffffff;
    text-decoration: none;
}

.hunting-avatar--blur {
    filter: blur(5px);
    transform: scale(1.05);
}

.hunting-avatar-lock {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
}

.hunting-candidate-header {
    gap: 1rem;
}

.hunting-contact-row {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0.45rem;
}

@media (max-width: 767px) {
    .hunting-contact-row {
        justify-content: flex-start;
    }
}

.hunting-data-blur {
    color: #64748b;
    filter: blur(3px);
    user-select: none;
    pointer-events: none;
    text-shadow: 0 0 0 transparent;
}

.hunting-data-badge-list .badge {
    border-radius: 0.5rem;
}

.hunting-contact-locked {
    color: #94a3b8;
    background: #f8fafc;
    border-color: rgba(148, 163, 184, 0.55);
    pointer-events: none;
    user-select: none;
    opacity: 0.7;
    filter: blur(1.4px);
    position: relative;
    overflow: hidden;
}

.hunting-contact-locked::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 0.35rem;
    pointer-events: none;
    background: rgba(248, 250, 252, 0.22);
    backdrop-filter: blur(2px);
}

.hunting-photo {
    filter: grayscale(0.2);
}

.hunting-photo-lock {
    filter: blur(6px) grayscale(0.35);
    transform: scale(1.06);
}

.hunting-contact-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 1.9rem;
    border-radius: 0.45rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: #1d4ed8;
    text-decoration: none;
    background: #fff;
    padding: 0;
    font-size: 0.72rem;
    transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.hunting-contact-chip:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e40af;
}

.btn-hunting-favorite {
    --bs-btn-color: #8a6500;
    --bs-btn-bg: #ffffff;
    --bs-btn-border-color: #e7c86a;
    --bs-btn-hover-color: #5a4200;
    --bs-btn-hover-bg: #fff2c2;
    --bs-btn-hover-border-color: #d9b24b;
    --bs-btn-focus-shadow-rgb: 242, 201, 76;
    --bs-btn-active-color: #5a4200;
    --bs-btn-active-bg: #ffe7a0;
    --bs-btn-active-border-color: #d6a723;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(242, 201, 76, 0.12);
}

.btn-hunting-favorite i {
    color: #c58b00;
}

.btn-hunting-favorite--active {
    --bs-btn-color: #6b4f00;
    --bs-btn-bg: #fff0b3;
    --bs-btn-border-color: #e0b232;
    --bs-btn-hover-color: #5a4200;
    --bs-btn-hover-bg: #ffe487;
    --bs-btn-hover-border-color: #cc9f1e;
    --bs-btn-active-bg: #ffdc6f;
    --bs-btn-active-border-color: #c58b00;
    box-shadow: 0 10px 22px rgba(242, 201, 76, 0.22);
}

.hunting-meta-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.14rem 0.28rem;
    font-size: 0.78rem;
    line-height: 1.12;
}

.hunting-meta-inline-item {
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    min-width: 0;
}

.hunting-meta-inline-item i {
    font-size: 0.68rem;
    width: 0.84rem;
    min-width: 0.84rem;
    height: 0.84rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hunting-meta-inline-label {
    font-weight: 500;
}

.hunting-meta-inline-value {
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hunting-meta-inline-sep {
    color: inherit;
    opacity: 0.42;
    font-size: 0.68rem;
    line-height: 1;
    margin: 0;
}

.hunting-match-status {
    margin: 0;
}

.hunting-match-title {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.2;
    font-weight: 700;
    color: #0f172a;
}

.hunting-match-quality {
    display: inline-flex;
    align-items: center;
    min-height: 1.25rem;
    margin-left: 0.35rem;
    padding: 0.12rem 0.45rem;
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    color: #1d4ed8;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}

.hunting-match-subtitle {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.2;
    color: rgba(15, 23, 42, 0.65);
}

.hunting-match-block {
    padding: 0.45rem 0.6rem;
    border-radius: 0.7rem;
    background: linear-gradient(115deg, rgba(15, 23, 42, 0.03), rgba(15, 23, 42, 0));
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.hunting-match-chart {
    --match-score: 0%;
    --match-color: #3b82f6;
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background:
        conic-gradient(var(--match-color) var(--match-score), rgba(148, 163, 184, 0.2) 0);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.hunting-match-chart::before {
    content: "";
    position: absolute;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    z-index: 1;
}

.hunting-match-chart__value {
    position: relative;
    z-index: 2;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #0f172a;
}

.hunting-match-block + .mt-auto {
    margin-top: auto;
}

.hunting-inline-sep {
    opacity: 0.5;
}

.hunting-inline-sep + span,
.hunting-match-status .hunting-inline-sep {
    display: inline-flex;
}

.hunting-cta {
    width: 100%;
    justify-content: center;
    font-weight: 600;
}

.hunting-profile-lock-overlay {
    position: relative;
}

.hunting-profile-lock-overlay.is-locked::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.4), rgba(241, 245, 249, 0.6));
    backdrop-filter: blur(4px);
    z-index: 3;
    pointer-events: none;
}

.hunting-profile-lock-overlay.is-locked > * {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
}

.hunting-profile-locked-card {
    border-left: 4px solid #3b82f6;
}

.hunting-profile-locked-card .btn {
    pointer-events: auto;
}

.hunting-search .form-control,
.hunting-search .input-group-text {
    border-color: var(--search-border);
}

.hunting-search + .form-text {
    font-size: 0.8rem;
    color: rgba(33, 37, 41, 0.6);
}

.hunting-location-menu {
    max-height: 220px;
    overflow-y: auto;
}

.hunting-location-menu .dropdown-item {
    white-space: normal;
}
main.main-content:has(> .admin-dashboard-shell) {
    background: #f6f7fb;
    min-height: calc(100vh - 64px);
}

.admin-dashboard-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

.admin-dashboard-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.admin-dashboard-eyebrow {
    color: #2ec4b6;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.18rem;
    text-transform: uppercase;
}

.admin-dashboard-hero h1 {
    color: #101828;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

.admin-dashboard-hero__action {
    align-items: center;
    border-radius: 12px;
    display: inline-flex;
    font-weight: 700;
    gap: 0.5rem;
    white-space: nowrap;
}

.admin-dashboard-kpis {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-kpi-card {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(208, 213, 221, 0.9);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 108px;
    overflow: hidden;
    padding: 1.05rem;
    position: relative;
}

.admin-kpi-card::before {
    border-radius: 999px;
    content: "";
    display: none;
    height: 4px;
    left: 1.05rem;
    position: absolute;
    right: 1.05rem;
    top: 0;
}

.admin-kpi-card__icon {
    align-items: center;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1rem;
    height: 2.85rem;
    justify-content: center;
    width: 2.85rem;
}

.admin-kpi-card--primary .admin-kpi-card__icon {
    background: linear-gradient(135deg, #0f5fff, #1b3a8a);
}

.admin-kpi-card--warning .admin-kpi-card__icon {
    background: linear-gradient(135deg, #f2c94c, #f2994a);
}

.admin-kpi-card--success .admin-kpi-card__icon {
    background: linear-gradient(135deg, #2fbf71, #2ec4b6);
}

.admin-kpi-card--info .admin-kpi-card__icon {
    background: linear-gradient(135deg, #56ccf2, #1b3a8a);
}

.admin-kpi-card__body {
    min-width: 0;
}

.admin-kpi-card__label {
    color: #667085;
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.32rem;
}

.admin-kpi-card__value {
    color: #101828;
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.admin-kpi-card__spark {
    align-items: end;
    display: inline-grid;
    gap: 3px;
    grid-template-columns: repeat(3, 4px);
    height: 28px;
}

.admin-kpi-card__spark span {
    background: #d0d5dd;
    border-radius: 999px;
    display: block;
    opacity: 0.85;
}

.admin-dashboard-grid {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(280px, 0.78fr);
}

.admin-dashboard-panel {
    background: #fff;
    border: 1px solid rgba(208, 213, 221, 0.92);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    min-width: 0;
    overflow: hidden;
}

.admin-dashboard-panel .card-body {
    padding: 1.15rem;
}

.admin-panel-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.admin-panel-head h6 {
    color: #101828;
    font-size: 0.98rem;
    font-weight: 800;
}

.admin-panel-head p {
    color: #667085;
    font-size: 0.78rem;
    line-height: 1.35;
    margin-top: 0.16rem;
}

.admin-panel-link {
    color: #0f5fff;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.admin-panel-link:hover,
.admin-panel-link:focus {
    color: #0b1f44;
}

.admin-dashboard-pill {
    background: #eef6ff;
    border: 1px solid rgba(86, 204, 242, 0.45);
    border-radius: 999px;
    color: #0f2a5f;
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.32rem 0.58rem;
    white-space: nowrap;
}

.admin-dashboard-pill--preview {
    background: #fff8e1;
    border-color: rgba(242, 201, 76, 0.55);
    color: #7a4b00;
}

.admin-status-layout {
    align-items: center;
    display: grid;
    gap: 1.1rem;
    grid-template-columns: minmax(178px, 0.82fr) minmax(0, 1fr);
}

.admin-status-layout.is-chart-fallback {
    grid-template-columns: 1fr;
}

.admin-status-chart {
    align-items: center;
    aspect-ratio: 1;
    background: radial-gradient(circle, #fff 46%, #eef4ff 47%, #eef4ff 50%, #fff 51%);
    border-radius: 50%;
    display: grid;
    justify-items: center;
    margin-inline: auto;
    max-width: 248px;
    min-width: 178px;
    position: relative;
    width: 100%;
}

.admin-status-chart.has-chart {
    animation: adminStatusChartEnter 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes adminStatusChartEnter {
    0% {
        opacity: 0;
        transform: scale(0.92) rotate(-8deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.admin-status-chart.is-chart-fallback {
    display: none;
}

.admin-status-chart canvas {
    height: 100% !important;
    inset: 0;
    position: absolute;
    width: 100% !important;
    z-index: 2;
}

.admin-status-chart__total {
    color: #101828;
    font-size: 2rem;
    font-weight: 900;
    left: 50%;
    line-height: 1;
    position: absolute;
    top: 48%;
    transform: translate(-50%, -92%);
    z-index: 1;
    pointer-events: none;
}

.admin-status-chart__label {
    color: #667085;
    font-size: 0.72rem;
    font-weight: 800;
    left: 50%;
    position: absolute;
    top: 52%;
    transform: translateX(-50%);
    text-transform: uppercase;
    z-index: 1;
    pointer-events: none;
}

.admin-candidate-list {
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
    min-width: 0;
}

.admin-candidate-list__row {
    align-items: center;
    display: grid;
    gap: 0.45rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 1.28rem;
}

.admin-candidate-list__dot {
    background: var(--status-color, #2563eb);
    border-radius: 50%;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--status-color, #2563eb) 14%, transparent);
    display: inline-block;
    height: 0.5rem;
    width: 0.5rem;
}

.admin-candidate-list__label {
    color: #344054;
    font-size: 0.78rem;
    font-weight: 700;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-candidate-list__row strong {
    color: #101828;
    flex: 0 0 auto;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
}

.admin-candidate-list__row small {
    color: #667085;
    font-weight: 700;
}

.admin-status-grid {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}

.admin-status-pill {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(208, 213, 221, 0.9);
    border-radius: 12px;
    display: flex;
    gap: 0.6rem;
    justify-content: space-between;
    padding: 0.55rem 0.62rem;
}

.admin-status-pill strong {
    color: #101828;
    font-weight: 850;
}

.admin-profession-bars {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-profession-row {
    align-items: center;
    display: grid;
    gap: 0.72rem;
    grid-template-columns: auto minmax(0, 1fr);
}

.admin-profession-row__icon {
    align-items: center;
    background: #eef6ff;
    border: 1px solid rgba(86, 204, 242, 0.35);
    border-radius: 12px;
    color: #0f5fff;
    display: inline-flex;
    height: 2.35rem;
    justify-content: center;
    width: 2.35rem;
}

.admin-profession-row__body {
    min-width: 0;
}

.admin-profession-row__head {
    align-items: center;
    display: flex;
    font-size: 0.82rem;
    gap: 0.6rem;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.admin-profession-row__head span {
    color: #344054;
    font-weight: 750;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-profession-row__head strong {
    color: #101828;
    flex: 0 0 auto;
}

.admin-profession-row__bar {
    background: #e4e7ec;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.admin-profession-row__bar span {
    background: linear-gradient(90deg, #2ec4b6, #0f5fff);
    border-radius: inherit;
    display: block;
    height: 100%;
    min-width: 7px;
}

.admin-dashboard-panel--users {
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, #3b1c78, #6c3bd2 54%, #2f1d73);
    border: 0;
    color: #fff;
}

.admin-dashboard-panel--users .admin-panel-head h6,
.admin-dashboard-panel--users .admin-panel-head p {
    color: #fff;
}

.admin-dashboard-panel--users .admin-panel-head p,
.admin-empty-light {
    opacity: 0.76;
}

.admin-panel-link--light {
    color: #fff;
    opacity: 0.9;
}

.admin-panel-link--light:hover,
.admin-panel-link--light:focus {
    color: #fff;
    opacity: 1;
}

.admin-recent-users {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
}

.admin-user-row {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: grid;
    gap: 0.48rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 0;
    padding: 0.34rem 0.42rem;
}

.admin-user-row__avatar {
    background: #fff;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    display: block;
    flex: 0 0 auto;
    height: 2rem;
    object-fit: cover;
    width: 2rem;
}

.admin-user-row__main {
    min-width: 0;
}

.admin-user-row__titleline {
    align-items: center;
    display: flex;
    gap: 0.38rem;
    justify-content: space-between;
    min-width: 0;
}

.admin-user-row__titleline strong {
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.12;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-row__titleline small {
    color: rgba(255, 255, 255, 0.72);
    flex: 0 0 auto;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.1;
}

.admin-user-row__meta {
    align-items: center;
    color: rgba(255, 255, 255, 0.74);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.66rem;
    gap: 0.18rem;
    margin-top: 0.1rem;
    min-width: 0;
}

.admin-user-row__meta > span:first-child {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-user-chip {
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.58rem;
    line-height: 1;
    padding: 0.14rem 0.34rem;
}

.admin-user-row__actions {
    display: inline-flex;
    gap: 0.22rem;
}

.admin-user-row__actions .btn {
    align-items: center;
    border: 0;
    border-radius: 8px;
    color: #3b1c78;
    display: inline-flex;
    height: 1.78rem;
    justify-content: center;
    padding: 0;
    width: 1.78rem;
}

.admin-payment-list,
.admin-tenant-list {
    display: flex;
    flex-direction: column;
    gap: 0.62rem;
}

.admin-payment-row,
.admin-tenant-row {
    align-items: center;
    background: #f8fafc;
    border: 1px solid rgba(208, 213, 221, 0.8);
    border-radius: 14px;
    display: grid;
    gap: 0.72rem;
    min-width: 0;
    padding: 0.7rem;
}

.admin-payment-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.admin-payment-row__mark,
.admin-tenant-row__avatar,
.admin-activity-icon {
    align-items: center;
    border-radius: 12px;
    display: inline-flex;
    flex: 0 0 auto;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}

.admin-payment-row__mark {
    background: #fff8e1;
    color: #9a6200;
}

.admin-payment-row strong,
.admin-tenant-row strong {
    color: #101828;
    display: block;
    font-size: 0.84rem;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-payment-row small,
.admin-tenant-row small {
    color: #667085;
    display: block;
    font-size: 0.72rem;
    font-weight: 650;
    margin-top: 0.1rem;
}

.admin-payment-row__amount {
    text-align: right;
}

.admin-payment-row__amount span {
    color: #667085;
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    margin-top: 0.1rem;
}

.admin-tenant-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.admin-tenant-row__avatar {
    background: #eafaf8;
    color: #0c8f82;
    font-weight: 900;
}

.admin-activity-list {
    display: flex;
    flex-direction: column;
    gap: 0.74rem;
}

.admin-activity-list li {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: auto minmax(0, 1fr);
}

.admin-activity-icon--primary {
    background: #eef6ff;
    color: #0f5fff;
}

.admin-activity-icon--info {
    background: #e9f9fe;
    color: #0284c7;
}

.admin-activity-icon--success {
    background: #eafaf2;
    color: #14804a;
}

.admin-activity-list p {
    color: #344054;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.25;
    margin: 0;
}

.admin-activity-list small {
    color: #667085;
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 0.12rem;
}

@media (max-width: 1399.98px) {
    .admin-dashboard-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(260px, 0.72fr);
    }
}

@media (max-width: 1199.98px) {
    .admin-dashboard-kpis,
    .admin-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-dashboard-panel--activity {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-panel--users,
    .admin-dashboard-panel--activity {
        grid-column: auto;
    }

    .admin-recent-users {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .admin-dashboard-shell {
        padding-top: 0.75rem;
    }

    .admin-dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-dashboard-hero__action {
        width: 100%;
        justify-content: center;
    }

    .admin-dashboard-kpis {
        grid-template-columns: 1fr;
    }

    .admin-panel-head,
    .admin-status-layout {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .admin-panel-head {
        flex-direction: column;
    }

    .admin-status-grid {
        grid-template-columns: 1fr;
    }

    .admin-user-row {
        align-items: flex-start;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .admin-user-row__actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .admin-user-row__actions .btn {
        flex: 1 1 0;
    }
}

@media (max-width: 575.98px) {
    .admin-dashboard-panel .card-body {
        padding: 0.95rem;
    }

    .admin-payment-row,
    .admin-tenant-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .admin-payment-row__amount,
    .admin-tenant-row .badge {
        grid-column: 2;
        justify-self: start;
        text-align: left;
    }
}
.company-row:hover,
tr[data-company-row]:hover {
    background-color: #f8fafc;
    cursor: pointer;
}
.plan-feature-archived td {
    background-color: #f5f6f9;
}

.plan-feature-cell-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.55rem;
    width: 100%;
}

.plan-feature-cell-main {
    min-width: 0;
}

.plan-feature-cell-meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    margin-left: auto;
    white-space: nowrap;
}

.plan-feature-archive-btn {
    padding: 0 6px;
    line-height: 1.4;
}

.subscriptions-history-filters {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 14px;
    padding: 0.85rem;
    background: linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
}

.subscriptions-history-filters__row {
    display: grid;
    gap: 0.55rem;
    align-items: end;
}

.subscriptions-history-filters__row + .subscriptions-history-filters__row {
    margin-top: 0.55rem;
}

.subscriptions-history-filters__row--primary {
    grid-template-columns: minmax(300px, 1fr) auto;
}

.subscriptions-history-filters__row--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.subscriptions-history-filters__row--dates {
    grid-template-columns: minmax(230px, 1.2fr) minmax(170px, 1fr) minmax(170px, 1fr);
}

.subscriptions-history-filters__search {
    min-width: 0;
}

.subscriptions-history-filters__search .form-control,
.subscriptions-history-filters .form-select,
.subscriptions-history-filters input[type="date"] {
    min-height: 40px;
    border-radius: 10px;
}

.subscriptions-history-filters__actions {
    display: flex;
    justify-content: flex-end;
}

.subscriptions-history-filters__actions .btn {
    min-height: 40px;
    min-width: 152px;
    white-space: nowrap;
}

.subscriptions-history-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

@media (max-width: 991.98px) {
    .subscriptions-history-filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        align-items: end;
    }
    .subscriptions-history-filters__row {
        display: contents;
    }
    .subscriptions-history-filters__row + .subscriptions-history-filters__row {
        margin-top: 0;
    }
    .subscriptions-history-filters__actions {
        justify-content: flex-end;
    }
    .subscriptions-history-filters__actions .btn {
        width: auto;
    }
}

@media (max-width: 575.98px) {
    .subscriptions-history-filters {
        grid-template-columns: 1fr;
    }
    .subscriptions-history-filters__actions .btn {
        width: 100%;
    }
}

.business-lines-admin-page .business-lines-topbar {
    background:
        radial-gradient(1200px 320px at -8% -25%, rgba(59, 130, 246, 0.18), transparent 52%),
        radial-gradient(900px 280px at 108% -18%, rgba(16, 185, 129, 0.14), transparent 48%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.business-lines-admin-page .business-lines-topbar .card-body {
    padding: 1.15rem 1.15rem 1rem;
}

.business-lines-toolbar-actions .btn {
    border-radius: 10px;
    font-weight: 600;
}

.business-lines-view-toggle .btn {
    border-color: #cbd5e1;
    color: #475569;
    font-weight: 600;
}

.business-lines-view-toggle .btn.active {
    background: #eef2ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.business-lines-filters .form-select {
    border-radius: 11px;
    min-height: 42px;
}

.business-lines-search.global-search-inline {
    --search-height: 42px;
    --search-icon-width: 44px;
    min-height: 42px;
}

.business-lines-search.global-search-inline .form-control,
.business-lines-search.global-search-inline .admin-search-icon-btn {
    height: var(--search-height);
    min-height: var(--search-height);
    box-sizing: border-box;
}

.business-lines-search.global-search-inline .admin-search-icon-btn {
    padding: 0;
}

.business-lines-suggestions-header {
    padding: 0.15rem 0 0.4rem;
}

.business-lines-suggestions-search-wrap {
    width: 100%;
    max-width: 520px;
}

.business-lines-suggestions-catalog-list {
    max-height: 132px;
    overflow: auto;
}

.business-lines-suggestions-catalog-item {
    line-height: 1.1;
}

.business-lines-suggestions-catalog-item:last-child {
    border-bottom: 0 !important;
}

.business-lines-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.business-line-cluster-card {
    --cluster-rgb: 37, 99, 235;
    border: none !important;
    border-radius: 16px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%),
        linear-gradient(180deg, rgba(var(--cluster-rgb), 0.06) 0%, rgba(var(--cluster-rgb), 0.03) 100%);
    box-shadow: none;
}

.business-line-cluster-card.is-inactive {
    opacity: 0.72;
    filter: saturate(0.7);
}

.business-line-cluster-head {
    display: flex;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.95rem 1.05rem;
    color: #fff;
    background: rgb(var(--cluster-rgb));
}

.business-line-cluster-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    min-width: 0;
}

.business-line-cluster-title-wrap h6 {
    font-size: 1.05rem;
    max-width: 100%;
}

.business-line-cluster-meta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.24rem;
    margin-top: 0.18rem;
    font-size: 0.78rem;
    line-height: 1.2;
}

.business-line-cluster-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.18) 62%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
    flex: 0 0 40px;
    font-size: 1rem;
}

.business-line-cluster-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
}

.business-line-cluster-actions .btn {
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
    padding: 0.3rem 0.72rem;
}

.business-line-cluster-body {
    padding: 0.95rem 1.05rem 1.08rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.92) 100%),
        linear-gradient(180deg, rgba(var(--cluster-rgb), 0.11) 0%, rgba(var(--cluster-rgb), 0.04) 100%);
}

.business-line-subchips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.business-line-subchip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.38rem 0.5rem 0.38rem 0.55rem;
    border-radius: 999px;
    border: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
        linear-gradient(180deg, rgba(var(--cluster-rgb), 0.12), rgba(var(--cluster-rgb), 0.06));
    box-shadow: 0 0 0 1px rgba(var(--cluster-rgb), 0.16) inset;
}

.business-line-subchip.is-inactive {
    opacity: 0.75;
}

.business-line-subchip.is-inactive .business-line-subchip-dot {
    color: #94a3b8;
}

.business-line-subchip .btn {
    border-radius: 999px;
    padding: 0.15rem 0.42rem;
    line-height: 1.1;
}

.business-line-subchip-dot {
    color: rgba(var(--cluster-rgb), 0.92);
    font-size: 0.56rem;
    line-height: 1;
}

.business-line-cluster-card.theme-blue .business-line-cluster-head {
    --cluster-rgb: 37, 99, 235;
}

.business-line-cluster-card.theme-green .business-line-cluster-head {
    --cluster-rgb: 16, 185, 129;
}

.business-line-cluster-card.theme-purple .business-line-cluster-head {
    --cluster-rgb: 139, 92, 246;
}

.business-line-cluster-card.theme-orange .business-line-cluster-head {
    --cluster-rgb: 249, 115, 22;
}

.business-line-cluster-card.theme-sky .business-line-cluster-head {
    --cluster-rgb: 14, 165, 233;
}

.business-line-cluster-card.theme-indigo .business-line-cluster-head {
    --cluster-rgb: 99, 102, 241;
}

@media (max-width: 991.98px) {
    .business-lines-grid {
        grid-template-columns: 1fr;
    }

    .business-lines-toolbar-actions {
        width: 100%;
    }

    .business-line-cluster-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .business-line-cluster-actions {
        justify-content: flex-start;
    }
}

/* Admin Gestion: dense and full-width filter bar */
.admin-gestion-toolbar {
    align-items: stretch;
}

.admin-gestion-toolbar-actions {
    flex: 1 1 auto;
    width: 100%;
}

.admin-gestion-controls {
    padding: 0.7rem;
    border-radius: 14px;
    border: 1px solid rgba(30, 64, 175, 0.18);
    background: linear-gradient(180deg, #f8fbff 0%, #eff6ff 100%);
}

.admin-gestion-controls-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: center;
}

.admin-gestion-controls .global-search-inline,
.admin-gestion-search-form .global-search-inline {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.admin-gestion-controls .global-search-inline .form-control,
.admin-gestion-controls .global-search-inline .admin-search-icon-btn {
    height: 42px;
    min-height: 42px;
}

.admin-gestion-controls-top .admin-gestion-clear {
    height: 42px;
    border-radius: 11px;
    padding-inline: 0.8rem;
    white-space: nowrap;
}

.admin-gestion-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.55rem;
}

.admin-gestion-filter-row .form-select {
    flex: 1 1 170px;
    min-width: 150px;
    max-width: none;
    height: 38px;
    border-radius: 10px;
    border-color: rgba(148, 163, 184, 0.45);
    background-color: #ffffff;
}

@media (max-width: 767.98px) {
    .admin-gestion-controls-top {
        grid-template-columns: 1fr;
    }

    .admin-gestion-controls-top .admin-gestion-clear {
        width: 100%;
    }

    .admin-gestion-filter-row .form-select {
        flex: 1 1 100%;
    }
}

/* Admin gestion: draggable modals */
.app-draggable-modal.show .modal-dialog,
.admin-gestion-draggable-modal.show .modal-dialog {
    max-height: calc(100vh - 1.5rem);
}

.app-draggable-modal .modal-dialog.modal-dialog-scrollable,
.admin-gestion-draggable-modal .modal-dialog.modal-dialog-scrollable {
    height: auto !important;
    max-height: calc(100vh - 1.5rem) !important;
}

.app-draggable-modal .modal-dialog.modal-dialog-scrollable .modal-content,
.admin-gestion-draggable-modal .modal-dialog.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1.5rem);
}

.app-draggable-modal .modal-dialog.modal-dialog-scrollable .modal-body,
.admin-gestion-draggable-modal .modal-dialog.modal-dialog-scrollable .modal-body {
    min-height: 0;
}

.modal-open,
body.modal-open {
    overflow: hidden !important;
}

html.admin-company-body-scroll-lock,
body.admin-company-body-scroll-lock {
    overflow: hidden !important;
    height: 100% !important;
}

body.admin-company-body-scroll-lock {
    position: static !important;
}

html.admin-company-body-scroll-lock .container-fluid,
body.admin-company-body-scroll-lock .container-fluid,
html.admin-company-body-scroll-lock .app-main-column,
body.admin-company-body-scroll-lock .app-main-column,
html.admin-company-body-scroll-lock .main-content,
body.admin-company-body-scroll-lock .main-content {
    overflow: hidden !important;
}

.app-draggable-modal .modal-header,
.admin-gestion-draggable-modal .modal-header {
    cursor: move;
}

.app-draggable-modal .modal-dialog.is-dragging .modal-header,
.admin-gestion-draggable-modal .modal-dialog.is-dragging .modal-header {
    cursor: grabbing;
    user-select: none;
}

#sectorRolesModal.app-draggable-modal,
#sectorRolesModal.admin-gestion-draggable-modal {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/* Global: all non-fullscreen modals must fit within the viewport */
.modal {
    --bs-modal-margin: 0.75rem;
}

.modal .modal-dialog:not(.modal-fullscreen) {
    max-height: calc(100vh - 1.5rem);
}

.modal .modal-dialog.modal-dialog-centered:not(.modal-fullscreen) {
    min-height: 0 !important;
}

.modal .modal-dialog:not(.modal-fullscreen) .modal-content {
    height: auto;
    max-height: calc(100vh - 1.5rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal .modal-dialog:not(.modal-fullscreen) .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.app-document-preview-modal .modal-dialog:not(.modal-fullscreen) {
    max-height: calc(100vh - 2rem);
    height: calc(100vh - 2rem);
}

.app-document-preview-modal .modal-dialog.modal-dialog-centered:not(.modal-fullscreen) {
    min-height: calc(100vh - 2rem) !important;
}

.app-document-preview-modal .modal-dialog:not(.modal-fullscreen) .modal-content {
    height: calc(100vh - 2rem);
    max-height: calc(100vh - 2rem);
}

.app-document-preview-modal .modal-dialog:not(.modal-fullscreen) .modal-body.app-document-preview-modal__canvas {
    overflow: hidden !important;
}

@supports (height: 100dvh) {
    .modal .modal-dialog:not(.modal-fullscreen) {
        max-height: calc(100dvh - 1.5rem);
    }

    .modal .modal-dialog:not(.modal-fullscreen) .modal-content {
        max-height: calc(100dvh - 1.5rem);
    }

    .app-document-preview-modal .modal-dialog:not(.modal-fullscreen) {
        max-height: calc(100dvh - 2rem);
        height: calc(100dvh - 2rem);
    }

    .app-document-preview-modal .modal-dialog.modal-dialog-centered:not(.modal-fullscreen) {
        min-height: calc(100dvh - 2rem) !important;
    }

    .app-document-preview-modal .modal-dialog:not(.modal-fullscreen) .modal-content {
        height: calc(100dvh - 2rem);
        max-height: calc(100dvh - 2rem);
    }
}

#createCompanyModal .company-profile-form .form-label,
#editCompanyModal .company-profile-form .form-label {
    font-size: 0.775rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

#createCompanyModal .company-profile-form .col-12 .text-muted.small,
#editCompanyModal .company-profile-form .col-12 .text-muted.small {
    letter-spacing: 0.03em;
}

#createCompanyModal .modal-dialog-scrollable,
#editCompanyModal .modal-dialog-scrollable {
    max-height: calc(100vh - 1.5rem);
    height: auto;
    overflow: visible;
}

#createCompanyModal .modal-dialog-scrollable .modal-content,
#editCompanyModal .modal-dialog-scrollable .modal-content {
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#createCompanyModal .modal-dialog-scrollable .modal-body,
#editCompanyModal .modal-dialog-scrollable .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    max-height: calc(100vh - 13rem);
}

#createCompanyModal .company-profile-form,
#editCompanyModal .company-profile-form {
    margin-bottom: 0;
    width: 100%;
    gap: 0.2rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

#createCompanyModal .company-profile-form .row,
#editCompanyModal .company-profile-form .row {
    --bs-gutter-y: 0.65rem;
}

#createCompanyModal.app-draggable-modal.show .modal-dialog,
#editCompanyModal.app-draggable-modal.show .modal-dialog,
#createCompanyModal.admin-gestion-draggable-modal.show .modal-dialog,
#editCompanyModal.admin-gestion-draggable-modal.show .modal-dialog {
    max-height: calc(100vh - 1.5rem);
    height: auto;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

#createCompanyModal .modal-dialog,
#editCompanyModal .modal-dialog {
    max-height: calc(100vh - 1.5rem);
    height: auto;
}

#createCompanyModal .modal-content,
#editCompanyModal .modal-content {
    height: auto;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#createCompanyModal .modal-body,
#editCompanyModal .modal-body {
    padding: 0.85rem 1rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

#createCompanyModal .company-profile-form .form-label,
#editCompanyModal .company-profile-form .form-label {
    margin-bottom: 0.15rem;
}

.app-ajax-tab-loading-host {
    position: relative;
}

.app-ajax-tab-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 2100;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(1px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s ease-in-out;
}

.app-ajax-tab-loading-overlay.is-active {
    opacity: 1;
}

.app-ajax-tab-loading-card {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    color: #334155;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Formularios: si un campo está inválido, su feedback debe verse siempre */
.form-control.is-invalid + .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid + .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback,
.input-group .form-control.is-invalid + .invalid-feedback,
.input-group .form-control.is-invalid ~ .invalid-feedback,
.input-group .form-select.is-invalid + .invalid-feedback,
.input-group .form-select.is-invalid ~ .invalid-feedback {
    display: block !important;
}

.company-suggestions-grid {
    grid-template-columns: 1fr;
    gap: 0.58rem !important;
}

.company-cv-email-history {
    display: grid;
    gap: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.company-cv-email-history__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.company-cv-email-history__title-block {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
}

.company-cv-email-history__icon,
.company-cv-email-history__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 999px;
}

.company-cv-email-history__icon {
    width: 2.45rem;
    height: 2.45rem;
    background: #e7f8f6;
    color: #0f766e;
    box-shadow: inset 0 0 0 1px rgba(46, 196, 182, 0.26);
}

.company-cv-email-history__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    border: 1px solid rgba(46, 196, 182, 0.3);
    border-radius: 999px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: 0.76rem;
    font-weight: 850;
    padding: 0.28rem 0.72rem;
    white-space: nowrap;
}

.company-cv-email-history__toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
}

.company-cv-email-history__search {
    position: relative;
    min-width: 0;
}

.company-cv-email-history__search i {
    position: absolute;
    top: 50%;
    left: 0.92rem;
    color: #64748b;
    transform: translateY(-50%);
    pointer-events: none;
}

.company-cv-email-history__search .form-control {
    min-height: 2.7rem;
    border-color: rgba(15, 42, 95, 0.14);
    border-radius: 999px;
    background: #ffffff;
    font-weight: 700;
    padding-left: 2.55rem;
}

.company-cv-email-history__search .form-control:focus {
    border-color: rgba(46, 196, 182, 0.58);
    box-shadow: 0 0 0 0.2rem rgba(46, 196, 182, 0.14);
}

.company-cv-email-history__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    min-height: 2.7rem;
    border: 1px solid rgba(15, 42, 95, 0.12);
    border-radius: 999px;
    background: #ffffff;
    color: #0f2a5f;
    font-size: 0.84rem;
    font-weight: 800;
    padding: 0.42rem 0.82rem;
}

.company-cv-email-history__clear:hover,
.company-cv-email-history__clear:focus-visible {
    border-color: rgba(46, 196, 182, 0.48);
    background: #f0fdfa;
    color: #0f766e;
    outline: 0;
}

.company-cv-email-history__table-wrap {
    max-height: 28rem;
    overflow: auto;
    border: 1px solid rgba(15, 42, 95, 0.1);
    border-radius: 1rem;
    background: #ffffff;
    scrollbar-color: rgba(46, 196, 182, 0.68) rgba(226, 232, 240, 0.7);
    scrollbar-width: thin;
}

.company-cv-email-history__table-wrap::-webkit-scrollbar {
    width: 0.55rem;
    height: 0.55rem;
}

.company-cv-email-history__table-wrap::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.7);
    border-radius: 999px;
}

.company-cv-email-history__table-wrap::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(46, 196, 182, 0.78);
}

.company-cv-email-history__table {
    width: 100%;
    min-width: 780px;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    table-layout: fixed;
}

.company-cv-email-history__table th:nth-child(1) {
    width: 24%;
}

.company-cv-email-history__table th:nth-child(2) {
    width: 23%;
}

.company-cv-email-history__table th:nth-child(3) {
    width: 24%;
}

.company-cv-email-history__table th:nth-child(4) {
    width: 17%;
}

.company-cv-email-history__table th:nth-child(5) {
    width: 12%;
}

.company-cv-email-history__table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 1px solid rgba(15, 42, 95, 0.1);
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    line-height: 1;
    padding: 0.72rem 0.78rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.company-cv-email-history__table tbody td {
    border-bottom: 1px solid rgba(15, 42, 95, 0.08);
    color: #0f172a;
    padding: 0.62rem 0.78rem;
    vertical-align: middle;
}

.company-cv-email-history__table tbody tr:last-child td {
    border-bottom: 0;
}

.company-cv-email-history__table tbody tr:hover {
    background: #f8fafc;
}

.company-cv-email-history__candidate {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.company-cv-email-history__avatar {
    width: 1.9rem;
    height: 1.9rem;
    background: linear-gradient(135deg, #0f2a5f, #0f766e);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
    object-fit: cover;
}

.company-cv-email-history__avatar:is(img) {
    display: block;
}

.company-cv-email-history__table tbody strong,
.company-cv-email-history__candidate-name {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 820;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-cv-email-history__candidate-name a {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    border-bottom: 1px solid currentColor;
    color: #0f2a5f;
    text-decoration: none;
    text-overflow: ellipsis;
    vertical-align: bottom;
    white-space: nowrap;
}

.company-cv-email-history__candidate-name a:hover,
.company-cv-email-history__candidate-name a:focus-visible {
    border-bottom-width: 2px;
    color: #0f766e;
}

.company-cv-email-history__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.58rem;
    min-height: 6rem;
    border: 1px dashed rgba(148, 163, 184, 0.44);
    border-radius: 1rem;
    background: #f8fafc;
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 750;
    padding: 1rem;
    text-align: center;
}

@media (max-width: 575.98px) {
    .company-cv-email-history__head,
    .company-cv-email-history__toolbar {
        grid-template-columns: 1fr;
    }

    .company-cv-email-history__head {
        display: grid;
    }

    .company-cv-email-history__count,
    .company-cv-email-history__clear {
        width: 100%;
    }
}

.company-suggestion-card {
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
    min-height: 100%;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 0.95rem;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: 0.72rem;
    text-align: left;
    width: 100%;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.company-suggestion-card:hover,
.company-suggestion-card:focus,
.company-suggestion-card:focus-visible {
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.1), rgba(248, 251, 255, 0.96));
    border-color: rgba(46, 196, 182, 0.45);
    box-shadow: 0 10px 24px rgba(15, 42, 95, 0.08);
    color: inherit;
    outline: 0;
}

.company-suggestion-card__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.52rem;
    min-width: 0;
}

.company-suggestion-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.12rem;
    height: 2.12rem;
    border-radius: 0.72rem;
    background: #eef6ff;
    color: #0f766e;
    font-size: 0.95rem;
    box-shadow: inset 0 0 0 1px rgba(15, 42, 95, 0.08);
}

.company-suggestion-card__title-block {
    display: grid;
    gap: 0.22rem;
    min-width: 0;
}

.company-suggestion-card__title-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.company-suggestion-card__title-block h6 {
    margin: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-suggestion-card__title-row h6 {
    flex: 1 1 auto;
}

.company-suggestion-card__skill-kind {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    flex: 0 0 auto;
    max-width: 8.5rem;
    min-height: 1.34rem;
    overflow: hidden;
    border: 1px solid rgba(46, 196, 182, 0.26);
    border-radius: 999px;
    background: #ecfdf5;
    color: #0f766e;
    font-size: 0.66rem;
    font-weight: 850;
    line-height: 1;
    padding: 0.18rem 0.48rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-suggestion-card__type {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    max-width: 100%;
    min-height: 1.22rem;
    overflow: hidden;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-suggestion-card__side {
    display: grid;
    justify-items: end;
    gap: 0.18rem;
    min-width: 5.4rem;
}

.company-suggestion-card__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.32rem;
    max-width: 6.8rem;
    border-radius: 999px;
    padding: 0.14rem 0.48rem;
    font-size: 0.66rem;
    font-weight: 850;
    line-height: 1.1;
    white-space: nowrap;
}

.company-suggestion-card__status--pending {
    background: #fff7ed;
    color: #9a3412;
}

.company-suggestion-card__status--approved {
    background: #ecfdf5;
    color: #047857;
}

.company-suggestion-card__status--rejected {
    background: #fff1f2;
    color: #be123c;
}

.company-suggestion-card__summary {
    margin: 0;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 650;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-suggestion-card__meta {
    display: -webkit-box;
    overflow: hidden;
    color: #64748b;
    font-size: 0.72rem;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.company-suggestion-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    max-height: 1.42rem;
    overflow: hidden;
}

.company-suggestion-card__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    max-width: 100%;
    min-height: 1.32rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: #334155;
    font-size: 0.66rem;
    font-weight: 750;
    line-height: 1.1;
    padding: 0.16rem 0.42rem;
}

.company-suggestion-card__chip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    flex: 0 0 1rem;
}

.company-suggestion-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.company-suggestion-card__date {
    min-width: 0;
    overflow: hidden;
    color: #64748b;
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-suggestion-card__action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
    border-color: rgba(15, 42, 95, 0.24);
    color: #0f2a5f;
    font-weight: 800;
}

.company-suggestion-detail-modal {
    overflow: hidden;
    border: 0;
    border-radius: 1.15rem;
    box-shadow: 0 28px 70px rgba(15, 42, 95, 0.24);
}

.company-suggestion-detail-modal__header {
    align-items: flex-start;
    border: 0;
    background: linear-gradient(135deg, #0f2a5f 0%, #0f766e 100%);
    color: #ffffff;
    padding: 1.15rem 1.25rem;
}

.company-suggestion-detail-modal__header .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
    opacity: 0.9;
}

.company-suggestion-detail-modal__heading {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.company-suggestion-detail-modal__heading .min-w-0 {
    min-width: 0;
}

.company-suggestion-detail-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    color: #5edad0;
    font-size: 1.18rem;
}

.company-suggestion-detail-modal__type {
    margin-bottom: 0.22rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.company-suggestion-detail-modal .modal-title {
    overflow: hidden;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 850;
    line-height: 1.2;
    text-overflow: ellipsis;
}

.company-suggestion-detail-modal .modal-body {
    display: grid;
    gap: 1rem;
    background: #f8fafc;
    padding: 1.15rem;
}

.company-suggestion-detail-modal__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.company-suggestion-detail-modal__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    min-height: 2rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.34rem 0.62rem;
}

.company-suggestion-detail-modal__meta i {
    color: #0f766e;
}

.company-suggestion-detail-modal__status {
    border-color: transparent !important;
    font-weight: 850 !important;
}

.company-suggestion-detail-modal__status--pending {
    background: #fff7ed !important;
    color: #9a3412 !important;
}

.company-suggestion-detail-modal__status--approved {
    background: #ecfdf5 !important;
    color: #047857 !important;
}

.company-suggestion-detail-modal__status--rejected {
    background: #fff1f2 !important;
    color: #be123c !important;
}

.company-suggestion-detail-modal__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.company-suggestion-detail-field {
    display: grid;
    gap: 0.42rem;
    min-width: 0;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.95rem;
    background: #ffffff;
    padding: 0.82rem;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.045);
}

.company-suggestion-detail-field--wide,
.company-suggestion-detail-field--skills {
    grid-column: 1 / -1;
}

.company-suggestion-detail-field__label {
    margin: 0;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.company-suggestion-detail-field__body {
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.45;
}

.company-suggestion-detail-field__body--chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.company-suggestion-detail-skill {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 2rem;
    border: 1px solid rgba(46, 196, 182, 0.24);
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
    color: #334155;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.32rem 0.58rem;
}

.company-suggestion-detail-skill__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.1rem;
    width: 1.1rem;
    color: #0f766e;
}

.company-suggestion-detail-modal__footer {
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.company-suggestion-skill-option {
    min-height: 2.15rem;
    margin: 0;
    padding: 0.28rem 0.35rem 0.28rem 1.95rem;
    border-radius: 0.68rem;
}

.company-suggestion-skill-option:hover {
    background: #f8fbff;
}

.company-suggestion-skill-option .form-check-input {
    margin-top: 0.42rem;
}

.company-suggestion-skill-option .form-check-label {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-width: 0;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.2;
}

.company-suggestion-skill-option__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    flex: 0 0 1.45rem;
    border-radius: 999px;
    background: #eef6ff;
}

.candidate-search-autocomplete-menu {
    max-height: 18rem;
    overflow-y: auto;
}

.support-ticket-admin-list {
    display: grid;
    gap: 1rem;
}

.support-ticket-employer-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.support-ticket-employer-shell {
    display: grid;
    grid-template-columns: minmax(20rem, 0.9fr) minmax(0, 1.45fr);
    gap: 1rem;
    align-items: start;
}

.support-ticket-employer-request-card,
.support-ticket-employer-history-card {
    min-width: 0;
}

.support-ticket-employer-history-card {
    position: relative;
}

.support-ticket-employer-history-filters__row {
    grid-template-columns: minmax(220px, 1.7fr) minmax(140px, 0.85fr) minmax(150px, 0.9fr) auto;
}

.support-ticket-employer-history-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #64748b;
    font-size: 0.88rem;
    margin-top: 0.75rem;
}

.support-ticket-employer-card {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1rem;
    background: #fff;
    padding: 0.95rem 1rem;
    height: 100%;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.support-ticket-employer-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.support-ticket-employer-card__title {
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.support-ticket-employer-card__subtitle {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.support-ticket-employer-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 0.95fr);
    gap: 0.9rem 1rem;
    align-items: start;
}

.support-ticket-employer-card__main,
.support-ticket-employer-card__side {
    display: grid;
    gap: 0.75rem;
}

.support-ticket-employer-card__meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 0.75rem;
}

.support-ticket-employer-card__meta-item {
    min-width: 0;
}

.support-ticket-employer-card__meta-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.18rem;
}

.support-ticket-employer-card__meta-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    min-width: 0;
}

.support-ticket-employer-card__section {
    min-width: 0;
}

.support-ticket-employer-card__content {
    border-radius: 0.9rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #f8fafc;
    color: #334155;
    font-size: 0.88rem;
    line-height: 1.45;
    padding: 0.75rem 0.85rem;
}

.support-ticket-employer-card__content--danger {
    background: #fff1f2;
    border-color: rgba(244, 63, 94, 0.14);
    color: #9f1239;
}

.support-ticket-employer-card__content--success {
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.16);
    color: #065f46;
    font-weight: 600;
}

.support-ticket-employer-card__content--info {
    background: #eff6ff;
    border-color: rgba(59, 130, 246, 0.16);
    color: #1e3a8a;
}

.support-ticket-employer-attachment {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 0.85rem;
    background: #fff;
    color: #0f172a;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.support-ticket-employer-attachment:hover,
.support-ticket-employer-attachment:focus-visible {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
}

.support-ticket-employer-attachment--file {
    max-width: 12rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.65rem;
    white-space: nowrap;
    font-size: 0.82rem;
}

.support-ticket-employer-attachment--image {
    width: 4.8rem;
    padding: 0.22rem;
}

.support-ticket-employer-attachment__thumb-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.6rem;
    background: #e2e8f0;
}

.support-ticket-employer-attachment__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-ticket-employer-attachment__name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-ticket-employer-attachment--image .support-ticket-employer-attachment__name {
    display: none;
}

.pswp__custom-caption {
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    max-width: min(80vw, 42rem);
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.76);
    color: #fff;
    font-size: 0.82rem;
    line-height: 1.3;
    text-align: center;
    pointer-events: none;
    backdrop-filter: blur(8px);
    z-index: 30;
}

.pswp__custom-caption--empty {
    display: none;
}

.support-ticket-admin-table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(248, 250, 252, 0.88);
    --bs-table-hover-bg: rgba(241, 245, 249, 0.92);
}

.support-ticket-admin-table thead th {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    background: #f8fafc;
    border-bottom-width: 1px;
    padding: 0.7rem 0.7rem;
    white-space: nowrap;
}

.support-ticket-admin-table tbody td {
    padding: 0.7rem;
    vertical-align: top;
}

.support-ticket-admin-table__ticket {
    min-width: 10rem;
}

.support-ticket-admin-table__eyebrow {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.support-ticket-admin-table__company,
.support-ticket-admin-table__person-name,
.support-ticket-admin-table__cell-plain {
    color: #0f172a;
    font-weight: 600;
}

.support-ticket-admin-table__person-block {
    min-width: 9.5rem;
}

.support-ticket-admin-table__type {
    min-width: 9.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.support-ticket-admin-table__justification {
    min-width: 24rem;
    max-width: 40rem;
    color: #0f172a;
    white-space: normal;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.support-ticket-admin-table__timeline {
    min-width: 9rem;
}

.support-ticket-admin-table__resolution {
    min-width: 8.5rem;
}

.support-ticket-admin-table__resolution-reason {
    margin-top: 0.45rem;
    color: #991b1b;
    font-size: 0.82rem;
    line-height: 1.4;
}

.support-ticket-admin-table__support-response {
    margin-top: 0.45rem;
    color: #1e3a8a;
    font-size: 0.82rem;
    line-height: 1.4;
}

.support-ticket-admin-table__support-response span {
    font-weight: 700;
}

.support-ticket-admin-table__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    min-width: 10.5rem;
}

.support-ticket-history-filters {
    padding: 0.8rem 0.9rem;
}

.support-ticket-history-filters__row {
    display: grid;
    gap: 0.65rem;
    align-items: end;
}

.support-ticket-history-filters__row + .support-ticket-history-filters__row {
    margin-top: 0.65rem;
}

.support-ticket-history-filters__row--top {
    grid-template-columns: minmax(260px, 2.2fr) minmax(160px, 1fr) minmax(155px, 0.85fr) minmax(150px, 0.8fr) minmax(180px, 1fr);
}

.support-ticket-history-filters__row--bottom {
    grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) auto;
    justify-content: end;
}

.support-ticket-history-filters__search {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
}

.support-ticket-history-filters__search .form-label {
    display: block;
    width: 100%;
    margin-bottom: 0.35rem;
}

.support-ticket-history-filters__search .global-search-inline {
    display: flex;
    width: 100%;
    max-width: none;
    min-width: 0;
}

.support-ticket-history-filters__actions {
    display: flex;
    justify-content: flex-end;
}

.support-ticket-history-filters__actions .btn {
    min-height: 40px;
    min-width: 152px;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .support-ticket-employer-shell {
        grid-template-columns: 1fr;
    }

    .support-ticket-employer-history-filters__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-ticket-history-filters__row--top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-ticket-history-filters__row--bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-ticket-history-filters__actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .support-ticket-employer-history-filters__row {
        grid-template-columns: minmax(0, 1fr);
    }
}

.support-ticket-admin-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    padding: 1.25rem;
}

.support-ticket-admin-card__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.support-ticket-admin-card__eyebrow {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.support-ticket-admin-card__section-label,
.support-ticket-admin-card__meta-label {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.support-ticket-admin-card__meta-item + .support-ticket-admin-card__meta-item {
    margin-top: 0.9rem;
}

.support-ticket-admin-card__meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.support-ticket-admin-card__stack {
    display: grid;
    gap: 1rem;
}

.support-ticket-admin-card__meta-grid .support-ticket-admin-card__meta-item + .support-ticket-admin-card__meta-item {
    margin-top: 0;
}

.support-ticket-admin-card__meta-value {
    color: #0f172a;
    font-weight: 600;
}

.support-ticket-admin-card__content {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.95rem 1rem;
    color: #0f172a;
    white-space: pre-wrap;
}

.support-ticket-admin-card__content--danger {
    background: rgba(254, 242, 242, 0.9);
    border-color: rgba(248, 113, 113, 0.25);
    color: #991b1b;
}

.support-ticket-admin-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.support-ticket-admin-attachments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    min-width: 10rem;
    max-width: 15rem;
}

.support-ticket-admin-attachment {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 0.8rem;
    background: #fff;
    color: #0f172a;
    text-align: left;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.support-ticket-admin-attachment:hover,
.support-ticket-admin-attachment:focus-visible {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    transform: translateY(-1px);
}

.support-ticket-admin-attachment--file {
    max-width: 10.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.6rem;
    white-space: nowrap;
    font-size: 0.8rem;
}

.support-ticket-admin-attachment__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-ticket-admin-attachment--image {
    width: 4rem;
    padding: 0.25rem;
}

.support-ticket-admin-attachment__thumb-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.55rem;
    background: #e2e8f0;
    margin-bottom: 0.2rem;
}

.support-ticket-admin-attachment__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-interview-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(240, 244, 248, 0.96) 100%);
    border-color: rgba(148, 163, 184, 0.24) !important;
}

.app-interview-list {
    max-height: 19rem;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.app-interview-list--detail {
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.app-interview-list::-webkit-scrollbar {
    width: 0.45rem;
}

.app-interview-list::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.4);
    border-radius: 999px;
}

.app-interview-empty {
    padding-top: 0.15rem;
}

.app-interview-item {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 0.95rem;
    background: #fff;
    padding: 0.85rem 0.95rem;
}

.app-interview-item--detail {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.app-interview-item__layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
}

.app-interview-item__body {
    min-width: 0;
    flex: 1 1 auto;
}

.app-interview-item__title {
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
    margin-bottom: 0.45rem;
}

.app-interview-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.app-interview-item__meta-chip {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid rgba(59, 130, 246, 0.14);
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.app-interview-item__notes {
    margin-top: 0.55rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-interview-item__aside {
    min-width: 9.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.app-interview-item__status {
    white-space: nowrap;
}

.app-interview-item__action {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.app-interview-item__pending {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    text-align: right;
}

.app-interview-item__pending .small {
    line-height: 1.3;
}

@media (min-width: 768px) {
    .company-suggestions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .company-suggestions-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .company-suggestion-card__head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .company-suggestion-card__side {
        grid-column: 1 / -1;
        grid-template-columns: auto minmax(0, 1fr);
        justify-items: start;
        align-items: center;
        min-width: 0;
    }

    .company-suggestion-card__date {
        text-align: left;
    }

    .company-suggestion-detail-modal__fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .company-suggestion-detail-modal__meta > span {
        width: 100%;
        justify-content: flex-start;
    }

    .support-ticket-employer-card__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-ticket-employer-card__meta-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-ticket-history-filters__row--top,
    .support-ticket-history-filters__row--bottom {
        grid-template-columns: 1fr;
    }

    .support-ticket-history-filters__actions .btn {
        width: 100%;
    }

    .support-ticket-admin-table tbody td {
        min-width: 9rem;
    }

    .support-ticket-admin-table__justification {
        min-width: 14rem;
    }

    .support-ticket-admin-table__actions {
        min-width: 9rem;
    }

    .support-ticket-admin-card {
        padding: 1rem;
    }

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

    .support-ticket-admin-card__content {
        min-height: auto;
    }

    .support-ticket-admin-attachment--file {
        max-width: 100%;
    }

    .app-interview-list {
        max-height: 17rem;
    }

    .app-interview-item__layout {
        flex-direction: column;
    }

    .app-interview-item__aside,
    .app-interview-item__action,
    .app-interview-item__pending {
        width: 100%;
        min-width: 0;
        align-items: flex-start;
        text-align: left;
    }

}

@media (max-width: 767.98px) {
    .btn:not(.btn-close):not(.app-sidebar-mobile-toggle):not(.candidate-rating__star):not(.candidate-info-btn):not(.header-user-toggle) {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    :is(
        [class*="__actions"],
        [class*="-actions"],
        [class*="__toolbar"],
        [class*="-toolbar"],
        [class*="__controls"],
        [class*="-controls"],
        [class*="__filters"],
        [class*="-filters"]
    ) {
        min-width: 0;
    }

    :is(
        [class*="__actions"],
        [class*="-actions"],
        [class*="__toolbar"],
        [class*="-toolbar"],
        [class*="__controls"],
        [class*="-controls"],
        [class*="__filters"],
        [class*="-filters"]
    ) > :is(.btn, .form-control, .form-select, .input-group, .dropdown, .dropdown-toggle) {
        min-width: 0;
        max-width: 100%;
    }

    .users-header-actions,
    .skill-suggestion-controls,
    .skill-catalog-form,
    .candidate-share-public-card__actions,
    .candidate-rejection-modal__recipients-actions,
    .app-mini-notifications__head {
        flex-wrap: wrap;
    }

    .users-header-actions,
    .skill-suggestion-controls,
    .skill-catalog-form {
        width: 100%;
    }

    .users-header-actions .btn,
    .skill-suggestion-controls .btn,
    .skill-suggestion-controls .form-select,
    .skill-catalog-form button,
    .skill-catalog-form input[type="text"],
    .skill-catalog-form select {
        flex: 1 1 100%;
        min-width: 0;
        width: 100%;
    }

    .candidate-share-public-card__actions .btn,
    .candidate-rejection-modal__recipients-actions .btn {
        flex: 1 1 auto;
    }

    .admin-search-inline,
    .admin-gestion-search,
    .admin-gestion-search-form .global-search-inline,
    .global-search-inline,
    .users-search .input-group,
    .skill-search,
    .icon-catalog-search,
    .catalog-search,
.icon-picker-search {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}

.admin-ai-workspace__hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-ai-page .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
    min-height: 1.55rem;
}

.admin-ai-page .badge .fa-solid {
    line-height: 1;
}

.admin-ai-workspace__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    min-width: min(100%, 24rem);
}

.admin-ai-stat-card {
    border: 1px solid #dbe5f0;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.admin-ai-stat-card__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.admin-ai-stat-card__value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.admin-ai-directory {
    background: #f8fafc;
}

.admin-ai-directory__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-ai-directory__search {
    min-width: min(100%, 22rem);
    flex: 1 1 22rem;
}

.admin-ai-directory__filters {
    flex: 1 1 18rem;
}

.admin-ai-directory__list {
    display: grid;
    gap: 0.9rem;
}

.admin-ai-feature-row {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border: 1px solid #dbe4ee;
    border-radius: 1.15rem;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.admin-ai-feature-row:hover {
    border-color: #93c5fd;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.admin-ai-feature-row__identity {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    min-width: 0;
}

.admin-ai-feature-row__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    color: #1d4ed8;
    flex: 0 0 auto;
}

.admin-ai-feature-row__meta {
    display: grid;
    gap: 0.7rem;
    min-width: 0;
}

.admin-ai-type-badges,
.admin-ai-summary-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-ai-summary-chip {
    min-width: 7rem;
    border: 1px solid #dbe4ee;
    border-radius: 0.95rem;
    background: #f8fafc;
    padding: 0.45rem 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.admin-ai-summary-chip__label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
}

.admin-ai-summary-chip strong {
    font-size: 0.92rem;
    color: #0f172a;
}

.admin-ai-feature-row__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.admin-ai-modal {
    max-width: min(96vw, 1160px);
}

.admin-ai-modal .modal-content {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 2rem);
}

.admin-ai-modal .modal-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
}

.admin-ai-modal .modal-body {
    overflow-y: auto;
}

.admin-ai-modal__footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #dbe4ee;
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.06);
}

.admin-ai-panel-section {
    border: 1px solid #dbe4ee;
    border-radius: 1.15rem;
    background: #fff;
    padding: 1rem;
    margin-bottom: 1rem;
}

.admin-ai-panel-section--runtime {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.admin-ai-runtime-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 0.9rem;
    align-items: stretch;
}

.admin-ai-runtime-split__steps,
.admin-ai-runtime-example {
    min-width: 0;
    border: 1px solid #dbe4ee;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.9rem;
}

.admin-ai-runtime-split__label {
    color: #0f2a5f;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
}

.admin-ai-runtime-steps {
    display: grid;
    gap: 0.55rem;
    color: #475569;
    font-size: 0.86rem;
    line-height: 1.45;
    padding-left: 1.15rem;
}

.admin-ai-runtime-example {
    background: linear-gradient(135deg, #ffffff 0%, #eefaf7 100%);
    box-shadow: inset 0 0 0 1px rgba(46, 196, 182, 0.12);
}

.admin-ai-panel-section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-ai-panel-section__toggle {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.8rem 0.9rem;
    margin: -0.3rem -0.35rem 1rem;
    border-radius: 0.95rem;
    text-align: left;
    transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.admin-ai-panel-section__toggle:hover {
    background: #f8fbff;
    box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.55);
}

.admin-ai-panel-section__toggle:focus-visible {
    outline: none;
    background: #f8fbff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.admin-ai-panel-section__toggle[aria-expanded="false"] {
    margin-bottom: 0;
}

.admin-ai-panel-section__heading {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.admin-ai-panel-section__title {
    display: block;
    font-size: 1.02rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.25;
}

.admin-ai-panel-section__description {
    display: block;
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.35;
}

.admin-ai-panel-section__indicator {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: #1d4ed8;
}

.admin-ai-context-grid--compact {
    align-items: stretch;
}

.admin-ai-context-option {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    border: 1px solid #dbe4ee;
    border-radius: 1rem;
    padding: 0.9rem;
    background: #f8fafc;
    cursor: pointer;
}

.admin-ai-context-option:hover {
    border-color: #93c5fd;
    background: #f8fbff;
}

.admin-ai-context-option--compact {
    gap: 0.35rem;
    border-radius: 0.85rem;
    padding: 0.7rem 0.8rem;
    background: #fff;
    box-shadow: none;
}

.admin-ai-context-option--compact:hover {
    background: #fdfefe;
}

.admin-ai-context-option--compact .fw-semibold {
    font-size: 0.94rem;
    line-height: 1.2;
}

.admin-ai-context-option--compact .text-muted.small {
    line-height: 1.3;
}

.admin-ai-weight-card {
    height: 100%;
    border: 1px solid #dbe4ee;
    border-radius: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 0.78rem 0.85rem;
}

.admin-ai-weight-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 0.55rem;
}

.admin-ai-weight-card__value {
    flex: 0 0 auto;
    min-width: 2.2rem;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    background: #e0ecff;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

.admin-ai-weight-card__slider {
    margin-bottom: 0.2rem;
}

.admin-ai-weight-card__scale {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    margin-bottom: 0.35rem;
    font-size: 0.69rem;
    color: #64748b;
}

.admin-ai-weight-card__scale span:last-child {
    text-align: right;
}

.admin-ai-weight-card__meaning {
    font-size: 0.74rem;
    color: #475569;
    font-weight: 600;
}

.admin-ai-weight-card .text-muted.small {
    font-size: 0.74rem;
    line-height: 1.22;
}

.admin-ai-criteria-row .form-label {
    font-size: 0.8rem;
}

.admin-ai-criteria-row .input-group-text {
    min-width: 4.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
}

.admin-ai-language-flag-wrap {
    flex: 0 0 auto;
}

.admin-ai-criteria-row .input-group-text .catalog-flag-wrap {
    margin-right: 0.05rem;
}

.admin-ai-criteria-row textarea {
    min-height: 4.4rem;
}

.admin-ai-test-result__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-ai-test-card {
    border: 1px solid #dbe4ee;
    border-radius: 1rem;
    background: #f8fafc;
    padding: 0.9rem 1rem;
}

.admin-ai-test-card__title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.admin-ai-test-card__title--between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-ai-test-card__body {
    color: #0f172a;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.93rem;
}

.admin-ai-compare-card {
    height: 100%;
    border: 1px solid #dbe4ee;
    border-radius: 1rem;
    background: #f8fafc;
    padding: 0.9rem 1rem;
}

.admin-ai-compare-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.admin-ai-compare-metric {
    border: 1px solid #dbe4ee;
    border-radius: 0.85rem;
    background: #fff;
    padding: 0.55rem 0.7rem;
}

.admin-ai-compare-metric__label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
    margin-bottom: 0.15rem;
}

.admin-ai-compare-metric strong {
    font-size: 0.92rem;
    color: #0f172a;
}

#vacancyAiCompareModal .modal-body,
#publicAiCompareModal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.vacancy-ai-compare-dialog .modal-content {
    max-height: calc(100vh - 1.5rem);
}

.ai-compare-workspace {
    display: grid;
    gap: 0.9rem;
}

.ai-compare-explainer {
    display: grid;
    grid-template-columns: minmax(23rem, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    gap: 1rem;
    border: 1px solid #dbe7ef;
    border-radius: 0.95rem;
    background: #f8fafc;
    padding: 0.85rem 0.95rem;
}

.ai-compare-explainer__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    border-left: 1px solid #dbe7ef;
    padding-left: 1rem;
}

.ai-compare-explainer__eyebrow {
    color: #0f766e;
    letter-spacing: 0.08em;
}

.ai-compare-explainer__text {
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.45;
    margin-top: 0.25rem;
}

.ai-compare-details {
    min-width: 0;
}

.ai-compare-flow {
    display: grid;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: ai-compare-flow;
}

.ai-compare-flow li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.35;
    counter-increment: ai-compare-flow;
}

.ai-compare-flow li::before {
    content: counter(ai-compare-flow);
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    background: #0f2a5f;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
}

.ai-compare-eligible-note {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.4;
}

.ai-compare-eligible-note {
    margin-top: 0.65rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 0.65rem;
}

.ai-compare-eligible-note i {
    color: #0f766e;
    margin-top: 0.12rem;
}

.ai-compare-candidates-panel {
    display: grid;
    gap: 0.75rem;
    min-height: 0;
    border: 1px solid #dbe7ef;
    border-radius: 1rem;
    background: #ffffff;
    padding: 0.9rem;
}

.ai-compare-panel-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 0.28fr);
    gap: 0.75rem;
    align-items: start;
}

.ai-compare-toolbar {
    display: grid;
    grid-template-columns: minmax(160px, 0.7fr) minmax(190px, 1fr) minmax(170px, 0.95fr) minmax(200px, 1.05fr);
    gap: 0.65rem;
    align-items: end;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    background: #f8fafc;
    padding: 0.75rem;
}

.ai-compare-control {
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
}

.ai-compare-control__label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
}

.ai-compare-help-icon {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1;
    cursor: help;
}

.ai-compare-help-icon:hover,
.ai-compare-help-icon:focus {
    color: #0f2a5f;
}

.ai-compare-help-icon:focus-visible {
    outline: 2px solid rgba(46, 196, 182, 0.45);
    outline-offset: 2px;
    border-radius: 999px;
}

.ai-compare-control__field {
    min-height: 2.55rem;
}

.public-ai-compare .ai-compare-toolbar {
    grid-template-columns: minmax(180px, 1fr) minmax(170px, 0.42fr) max-content;
}

.ai-compare-select-visible-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.ai-compare-control-summary {
    display: grid;
    align-content: center;
    gap: 0.18rem;
    min-height: 3.65rem;
    border: 1px solid #dbe7ef;
    border-radius: 0.85rem;
    background: #f8fafc;
    padding: 0.55rem 0.7rem;
}

.ai-compare-control-summary span,
.ai-compare-control-summary small {
    color: #64748b;
    font-size: 0.74rem;
    line-height: 1.2;
}

.ai-compare-control-summary strong {
    color: #0f172a;
    font-size: 0.85rem;
    line-height: 1.2;
}

.ai-compare-stage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ai-compare-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    margin-top: 0.18rem;
}

.ai-compare-meta-row .ai-compare-quota {
    margin-bottom: 0;
    flex: 0 1 auto;
}

.ai-compare-quota-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 1.85rem;
    border: 1px solid rgba(15, 42, 95, 0.22);
    border-radius: 999px;
    background: #eff6ff;
    color: #0f2a5f;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.36rem 0.62rem;
    box-shadow: 0 8px 18px rgba(15, 42, 95, 0.08);
    cursor: help;
}

.ai-compare-quota-pill i {
    color: #2ec4b6;
    font-size: 0.82rem;
}

.ai-compare-quota-pill.is-exhausted {
    border-color: rgba(235, 87, 87, 0.34);
    background: #fff1f2;
    color: #9f1239;
    box-shadow: 0 8px 18px rgba(235, 87, 87, 0.1);
}

.ai-compare-quota-pill.is-exhausted i {
    color: #eb5757;
}

.ai-compare-stage-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-size: 0.76rem;
    font-weight: 750;
    padding: 0.28rem 0.52rem;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.ai-compare-stage-action:hover,
.ai-compare-stage-action:focus,
.ai-compare-stage-action:focus-visible {
    border-color: #0f2a5f;
    background: #0f2a5f;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(15, 42, 95, 0.18);
}

.ai-compare-stage-action.is-selected {
    border-color: #2fbf71;
    background: #2fbf71;
    color: #ffffff;
}

.ai-compare-stage-action--visible {
    border-color: rgba(46, 196, 182, 0.42);
    background: #e7f8f6;
    color: #0f766e;
}

.ai-compare-stage-action--visible:hover,
.ai-compare-stage-action--visible:focus,
.ai-compare-stage-action--visible:focus-visible {
    border-color: #0f766e;
    background: #0f766e;
    color: #ffffff;
}

.ai-compare-stage-action.is-selected:hover,
.ai-compare-stage-action.is-selected:focus,
.ai-compare-stage-action.is-selected:focus-visible {
    border-color: #0f2a5f;
    background: #0f2a5f;
    color: #ffffff;
}

.ai-compare-stage-action__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 1.35rem;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: inherit;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.ai-compare-stage-action:hover .ai-compare-stage-action__count,
.ai-compare-stage-action:focus .ai-compare-stage-action__count,
.ai-compare-stage-action:focus-visible .ai-compare-stage-action__count {
    background: #ffffff;
    color: #0f2a5f;
}

.ai-compare-stage-action.is-selected .ai-compare-stage-action__count {
    background: #ffffff;
    color: #166534;
}

.ai-compare-stage-action.is-selected:hover .ai-compare-stage-action__count,
.ai-compare-stage-action.is-selected:focus .ai-compare-stage-action__count,
.ai-compare-stage-action.is-selected:focus-visible .ai-compare-stage-action__count {
    background: #ffffff;
    color: #0f2a5f;
}

.ai-compare-candidate-list {
    flex: 1 1 auto;
    max-height: min(47vh, 560px);
    overflow-y: auto;
    border: 1px solid #dbe7ef;
    border-radius: 1rem;
    background: #f8fafc;
    padding: 0.7rem;
}

.ai-compare-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.ai-compare-side-panel {
    border: 1px solid #dbe7ef;
    border-radius: 1rem;
    background: #ffffff;
    padding: 0.9rem;
}

.ai-compare-side-panel--result {
    min-height: 0;
}

.ai-compare-side-panel--history {
    display: grid;
    gap: 0.6rem;
    min-height: 0;
}

.ai-compare-history-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ai-compare-history-search {
    position: relative;
    flex: 1 1 260px;
    max-width: 360px;
}

.ai-compare-history-search i {
    position: absolute;
    top: 50%;
    left: 0.72rem;
    z-index: 2;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.8rem;
    pointer-events: none;
}

.ai-compare-history-search .form-control {
    min-height: 2.25rem;
    padding-left: 2.1rem;
    border-radius: 999px;
    border-color: #dbe7ef;
}

.ai-compare-side-panel [data-ai-compare-result-panel],
.ai-compare-side-panel [data-ai-compare-history-list],
.ai-compare-side-panel [data-public-ai-compare-result],
.ai-compare-side-panel [data-public-ai-compare-history] {
    padding-right: 0.25rem;
}

.ai-compare-side-panel [data-ai-compare-result-panel],
.ai-compare-side-panel [data-public-ai-compare-result] {
    overflow-y: visible;
}

.ai-compare-share-shortlist-btn {
    border: 0;
    background: #0f766e;
    color: #ffffff;
    font-weight: 750;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18);
}

.ai-compare-share-shortlist-btn:hover,
.ai-compare-share-shortlist-btn:focus,
.ai-compare-share-shortlist-btn:focus-visible,
.ai-compare-share-shortlist-btn:active {
    background: #0d9488;
    color: #ffffff;
}

.ai-compare-side-panel [data-ai-compare-history-list],
.ai-compare-side-panel [data-public-ai-compare-history] {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
}

.ai-compare-side-panel--history [data-ai-compare-history-list],
.ai-compare-side-panel--history [data-public-ai-compare-history] {
    display: flex;
    gap: 0.55rem;
    padding: 0.15rem 0 0.35rem;
}

.ai-compare-history-item {
    flex: 0 0 clamp(19rem, 30vw, 22.5rem);
    min-width: min(19rem, calc(100vw - 2rem));
    max-width: min(22.5rem, calc(100vw - 2rem));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0;
    border: 1px solid #dbe7ef;
    border-radius: 0.9rem;
    background: #ffffff;
    padding: 0.7rem 0.8rem;
    text-align: left;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.ai-compare-history-item:hover {
    border-color: #2ec4b6;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.ai-compare-history-item.is-active {
    border-color: #0f766e;
    background: linear-gradient(180deg, #f0fdfa 0%, #e8f7f4 100%);
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.12);
}

.ai-compare-history-item__main {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.ai-compare-history-item__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    min-width: 0;
}

.ai-compare-history-item__status {
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.2;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-compare-history-item__meta {
    color: #64748b;
    font-size: 0.73rem;
    line-height: 1.2;
}

.ai-compare-history-item__icon {
    flex: 0 0 auto;
    width: 1.7rem;
    height: 1.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef2f7;
    color: #475569;
    font-size: 0.76rem;
}

.ai-compare-history-item.is-active .ai-compare-history-item__icon {
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
}

.public-ai-compare .ai-compare-history-item {
    align-items: stretch;
    gap: 0.8rem;
    min-width: min(340px, 100%);
    max-width: min(440px, 88vw);
    padding: 0.75rem 0.8rem 0.72rem 0.95rem;
}

.public-ai-compare .ai-compare-history-item__main {
    gap: 0.42rem;
}

.public-ai-compare .ai-compare-history-item__top {
    display: block;
}

.public-ai-compare .ai-compare-history-item__status {
    display: -webkit-box;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.public-ai-compare .ai-compare-history-item__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.22rem 0.45rem;
}

.public-ai-compare .ai-compare-history-item__meta span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.public-ai-compare .ai-compare-history-item__meta span:not(:last-child)::after {
    content: "";
    width: 0.2rem;
    height: 0.2rem;
    margin-left: 0.45rem;
    border-radius: 999px;
    background: #94a3b8;
}

.public-ai-compare .ai-compare-history-item__aside {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.55rem;
}

.public-ai-compare .ai-compare-history-item__count-badge {
    border-radius: 999px;
    font-size: 0.72rem;
    line-height: 1;
    padding: 0.38rem 0.48rem;
}

.ai-compare-quota {
    display: flex;
    justify-content: flex-start;
}

.ai-compare-candidate-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.ai-compare-candidate-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #d8e4ee;
    border-radius: 0.85rem;
    background: #fff;
    padding: 0.55rem 0.65rem;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ai-compare-candidate-card .form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ai-compare-candidate-card:hover {
    border-color: #2ec4b6;
    transform: translateY(-1px);
}

.ai-compare-candidate-card.is-disabled {
    background: #f8fafc;
    border-style: dashed;
    cursor: not-allowed;
    opacity: 0.78;
}

.ai-compare-candidate-card.is-selected {
    border-color: #0f766e;
    background: #f0fdfa;
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.12);
}

.ai-compare-candidate-card__avatar {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    object-fit: cover;
    background: #e2e8f0;
}

.ai-compare-candidate-card__avatar.public-ai-compare-confidential {
    justify-content: center;
    padding: 0;
    color: #667085;
    font-size: 0.92rem;
}

.ai-compare-candidate-card__name {
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.18;
    overflow-wrap: anywhere;
    flex: 1 1 auto;
    min-width: 0;
}

.ai-compare-candidate-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
}

.ai-compare-candidate-card__score {
    display: inline-flex;
    align-items: center;
    min-height: 1.2rem;
    padding: 0.08rem 0.38rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    margin-left: auto;
}

.ai-compare-candidate-card__meta {
    display: flex;
    justify-content: flex-end;
    min-width: max-content;
    margin-top: 0;
}

.ai-compare-candidate-card__stage {
    border: 1px solid var(--ai-compare-stage-border, rgba(100, 116, 139, 0.36));
    background: var(--ai-compare-stage-bg, #f1f5f9);
    color: #0f172a;
    font-size: 0.66rem;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.ai-compare-candidate-card__stage::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--ai-compare-stage-accent, #64748b);
    display: inline-block;
    margin-right: 0.32rem;
    vertical-align: 0.02rem;
}

.ai-compare-candidate-card__selected {
    color: #0f766e;
    font-size: 0.72rem;
    font-weight: 800;
    grid-column: 2 / 4;
    justify-self: start;
    margin-top: -0.12rem;
}

.ai-compare-candidate-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 0.85rem;
    background: #fff;
    color: #64748b;
    padding: 1rem;
    font-size: 0.86rem;
    text-align: center;
}

.ai-compare-result-candidate__name {
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.ai-compare-result-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 0.75rem;
}

.ai-compare-result-row:last-child {
    margin-bottom: 0;
}

.ai-compare-result-row--single {
    grid-template-columns: minmax(0, 1fr);
}

.ai-compare-result-row .ai-compare-result-card {
    min-width: 0;
    height: 100%;
    margin-bottom: 0;
}

.ai-compare-result-card {
    border: 1px solid #dbe7ef;
    border-radius: 0.95rem;
    background: #ffffff;
    padding: 0.9rem;
    margin-bottom: 0.75rem;
}

.ai-compare-result-card:last-child {
    margin-bottom: 0;
}

.ai-compare-result-card.is-collapsible .ai-compare-result-profile {
    cursor: pointer;
}

.ai-compare-result-card.is-collapsible .ai-compare-result-profile:hover {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.ai-compare-result-card.is-collapsible .ai-compare-result-profile:focus-visible {
    outline: 3px solid rgba(46, 196, 182, 0.32);
    outline-offset: 3px;
}

.ai-compare-result-card.is-expanded .ai-compare-result-profile {
    border-color: #99f6e4;
    background: #f0fdfa;
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.08);
}

.ai-compare-result-profile {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    min-width: 0;
    border: 1px solid transparent;
    border-radius: 0.78rem;
    padding: 0.55rem;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.ai-compare-result-profile__body {
    min-width: 0;
}

.ai-compare-result-profile__main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
}

.ai-compare-result-profile__identity {
    flex: 1 1 auto;
    min-width: 0;
}

.ai-compare-result-profile__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.ai-compare-result-actions {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    width: min(100%, 17rem);
    max-width: 48%;
}

.ai-compare-result-actions .btn,
.ai-compare-result-actions .dropdown {
    min-width: 0;
    width: 100%;
}

.ai-compare-result-actions .btn {
    white-space: nowrap;
}

.ai-compare-result-toggle-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: #eef6f6;
    color: #0f766e;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.ai-compare-result-card.is-expanded .ai-compare-result-toggle-icon {
    background: #0f766e;
    color: #ffffff;
    transform: rotate(180deg);
}

.ai-compare-result-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-0.25rem);
    transition: max-height 0.24s ease, opacity 0.18s ease, transform 0.18s ease;
}

.ai-compare-result-card:not(.is-collapsible) .ai-compare-result-details,
.ai-compare-result-card.is-expanded .ai-compare-result-details {
    max-height: 64rem;
    opacity: 1;
    transform: translateY(0);
    border-top: 1px solid #e2e8f0;
    margin-top: 0.25rem;
    padding-top: 0.85rem;
}

.ai-compare-result-action {
    border: 0;
    color: #ffffff;
    font-weight: 750;
    box-shadow: 0 8px 18px rgba(15, 42, 95, 0.12);
}

.ai-compare-result-action:hover,
.ai-compare-result-action:focus,
.ai-compare-result-action:focus-visible,
.ai-compare-result-action:active,
.ai-compare-result-action.show {
    color: #ffffff;
    transform: translateY(-1px);
}

.ai-compare-result-action--profile {
    order: 1;
    background: #0f2a5f;
}

.ai-compare-result-action--profile:hover,
.ai-compare-result-action--profile:focus,
.ai-compare-result-action--profile:focus-visible,
.ai-compare-result-action--profile:active {
    background: #1b3a8a;
}

.ai-compare-result-action--analysis {
    grid-column: 1 / -1;
    order: 3;
    background: #0f766e;
}

.ai-compare-result-action--analysis:hover,
.ai-compare-result-action--analysis:focus,
.ai-compare-result-action--analysis:focus-visible,
.ai-compare-result-action--analysis:active {
    background: #0d9488;
}

.ai-compare-result-action--move {
    background: #b45309;
}

.ai-compare-move-dropdown {
    order: 2;
}

.ai-compare-result-action--move:hover,
.ai-compare-result-action--move:focus,
.ai-compare-result-action--move:focus-visible,
.ai-compare-result-action--move:active,
.ai-compare-result-action--move.show {
    background: #d97706;
}

.ai-compare-result-candidate__score-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.45rem;
    padding: 0.12rem 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.ai-compare-move-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 100%;
    white-space: normal;
}

.ai-compare-move-dropdown {
    position: relative;
}

.ai-compare-move-menu {
    width: min(22rem, calc(100vw - 2rem));
    min-width: min(22rem, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
}

.ai-compare-move-dropdown .ai-compare-move-menu.show {
    inset-inline-start: auto !important;
    inset-inline-end: 0 !important;
    top: 100% !important;
    bottom: auto !important;
    left: auto !important;
    right: 0 !important;
    transform: none !important;
}

.ai-compare-move-item.is-current,
.ai-compare-move-item.is-current:disabled {
    background: #eef2f7;
    color: #64748b;
    cursor: not-allowed;
    opacity: 1;
}

.ai-compare-move-item__current {
    display: inline-flex;
    align-items: center;
    min-height: 1.2rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    font-size: 0.67rem;
    font-weight: 800;
    line-height: 1;
}

.admin-ai-pricing-editor {
    grid-column: 1 / -1;
    border: 1px dashed #94a3b8;
    border-radius: 0.95rem;
    background: #ffffff;
    padding: 0.85rem;
}

.admin-ai-pricing-editor__copy {
    display: grid;
    gap: 0.2rem;
    margin-bottom: 0.65rem;
}

.admin-ai-pricing-editor__copy strong {
    color: #0f172a;
}

.admin-ai-pricing-editor__copy span {
    color: #64748b;
    font-size: 0.85rem;
}

.admin-ai-pricing-table__row--missing > * {
    background: #fee2e2 !important;
    color: #7f1d1d;
}

@media (max-width: 991.98px) {
    .admin-ai-workspace__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .admin-ai-feature-row {
        grid-template-columns: 1fr;
    }

    .admin-ai-feature-row__actions {
        justify-content: flex-start;
    }

    .admin-ai-runtime-split {
        grid-template-columns: 1fr;
    }

    .ai-compare-candidate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-compare-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .admin-ai-workspace__stats {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .admin-ai-directory__toolbar {
        align-items: stretch;
    }

    .admin-ai-summary-chip {
        min-width: calc(50% - 0.25rem);
    }

    .ai-compare-explainer {
        grid-template-columns: 1fr;
    }

    .ai-compare-explainer__main {
        min-width: 0;
        border-left: 0;
        border-top: 1px solid #dbe7ef;
        padding-top: 0.7rem;
        padding-left: 0;
    }

    .ai-compare-panel-heading,
    .ai-compare-toolbar,
    .ai-compare-bottom-grid {
        grid-template-columns: 1fr;
    }

    .public-ai-compare .ai-compare-toolbar {
        grid-template-columns: 1fr;
    }

    .ai-compare-meta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .ai-compare-meta-row .ai-compare-quota {
        justify-content: flex-start;
    }

    .ai-compare-candidate-grid {
        grid-template-columns: 1fr;
    }

    .ai-compare-result-row {
        grid-template-columns: 1fr;
    }

    .ai-compare-side-panel--result {
        min-height: 0;
    }

    .ai-compare-result-profile__main {
        flex-direction: column;
        gap: 0.65rem;
    }

    .ai-compare-result-actions {
        justify-content: flex-start;
        max-width: 100%;
        width: 100%;
    }

    .ai-compare-result-actions .btn,
    .ai-compare-result-actions .dropdown {
        flex: 1 1 auto;
    }

    .ai-compare-result-actions .btn {
        width: 100%;
    }
}
