.csi-portal {
    --csi-red: #e10a17;
    --csi-gold: #f6c812;
    --csi-green: #0f7a45;
    --csi-ink: #0b0b0b;
    --csi-bg: #f7f7f7;
    --csi-border: rgba(11, 11, 11, 0.12);
    background: linear-gradient(120deg, rgba(225, 10, 23, 0.06), rgba(246, 200, 18, 0.08));
}

.csi-portal__content {
    padding: 36px 0 80px;
}

.portal-page .header-area.sticky {
    z-index: 999;
}

.portal-page .csi-portal-header-spacer {
    height: var(--csi-header-height, 110px);
}

@media (max-width: 991px) {
    .portal-page .csi-portal-header-spacer {
        height: var(--csi-header-height-mobile, 80px);
    }
}

.portal-subnav {
    background: linear-gradient(180deg, #f2f2f2, #e9e9e9);
    border-bottom: 1px solid rgba(11, 11, 11, 0.08);
    box-shadow: 0 6px 18px rgba(11, 11, 11, 0.06);
    position: relative;
    z-index: 10;
}

.csi-portal-subnav {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
}

.portal-subnav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0;
}

.portal-subnav__left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.portal-subnav__home {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(11, 11, 11, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--csi-ink);
    background: #fff;
    flex-shrink: 0;
}

.portal-subnav__menu {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.portal-subnav__menu li {
    position: relative;
    white-space: nowrap;
    line-height: 1;
}

.portal-subnav__menu li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-top: 2px solid rgba(11, 11, 11, 0.25);
    border-right: 2px solid rgba(11, 11, 11, 0.25);
    transform: translateY(-50%) rotate(45deg);
}

.portal-subnav__menu a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--csi-ink);
    padding: 8px 6px;
    white-space: nowrap;
}

.portal-subnav__right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.portal-subnav__news {
    border: 1px solid rgba(11, 11, 11, 0.2);
    background: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--csi-ink);
    white-space: nowrap;
}

.portal-subnav__profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(11, 11, 11, 0.06);
    font-weight: 600;
    white-space: nowrap;
}

.portal-account {
    position: relative;
}

.portal-account__grid {
    gap: 36px 0;
}

.portal-account__hero h1 {
    font-size: 42px;
    line-height: 1.2;
    color: var(--csi-ink);
    margin-bottom: 16px;
}

.portal-account__hero p {
    color: rgba(11, 11, 11, 0.72);
    margin-bottom: 22px;
    max-width: 520px;
}

.portal-account__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(246, 200, 18, 0.18);
    color: var(--csi-ink);
    font-weight: 700;
    margin-bottom: 18px;
}

.portal-account__media {
    position: relative;
    margin-top: 30px;
    max-width: 520px;
}

.portal-account__media::before {
    content: "";
    position: absolute;
    inset: 22px -10px -18px 10px;
    background: linear-gradient(140deg, rgba(225, 10, 23, 0.12), rgba(15, 122, 69, 0.1));
    border-radius: 28px;
    z-index: 0;
}

.portal-account__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
}

.portal-account__card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(11, 11, 11, 0.14);
    border: 1px solid rgba(11, 11, 11, 0.06);
}

.portal-account__tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.portal-account__tab {
    flex: 1;
    border: 1px solid rgba(11, 11, 11, 0.12);
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 700;
    background: #fff;
    color: var(--csi-ink);
    transition: all 0.2s ease;
}

.portal-account__tab.active {
    background: var(--csi-red);
    border-color: var(--csi-red);
    color: #fff;
}

.portal-account__form {
    display: grid;
    gap: 14px;
}

.portal-account__field label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: var(--csi-ink);
}

.portal-account__field input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(11, 11, 11, 0.2);
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.portal-account__field input:focus {
    border-color: var(--csi-red);
    box-shadow: 0 0 0 0.2rem rgba(225, 10, 23, 0.15);
}

