.koopo-dashboard__header p {
    color: var(--kj-subtle);
}

.koopo-stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    margin-bottom: 14px;
}

.koopo-stat-card h3 {
    margin: 0;
    color: var(--kj-subtle);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.koopo-stat-card p {
    margin: 8px 0 0;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    font-weight: 700;
}


.koopo-dash-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    background: #fff;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(18, 27, 44, 0.08);
}

.koopo-dash-topbar h2 {
    margin: 0;
    font-size: clamp(2rem, 3.8vw, 2.9rem);
}

.koopo-dash-topbar p {
    margin: 6px 0 0;
    color: #484e5f;
    font-size: 1rem;
}

.koopo-dash-period {
    border-radius: 14px;
    background: #fff;
    border: 1px solid #ececf0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
    padding: 12px 16px;
    font-weight: 700;
    white-space: nowrap;
}

.koopo-dash-grid-top {
    display: grid;
    grid-template-columns: 1.15fr 0.9fr 1.45fr;
    gap: 16px;
    margin-bottom: 18px;
}

.koopo-dash-grid-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.koopo-dash-card {
    border-radius: 18px;
    border: 1px solid #ececf0;
    background: #fff;
    padding: 18px;
    box-shadow: 0 16px 34px rgba(18, 27, 42, 0.08);
}

.koopo-dash-card h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 2rem;
    line-height: 1.1;
}

.koopo-dash-card--gradient {
    background: linear-gradient(135deg, #d2fff8 0%, #fffceb 60%, #fff 100%);
}

.koopo-dash-dual-metric {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding:20px;
}

.koopo-dash-metric-value {
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    font-weight: 800;
    color: #0f1732;
}

.koopo-dash-metric-label {
    margin: 10px 0 0;
    color: #50556a;
    font-weight: 600;
}

.koopo-dash-donut-wrap {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.koopo-dash-donut {
    --pct: 0;
    width: 118px;
    height: 118px;
    border-radius: 999px;
    background: conic-gradient(#00ae77 calc(var(--pct) * 1%), #ecebe6 0);
    display: grid;
    place-items: center;
}

.koopo-dash-donut::before {
    content: "";
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: #fff;
    grid-area: 1 / 1;
}

.koopo-dash-donut span {
    grid-area: 1 / 1;
    z-index: 1;
    font-weight: 800;
    color: #122054;
}

.koopo-dash-legend {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    color: #50556a;
}

.koopo-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-right: 8px;
}

.koopo-dot--blue {
    background: #00ae77;
}

.koopo-dot--light {
    background: #d8d6cf;
}

.koopo-dash-upcoming-date {
    color: #3f4660;
    font-weight: 700;
    margin: 0 0 10px;
}

.koopo-dash-upcoming-row {
    border: 1px solid #00ae77;
    border-radius: 14px;
    padding: 12px 14px;
    display: grid;
    gap: 4px;
}

.koopo-dash-upcoming-row strong {
    font-size: 1rem;
}

.koopo-dash-upcoming-row span {
    color: #555b6e;
    font-size: 0.92rem;
}

.koopo-dash-quota {
    margin: 14px 0 0;
    color: #00ae77;
    font-weight: 700;
}

.koopo-dash-card--list h3 {
    font-size: 2.7rem;
    margin-bottom: 16px;
}

.koopo-dash-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.koopo-dash-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #ededf1;
    padding-bottom: 10px;
}

.koopo-dash-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.koopo-dash-list strong {
    display: block;
    font-size: 1.02rem;
}

.koopo-dash-list__identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.koopo-dash-list span {
    display: block;
    color: #5c6276;
    font-size: 0.9rem;
    margin-top: 2px;
}

.koopo-dash-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 44px;
}

.koopo-badge {
    background: #f3f3f6;
    color: #62677a;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.koopo-badge--review {
    background: #fef4e5;
    color: #c07000;
}

.koopo-badge--deadline {
    background: #ffeef0;
    color: #c33d4b;
}

.koopo-badge--closed {
    background: #eef2f7;
    color: #44516b;
}

.koopo-badge--fit-top {
    background: #e8f8ef;
    color: #177245;
}

.koopo-badge--fit-maybe {
    background: #fff3d8;
    color: #b26b00;
}

.koopo-badge--fit-low {
    background: #ffe6ea;
    color: #b4233a;
}