.portal-account__error {
    display: block;
    font-size: 13px;
    color: var(--csi-red);
    margin-top: 4px;
}

.portal-account__status {
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
}

.portal-account__status.error {
    background: rgba(225, 10, 23, 0.12);
    color: var(--csi-red);
}

.portal-account__status.success {
    background: rgba(15, 122, 69, 0.12);
    color: var(--csi-green);
}

.portal-account__cta {
    border: none;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.6px;
    background: var(--csi-gold);
    color: var(--csi-ink);
    text-transform: uppercase;
}

.portal-account__cta:hover {
    background: var(--csi-red);
    color: #fff;
}

.portal-shell {
    padding: 36px 0 20px;
}

.portal-shell__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.portal-shell__meta h1 {
    font-size: 36px;
    color: var(--csi-ink);
    margin-bottom: 10px;
}

.portal-shell__meta p {
    color: rgba(11, 11, 11, 0.7);
    max-width: 520px;
}

.portal-shell__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: rgba(11, 11, 11, 0.6);
    margin-bottom: 10px;
}

.portal-shell__breadcrumbs a {
    color: rgba(11, 11, 11, 0.8);
}

.portal-shell__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(246, 200, 18, 0.18);
    font-weight: 700;
    margin-bottom: 16px;
}

.portal-shell__actions {
    display: flex;
    gap: 12px;
}

.portal-shell__body {
    display: grid;
    gap: 24px;
}

.portal-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(11, 11, 11, 0.06);
    box-shadow: 0 18px 40px rgba(11, 11, 11, 0.08);
}

.portal-card__header {
    padding: 24px 24px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.portal-card__header h3 {
    margin-bottom: 6px;
}

.portal-card__header p {
    color: rgba(11, 11, 11, 0.65);
}

.portal-card__filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.portal-card__filters input,
.portal-card__filters select {
    border-radius: 999px;
    border: 1px solid rgba(11, 11, 11, 0.18);
    padding: 8px 14px;
    background: #fff;
    min-width: 180px;
}

.portal-card__body {
    padding: 24px;
}

.portal-card__pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(225, 10, 23, 0.1);
    color: var(--csi-red);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 13px;
}

.portal-card__meta {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.portal-grid--wide {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.portal-btn {
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    border: 1px solid transparent;
}

.portal-btn--primary {
    background: var(--csi-gold);
    color: var(--csi-ink);
}

.portal-btn--outline {
    background: transparent;
    border-color: var(--csi-red);
    color: var(--csi-red);
}

.portal-table {
    width: 100%;
    overflow-x: auto;
    padding: 0 24px 24px;
}

.portal-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.portal-table th,
.portal-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(11, 11, 11, 0.08);
    white-space: nowrap;
}

.portal-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(246, 200, 18, 0.2);
    color: var(--csi-ink);
}

.portal-pill--success {
    background: rgba(15, 122, 69, 0.15);
    color: var(--csi-green);
}

.portal-pill--pending {
    background: rgba(246, 200, 18, 0.25);
    color: var(--csi-ink);
}

.portal-pill--danger {
    background: rgba(225, 10, 23, 0.15);
    color: var(--csi-red);
}

.portal-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.portal-stats__card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(11, 11, 11, 0.06);
    box-shadow: 0 14px 30px rgba(11, 11, 11, 0.06);
}

.portal-stats__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(225, 10, 23, 0.12);
    color: var(--csi-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.portal-stats__info span {
    display: block;
    font-size: 13px;
    color: rgba(11, 11, 11, 0.6);
}

.portal-stats__info strong {
    display: block;
    font-size: 20px;
}

.portal-stats__info small {
    display: block;
    color: rgba(11, 11, 11, 0.5);
}

.portal-report__metric {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.portal-report__metric strong {
    font-size: 26px;
}

.portal-report__metric span {
    color: rgba(11, 11, 11, 0.6);
}

.portal-report__bars {
    display: grid;
    gap: 12px;
}

.portal-report__bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(11, 11, 11, 0.6);
    margin-bottom: 6px;
}

.portal-report__bar-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(11, 11, 11, 0.08);
    overflow: hidden;
}