.koopo-dash-card--form .koopo-employer-form-wrap {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.koopo-dash-card--form .koopo-employer-form-wrap header h2 {
    font-size: 1.35rem;
}

.koopo-dash-card h3 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.koopo-dash-card--list h3 {
    font-size: clamp(1.55rem, 2.2vw, 2.1rem);
}

.koopo-dash-card .koopo-job-modal-launcher .koopo-btn {
    max-width: 240px;
}

.koopo-dash-card--billing {
    margin-bottom: 16px;
}

.koopo-dash-card--billing h3 {
    margin-bottom: 8px;
}

.koopo-billing-jobs {
    display: grid;
    gap: 14px;
    margin-top: 12px;
}

.koopo-billing-job {
    border: 1px solid #e5e8f2;
    border-radius: 14px;
    background: #fbfcff;
    padding: 14px;
}

.koopo-billing-job header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.koopo-billing-job h4 {
    margin: 0;
    font-size: 1.06rem;
}

.koopo-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.koopo-plan-card {
    border: 1px solid #e0e4f3;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    display: flex;
    gap: 8px;
    flex-flow: column;
    justify-content: space-between;
}

.koopo-plan-card strong {
    font-size: 0.98rem;
    color: #1a213b;
}

.koopo-plan-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #10172f;
}

.koopo-plan-type {
    font-size: 0.8rem;
    color: #5e6781;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.koopo-plan-card .koopo-btn {
    width: 100%;
}

.koopo-plan-budget-input {
    display: grid;
    gap: 4px;
    font-size: 0.82rem;
    color: #4f5871;
}

.koopo-plan-budget-input input {
    width: 100%;
}

.koopo-plan-note {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #6b7288;
}

.koopo-posted-jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.koopo-posted-job-card {
    border: 1px solid #e5e7ef;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 14px 24px rgba(18, 27, 44, 0.08);
    padding: 18px;
}

.koopo-posted-job-card h4 {
    margin: 0 0 8px;
    font-size: 1.06rem;
}

.koopo-posted-job-card h4 a {
    color: #151c33;
    text-decoration: none;
}

.koopo-posted-job-card p {
    margin: 0;
    color: #656c82;
}

.koopo-posted-job-card__foot {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.koopo-posted-job-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.koopo-posted-job-card__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
}

.koopo-dash-pagination {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.koopo-dash-pagination__item a,
.koopo-dash-pagination__item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #d9e2f2;
    background: #fff;
    color: #17223c;
    font-weight: 700;
    text-decoration: none;
}

.koopo-dash-pagination__item .current {
    background: #17223c;
    border-color: #17223c;
    color: #fff;
}

.koopo-badge--link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.koopo-badge--link:hover,
.koopo-badge--link:focus {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(18, 27, 44, 0.1);
}

.koopo-btn--small {
    padding: 8px 12px;
    font-size: 0.84rem;
    line-height: 1.2;
}

.koopo-posted-job-card__close {
    border-color: rgba(23, 114, 69, 0.28) !important;
    color: #177245;
}

.koopo-posted-job-card__delete {
    border-color: rgba(180, 35, 58, 0.28) !important;
    color: #b4233a;
}

.koopo-close-job-modal__form {
    gap: 14px;
}

.koopo-close-job-modal__job {
    margin: 0;
    font-weight: 700;
    color: #152038;
}

.koopo-close-job-modal__reasons {
    border: 0;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.koopo-close-job-modal__reasons legend {
    margin-bottom: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #44516b;
}

.koopo-close-job-modal__note {
    display: grid;
    gap: 8px;
}

.koopo-close-job-modal__note span {
    font-size: 0.9rem;
    font-weight: 700;
    color: #44516b;
}

.koopo-close-job-modal__note textarea {
    width: 100%;
}

.koopo-badge--success {
    background: #e8f8ef;
    color: #177245;
}

.koopo-badge--muted {
    background: #eef1f6;
    color: #667085;
}



.koopo-applicant-filterbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.koopo-applicant-filterbar__pill {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #d9dfef;
    color: #26314e;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.koopo-applicant-filterbar__pill:hover,
.koopo-applicant-filterbar__pill:focus {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(28, 39, 66, 0.08);
    border-color: #b9c5ee;
}

.koopo-applicant-filterbar__pill.is-active {
    background: linear-gradient(135deg, #3046d3 0%, #6283ff 100%);
    border-color: transparent;
    color: #fff;
}

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

.koopo-applicant-card {
    border-radius: 22px;
    border: 1px solid #e4e9f4;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(18, 27, 44, 0.08);
    padding: 20px;
}

.koopo-applicant-card.is-expanded {
    border-color: #d8e1f4;
    box-shadow: 0 22px 44px rgba(18, 27, 44, 0.11);
}

.koopo-applicant-card.is-loading {
    border-color: #dce3f6;
}

.koopo-applicant-card__summary {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.koopo-applicant-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.koopo-applicant-card__summary-right {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.koopo-applicant-card__identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.koopo-applicant-card__avatar {
    width: 130px;
    height: 130px;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 130px;
}

.koopo-applicant-card__header h3 {
    margin: 0 0 4px;
    font-size: 1.3rem;
}

.koopo-applicant-card__header p {
    margin: 0;
    color: #5a6279;
    font-weight: 600;
}

.koopo-applicant-card__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.koopo-applicant-card__toggle-indicator {
    position: relative;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 999px;
    background: #f6f8fc;
    border: 1px solid #e5ebf7;
}

.koopo-applicant-card__toggle-indicator::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin-top: -6px;
    margin-left: -5px;
    border-right: 2px solid #4a5b82;
    border-bottom: 2px solid #4a5b82;
    transform: rotate(45deg);
    transition: transform 180ms ease, margin-top 180ms ease;
}

.koopo-applicant-card.is-expanded .koopo-applicant-card__toggle-indicator::before {
    transform: rotate(-135deg);
    margin-top: -1px;
}

.koopo-applicant-card__summary:hover .koopo-applicant-card__toggle-indicator,
.koopo-applicant-card__summary:focus-visible .koopo-applicant-card__toggle-indicator {
    background: #eef3ff;
    border-color: #d9e4ff;
}

.koopo-applicant-card__summary:focus-visible {
    outline: 3px solid rgba(48, 70, 211, 0.14);
    outline-offset: 6px;
    border-radius: 18px;
}

.koopo-applicant-card__detail {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #edf0f5;
}

.koopo-applicant-card__detail-status {
    margin: 0;
    color: #55607a;
    line-height: 1.65;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.koopo-applicant-card__detail-status.is-error {
    color: #8b2d2d;
}

.koopo-applicant-card__detail-spinner {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 999px;
    border: 2px solid #d9e2fb;
    border-top-color: #3046d3;
    animation: koopo-applicant-detail-spin 0.8s linear infinite;
}

@keyframes koopo-applicant-detail-spin {
    to {
        transform: rotate(360deg);
    }
}

.koopo-applicant-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.koopo-applicant-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f6f8fc;
    color: #55607a;
    font-size: 0.9rem;
    font-weight: 600;
}

.koopo-applicant-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.koopo-contact-menu {
    position: relative;
}

.koopo-contact-menu__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    border: 1px solid #e1e7f1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 32px rgba(18, 27, 44, 0.14);
    padding: 8px;
    display: grid;
    gap: 4px;
    z-index: 15;
}

.koopo-contact-menu__item {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: #16213b;
    font-weight: 600;
    text-decoration: none;
}

.koopo-contact-menu__item:hover,
.koopo-contact-menu__item:focus {
    background: #f5f8ff;
    color: #0f1a33;
}

.koopo-contact-menu__item.is-disabled {
    color: #8a93a7;
    cursor: not-allowed;
}

.koopo-applicant-card__section {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #edf0f5;
}

.koopo-applicant-fit-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.koopo-applicant-fit-status span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f5f8ff;
    color: #33415f;
    font-size: 0.86rem;
    font-weight: 700;
}

.koopo-applicant-card__section h4 {
    margin: 0 0 8px;
    font-size: 0.94rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #56627e;
}

.koopo-applicant-card__section p {
    margin: 0;
    color: #16213b;
    line-height: 1.65;
}

.koopo-applicant-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.koopo-applicant-skills span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #edf2ff;
    color: #2840b2;
    font-size: 0.88rem;
    font-weight: 700;
}

.koopo-applicant-card__cover p {
    margin: 0 0 12px;
}

.koopo-applicant-card__cover p:last-child {
    margin-bottom: 0;
}

.koopo-applicant-insights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.koopo-applicant-insights li {
    position: relative;
    padding-left: 16px;
    color: #17213a;
    line-height: 1.55;
}

.koopo-applicant-insights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0077a4 0%, #00ae77 100%);
}

@media (max-width: 860px) {
    .koopo-dash-topbar {
        flex-direction: column;
    }

    .koopo-dash-grid-top,
    .koopo-dash-grid-bottom {
        grid-template-columns: 1fr;
    }

    .koopo-dash-card h3,
    .koopo-dash-card--list h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 1200px) {
    .koopo-posted-jobs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .koopo-applicant-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .koopo-posted-jobs-grid {
        grid-template-columns: 1fr;
    }

    .koopo-posted-job-card__actions {
        flex-wrap: wrap;
    }

    .koopo-applicant-card__header {
        flex-direction: column;
    }

    .koopo-applicant-card__summary-right {
        width: 100%;
        justify-content: space-between;
    }

    .koopo-applicant-card__badges,
    .koopo-applicant-card__actions {
        justify-content: flex-start;
    }

    .koopo-contact-menu__dropdown {
        position: static;
        min-width: 0;
        width: 100%;
        margin-top: 8px;
    }
}

.koopo-applicant-card__detail[hidden],
.koopo-applicant-card__section[hidden] {
    display: none;
}