.portal-report__bar-track span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--csi-red), var(--csi-gold));
}

.portal-form {
    display: grid;
    gap: 14px;
}

.portal-form label {
    font-weight: 600;
    color: var(--csi-ink);
}

.portal-form input,
.portal-form select,
.portal-form textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(11, 11, 11, 0.2);
    padding: 12px 14px;
    margin-top: 6px;
}

.portal-contact__info {
    display: grid;
    gap: 18px;
}

.portal-contact__info strong {
    display: block;
    margin-bottom: 6px;
}

.portal-contact__info span {
    display: block;
    color: rgba(11, 11, 11, 0.65);
}

.portal-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.portal-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(11, 11, 11, 0.04);
    font-weight: 600;
}

.portal-step span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(11, 11, 11, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.portal-step.active {
    background: rgba(225, 10, 23, 0.12);
    color: var(--csi-red);
}

.portal-review ul {
    margin: 0;
    padding-left: 18px;
}

.portal-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.portal-subnav__menu li.is-active a {
    color: var(--csi-red);
    font-weight: 700;
}

.portal-country-menu {
    position: absolute;
    background: #fff;
    border: 1px solid rgba(11, 11, 11, 0.12);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(11, 11, 11, 0.12);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1200;
    padding: 8px 0;
}

.portal-country-menu__item {
    width: 100%;
    text-align: left;
    padding: 10px 16px;
    background: transparent;
    border: none;
    font-weight: 600;
    color: var(--csi-ink);
    cursor: pointer;
}

.portal-country-menu__item:hover,
.portal-country-menu__item.is-active {
    background: rgba(225, 10, 23, 0.08);
    color: var(--csi-red);
}

.portal-country-menu__empty {
    padding: 12px 16px;
    color: rgba(11, 11, 11, 0.6);
    font-weight: 600;
}

@media (max-width: 991px) {
    .portal-shell__header {
        flex-direction: column;
    }

    .portal-shell__meta h1 {
        font-size: 30px;
    }
}

@media (max-width: 991px) {
    .portal-subnav__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .portal-subnav__left {
        width: 100%;
    }

    .portal-subnav__menu {
        overflow-x: auto;
        padding-bottom: 6px;
    }

    .portal-subnav__right {
        width: 100%;
        justify-content: space-between;
    }

    .portal-account__hero h1 {
        font-size: 34px;
    }
}

.portal-demand {
    padding-bottom: 40px;
}

.portal-demand-hero {
    padding: 40px 0 24px;
}

.portal-demand-hero__grid {
    gap: 32px 0;
}

.portal-demand-hero__content h1 {
    font-size: 40px;
    line-height: 1.2;
    color: var(--csi-ink);
    margin-bottom: 16px;
}

.portal-demand-hero__content p {
    color: rgba(11, 11, 11, 0.72);
    margin-bottom: 22px;
    max-width: 520px;
}

.portal-demand-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(246, 200, 18, 0.18);
    color: var(--csi-ink);
    font-weight: 700;
    margin-bottom: 18px;
}

.portal-demand-hero__skyline {
    max-width: 520px;
    opacity: 0.85;
}

.portal-demand-hero__panel {
    background: #fff;
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(11, 11, 11, 0.14);
    border: 1px solid rgba(11, 11, 11, 0.06);
}

.portal-demand-hero__panel img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.portal-demand-search {
    padding: 12px 0 32px;
}

.portal-demand-search__inner {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 18px 36px rgba(11, 11, 11, 0.08);
    border: 1px solid rgba(11, 11, 11, 0.08);
    display: grid;
    gap: 16px;
}

.portal-demand-search__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.portal-demand-search__action {
    border: 1px solid rgba(11, 11, 11, 0.12);
    background: rgba(11, 11, 11, 0.03);
    color: var(--csi-ink);
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.portal-demand-search__fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.portal-demand-search__cta {
    width: 100%;
    justify-content: center;
    gap: 8px;
    display: inline-flex;
    align-items: center;
    height: 48px;
}

.portal-demand-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.portal-demand-tile {
    background: #fff;
    border: 1px solid rgba(11, 11, 11, 0.08);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--csi-ink);
    box-shadow: 0 14px 30px rgba(11, 11, 11, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-demand-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(11, 11, 11, 0.12);
}

.portal-demand-tile__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(225, 10, 23, 0.1);
    color: var(--csi-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.portal-demand-section {
    padding: 28px 0;
}

.portal-demand-section__title {
    font-size: 22px;
    color: var(--csi-ink);
    margin-bottom: 12px;
}

.portal-demand-section__header h2 {
    margin-bottom: 6px;
}

.portal-demand-section__header p {
    color: rgba(11, 11, 11, 0.62);
    margin-bottom: 18px;
}

.portal-demand-form {
    display: grid;
    gap: 24px;
}

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

.portal-demand__field label {
    font-weight: 600;
    color: var(--csi-ink);
    display: block;
}

.portal-demand__field input,
.portal-demand__field select,
.portal-demand__field textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(11, 11, 11, 0.2);
    padding: 12px 14px;
    margin-top: 6px;
}

.portal-demand__field--full {
    grid-column: 1 / -1;
}

.portal-demand__error {
    display: block;
    color: #b02020;
    font-size: 13px;
    margin-top: 6px;
    font-weight: 600;
}

.portal-demand-category {
    background: #fff;
    border-radius: 20px;
    padding: 22px;
    border: 1px solid rgba(11, 11, 11, 0.08);
    box-shadow: 0 18px 36px rgba(11, 11, 11, 0.08);
}

.portal-demand-category__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.portal-demand-category__table {
    display: grid;
    gap: 10px;
}

.portal-demand-category__row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
}

.portal-demand-category__row--head {
    font-size: 12px;
    font-weight: 700;
    color: rgba(11, 11, 11, 0.6);
    text-transform: uppercase;
}

.portal-demand-category__row input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(11, 11, 11, 0.18);
    padding: 10px 12px;
}

.portal-demand-category__remove {
    border: none;
    background: rgba(11, 11, 11, 0.06);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--csi-ink);
}

.portal-demand-category__remove:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.portal-demand-status {
    background: rgba(15, 122, 69, 0.12);
    color: var(--csi-green);
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 600;
}

.portal-demand-actions {
    justify-content: flex-end;
}

.portal-job-apply {
    padding: 24px 0 60px;
}

.portal-job-apply__card {
    max-width: 1160px;
    margin: 0 auto;
    background: #fff;
    border-radius: 26px;
    padding: 32px;
    box-shadow: 0 26px 60px rgba(11, 11, 11, 0.14);
    border: 1px solid rgba(11, 11, 11, 0.06);
}

.portal-job-apply__header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.portal-job-apply__header h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.portal-job-apply__header p {
    color: rgba(11, 11, 11, 0.65);
    max-width: 520px;
}

.portal-job-apply__eyebrow {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(225, 10, 23, 0.12);
    color: var(--csi-red);
    font-weight: 700;
    margin-bottom: 12px;
}

.portal-job-apply__passport {
    border: 1px dashed rgba(11, 11, 11, 0.2);
    border-radius: 18px;
    padding: 16px;
    min-width: 220px;
    display: grid;
    gap: 8px;
    text-align: center;
    cursor: pointer;
    background: rgba(11, 11, 11, 0.02);
}

.portal-job-apply__passport input {
    display: none;
}

.portal-job-apply__passport img {
    width: 100%;
    border-radius: 12px;
}

.portal-job-apply__passport em {
    font-style: normal;
    color: rgba(11, 11, 11, 0.6);
    font-size: 12px;
}

.portal-job-apply__quick {
    display: grid;
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid rgba(11, 11, 11, 0.08);
    background: rgba(11, 11, 11, 0.02);
    margin-bottom: 24px;
}

.portal-job-apply__posts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.portal-job-apply__post {
    border: 1px solid rgba(11, 11, 11, 0.16);
    background: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 600;
    color: var(--csi-ink);
}

.portal-job-apply__post.is-active {
    border-color: var(--csi-red);
    color: var(--csi-red);
    background: rgba(225, 10, 23, 0.08);
}

.portal-job-apply__section {
    margin-bottom: 24px;
}

.portal-job-apply__triple {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.portal-job-apply__helper {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(11, 11, 11, 0.6);
}

.portal-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.portal-doc-tile {
    background: #fff;
    border: 1px solid rgba(11, 11, 11, 0.08);
    border-radius: 16px;
    padding: 14px;
    display: grid;
    gap: 8px;
    box-shadow: 0 12px 28px rgba(11, 11, 11, 0.08);
}

.portal-doc-tile__input {
    display: none;
}

.portal-doc-tile__button {
    border: none;
    background: transparent;
    text-align: left;
    display: grid;
    gap: 6px;
    padding: 0;
    color: var(--csi-ink);
}

.portal-doc-tile__label {
    font-weight: 700;
}

.portal-doc-tile__meta {
    font-size: 12px;
    color: rgba(11, 11, 11, 0.6);
}

.portal-doc-tile__progress {
    height: 6px;
    background: rgba(11, 11, 11, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.portal-doc-tile__progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--csi-red), var(--csi-gold));
}

.portal-doc-tile__actions {
    display: flex;
    gap: 10px;
}

.portal-doc-tile__action {
    border: none;
    background: rgba(11, 11, 11, 0.06);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 600;
}

.portal-doc-tile__action--danger {
    color: #b02020;
    background: rgba(176, 32, 32, 0.1);
}

.portal-job-apply__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
}

.portal-toast {
    position: fixed;
    top: 140px;
    right: 20px;
    background: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    box-shadow: 0 16px 30px rgba(11, 11, 11, 0.18);
    border: 1px solid rgba(11, 11, 11, 0.08);
    font-weight: 600;
    color: var(--csi-ink);
    z-index: 1300;
}

@media (max-width: 991px) {
    .portal-job-apply__card {
        padding: 22px;
    }

    .portal-job-apply__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .portal-job-apply__triple {
        grid-template-columns: 1fr;
    }

    .portal-job-apply__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.portal-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 11, 0.5);
}

.portal-modal__panel {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 900px;
    width: min(90vw, 900px);
    max-height: 85vh;
    overflow: auto;
    padding: 24px;
    z-index: 1;
}

.portal-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.portal-modal__close {
    border: none;
    background: rgba(11, 11, 11, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.portal-modal__section {
    margin-bottom: 18px;
}

.portal-modal__section h4 {
    margin-bottom: 10px;
}

.portal-modal__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.portal-modal__item {
    background: rgba(11, 11, 11, 0.04);
    border-radius: 12px;
    padding: 12px;
    display: grid;
    gap: 6px;
}

.portal-modal__item span {
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(11, 11, 11, 0.5);
}

.portal-modal__table {
    display: grid;
    gap: 8px;
}

.portal-modal__table-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    background: rgba(11, 11, 11, 0.04);
    padding: 10px 12px;
    border-radius: 10px;
}

.portal-modal__table-row--head {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    background: rgba(11, 11, 11, 0.08);
}

.portal-modal__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

@media (max-width: 991px) {
    .portal-demand-hero__content h1 {
        font-size: 32px;
    }

    .portal-demand-search__fields {
        grid-template-columns: 1fr;
    }

    .portal-demand-grid {
        grid-template-columns: 1fr;
    }

    .portal-demand-category__row {
        grid-template-columns: 1fr;
    }

    .portal-modal__table-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .portal-subnav__menu {
        gap: 14px;
    }

    .portal-account__card {
        padding: 24px;
    }
}
