/* =========================================================
   TID TRAINING CENTERS
========================================================= */

.tc-public-page {
    --green: #087565;
    --green-dark: #17352f;
    --green-soft: #edf8f5;
    --gold: #d5a52d;
    --text: #18302b;
    --muted: #758682;
    --border: #dce8e5;
    width: 100%;
    background: #f7faf9;
    color: var(--text);
}

    .tc-public-page * {
        box-sizing: border-box;
    }

.tc-container {
    width: min(1240px, calc(100% - 44px));
    margin: 0 auto;
}


/* =========================================================
   COMPACT HERO
========================================================= */

.tc-hero {
    position: relative;
    overflow: hidden;
    min-height: 178px;
    display: flex;
    align-items: center;
    background: radial-gradient( circle at 84% -20%, rgba(213, 165, 45, .12), transparent 280px ), linear-gradient( 110deg, #eef8f6 0%, #ffffff 48%, #fbf8ef 100% );
    border-bottom: 1px solid #e4ecea;
}

    .tc-hero::before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        top: -185px;
        right: 10%;
        border: 1px solid rgba(8, 117, 101, .08);
        border-radius: 50%;
    }

.tc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 30px 0;
}

.tc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    padding: 5px 11px;
    border: 1px solid #cce3de;
    border-radius: 999px;
    background: rgba(238, 249, 246, .9);
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
}

.tc-hero h1 {
    margin: 0;
    max-width: 850px;
    color: #16332d;
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1.13;
    letter-spacing: -1px;
    font-weight: 800;
}

    .tc-hero h1 span {
        color: var(--green);
    }

.tc-hero p {
    max-width: 720px;
    margin: 9px 0 0;
    color: #6e807c;
    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   MAIN
========================================================= */

.tc-main {
    padding: 30px 0 48px;
}


/* Old heading is removed from ASPX */

.tc-section-heading {
    display: none;
}


/* =========================================================
   MAP CARD
========================================================= */

.tc-map-card {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(380px, .95fr);
    grid-template-rows: auto 1fr;
    overflow: hidden;
    min-height: 545px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(24, 65, 57, .08);
}


/* =========================================================
   MAP HEADER
========================================================= */

.tc-map-card-header {
    grid-column: 1;
    grid-row: 1;
    min-height: 74px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #e5eeec;
    border-inline-end: 1px solid #e5eeec;
}

.tc-small-label {
    display: block;
    margin-bottom: 2px;
    color: var(--green);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .8px;
}

.tc-map-card-header h3 {
    margin: 0;
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
}

.tc-map-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   MAP
========================================================= */

.tc-map-stage {
    grid-column: 1;
    grid-row: 2;
    position: relative;
    min-height: 470px;
    background: linear-gradient( rgba(8, 117, 101, .025) 1px, transparent 1px ), linear-gradient( 90deg, rgba(8, 117, 101, .025) 1px, transparent 1px ), linear-gradient( 180deg, #fcfefe, #f8fcfb );
    background-size: 38px 38px, 38px 38px, auto;
    border-inline-end: 1px solid #e5eeec;
}

.tc-map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 470px;
    display: grid;
    place-items: center;
}

.tc-oman-shape {
    width: min(470px, 76%);
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px dashed rgba(8, 117, 101, .28);
    border-radius: 46% 54% 48% 52% / 55% 44% 56% 45%;
    background: radial-gradient( circle, rgba(227, 247, 242, .92), rgba(248, 252, 251, .45) 70%, transparent 71% );
}

.tc-map-icon {
    margin-bottom: 10px;
    color: #83baaf;
    font-size: 38px;
}

.tc-oman-shape strong {
    color: var(--green);
    font-size: 18px;
    font-weight: 800;
}

.tc-oman-shape > span {
    margin-top: 4px;
    color: #899995;
    font-size: 10px;
}


/* =========================================================
   GOVERNORATES - RIGHT PANEL
========================================================= */

.tc-governorates-section {
    grid-column: 2;
    grid-row: 1 / span 2;
    padding: 22px;
    background: linear-gradient( 180deg, #ffffff 0%, #fbfdfd 100% );
    border-top: 0;
}


/* Title */

.tc-governorates-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 17px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e7efed;
}

    .tc-governorates-heading > div:first-child > span {
        display: block;
        margin-bottom: 3px;
        color: var(--gold);
        font-size: 9px;
        font-weight: 800;
    }

    .tc-governorates-heading h3 {
        margin: 0;
        color: var(--text);
        font-size: 20px;
        font-weight: 800;
    }

.tc-governorates-count {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #84938f;
}

    .tc-governorates-count strong {
        color: var(--green);
        font-size: 21px;
    }

    .tc-governorates-count span {
        font-size: 9px;
    }


/* =========================================================
   GOVERNORATE GRID
========================================================= */

.tc-governorate-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.tc-governorate-item {
    appearance: none;
    width: 100%;
    min-width: 0;
    min-height: 66px;
    padding: 9px 10px;
    display: grid;
    grid-template-columns: 37px minmax(0, 1fr) 13px;
    align-items: center;
    gap: 9px;
    border: 1px solid #e1ebe8;
    border-radius: 13px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    text-align: start;
    cursor: pointer;
    transition: .18s ease;
}

    .tc-governorate-item:hover {
        transform: translateY(-2px);
        border-color: #9dcec4;
        background: #fafffd;
        box-shadow: 0 7px 17px rgba(19, 91, 78, .08);
    }

.tc-region-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #edf7f4;
    color: var(--green);
    font-size: 13px;
}

.tc-region-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

    .tc-region-info strong {
        overflow: hidden;
        color: #203630;
        font-size: 11px;
        line-height: 1.35;
        font-weight: 800;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .tc-region-info small {
        overflow: hidden;
        color: #8b9996;
        font-size: 8px;
        line-height: 1.35;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.tc-region-arrow {
    color: #a2b1ad;
    font-size: 8px;
}

.tc-governorate-item:hover
.tc-region-arrow {
    color: var(--green);
}


/* =========================================================
   RESULTS / STEP 2
========================================================= */

.tc-centers-step {
    padding-top: 0;
}

.tc-results-top {
    margin-bottom: 18px;
}

.tc-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    padding: 8px 13px;
    border: 1px solid #dce8e5;
    border-radius: 10px;
    background: #fff;
    color: var(--green);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.tc-results-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

    .tc-results-heading h2 {
        margin: 0;
        color: var(--text);
        font-size: 28px;
        font-weight: 800;
    }

        .tc-results-heading h2 span {
            color: var(--green);
        }

    .tc-results-heading p {
        margin: 5px 0 0;
        color: var(--muted);
        font-size: 11px;
    }

.tc-results-count {
    min-width: 100px;
    padding: 11px 14px;
    border-radius: 13px;
    background: var(--green-soft);
    text-align: center;
}

    .tc-results-count strong {
        display: block;
        color: var(--green);
        font-size: 23px;
    }

    .tc-results-count span {
        color: #6c807b;
        font-size: 8px;
    }


/* =========================================================
   FILTER PANEL
========================================================= */

.tc-filter-panel {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(25, 65, 57, .05);
}

.tc-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.tc-filter-field label {
    display: block;
    margin-bottom: 5px;
    color: #60736f;
    font-size: 9px;
    font-weight: 700;
}

.tc-select-wrap {
    position: relative;
}

    .tc-select-wrap > i {
        position: absolute;
        top: 50%;
        inset-inline-start: 12px;
        transform: translateY(-50%);
        color: #8ba09b;
        font-size: 10px;
        pointer-events: none;
    }

    .tc-select-wrap select {
        width: 100%;
        height: 42px;
        padding-inline-start: 33px;
        padding-inline-end: 25px;
        border: 1px solid #dfe9e7;
        border-radius: 10px;
        outline: none;
        background: #fbfdfd;
        color: #29413c;
        font-family: inherit;
        font-size: 10px;
    }

.tc-search-row {
    display: flex;
    gap: 9px;
    margin-top: 11px;
}

.tc-search-box {
    position: relative;
    flex: 1;
}

    .tc-search-box > i {
        position: absolute;
        top: 50%;
        inset-inline-start: 14px;
        transform: translateY(-50%);
        color: #8a9d99;
        font-size: 11px;
    }

    .tc-search-box input {
        width: 100%;
        height: 43px;
        padding-inline-start: 38px;
        padding-inline-end: 38px;
        border: 1px solid #dfe9e7;
        border-radius: 11px;
        outline: none;
        background: #fbfdfd;
        font-family: inherit;
        font-size: 11px;
    }

    .tc-search-box button {
        position: absolute;
        top: 50%;
        inset-inline-end: 7px;
        width: 28px;
        height: 28px;
        transform: translateY(-50%);
        border: 0;
        border-radius: 7px;
        background: transparent;
        color: #91a29e;
        cursor: pointer;
    }

.tc-clear-filter-btn {
    height: 43px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #dce8e5;
    border-radius: 11px;
    background: #fff;
    color: var(--green);
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}


/* =========================================================
   TOOLBAR / CARDS
========================================================= */

.tc-results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 13px;
}

    .tc-results-toolbar p {
        margin: 0;
        color: var(--muted);
        font-size: 10px;
    }

.tc-view-actions {
    display: flex;
    padding: 3px;
    border: 1px solid #e0eae7;
    border-radius: 9px;
    background: #fff;
}

    .tc-view-actions button {
        width: 30px;
        height: 28px;
        border: 0;
        border-radius: 6px;
        background: transparent;
        color: #8b9b98;
        cursor: pointer;
    }

        .tc-view-actions button.active {
            background: var(--green-soft);
            color: var(--green);
        }

.tc-centers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}


/* =========================================================
   EMPTY
========================================================= */

.tc-empty-state {
    padding: 45px 20px;
    border: 1px dashed #cfdfdb;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.tc-empty-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 11px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    font-size: 19px;
}

.tc-empty-state h3 {
    margin: 0;
    font-size: 17px;
}

.tc-empty-state p {
    margin: 6px 0 14px;
    color: var(--muted);
    font-size: 10px;
}


/* =========================================================
   RTL / LTR
========================================================= */

html[dir="rtl"] .tc-public-page {
    direction: rtl;
}

html[dir="ltr"] .tc-public-page {
    direction: ltr;
}

html[dir="rtl"] .tc-hero-content {
    margin-left: auto;
    text-align: right;
}

html[dir="ltr"] .tc-hero-content {
    margin-right: auto;
    text-align: left;
}

html[dir="ltr"]
.tc-region-arrow i {
    transform: rotate(180deg);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .tc-map-card {
        grid-template-columns: minmax(0, 1.3fr) minmax(340px, .9fr);
    }

    .tc-governorate-grid {
        grid-template-columns: 1fr;
    }

    .tc-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


@media (max-width: 800px) {

    .tc-container {
        width: calc(100% - 28px);
    }

    .tc-hero {
        min-height: auto;
    }

    .tc-hero-content {
        padding: 27px 0;
    }

    .tc-hero h1 {
        font-size: 34px;
    }

    .tc-map-card {
        display: block;
        min-height: 0;
    }

    .tc-map-card-header {
        border-inline-end: 0;
    }

    .tc-map-stage {
        min-height: 330px;
        border-inline-end: 0;
    }

    .tc-map-placeholder {
        min-height: 330px;
    }

    .tc-governorates-section {
        border-top: 1px solid #e5eeec;
    }

    .tc-governorate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tc-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 560px) {

    .tc-container {
        width: calc(100% - 20px);
    }

    .tc-hero h1 {
        font-size: 29px;
    }

    .tc-map-hint {
        display: none;
    }

    .tc-map-stage,
    .tc-map-placeholder {
        min-height: 270px;
    }

    .tc-oman-shape {
        height: 170px;
    }

    .tc-governorates-section {
        padding: 15px;
    }

    .tc-governorate-grid {
        grid-template-columns: 1fr;
    }

    .tc-filter-grid {
        grid-template-columns: 1fr;
    }

    .tc-search-row {
        flex-direction: column;
    }

    .tc-results-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .tc-centers-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   FINAL COMPACT TUNING
========================================================= */

/* ---------- HERO ---------- */

.tc-hero {
    min-height: 138px;
}

.tc-hero-content {
    max-width: 820px;
    padding: 22px 0 24px;
}

.tc-eyebrow {
    margin-bottom: 7px;
    padding: 4px 10px;
    font-size: 9px;
}

.tc-hero h1 {
    max-width: 760px;
    font-size: clamp(29px, 2.8vw, 40px);
    line-height: 1.12;
    letter-spacing: -.7px;
}

.tc-hero p {
    max-width: 690px;
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.7;
}


/* decorative circle smaller */
.tc-hero::before {
    width: 210px;
    height: 210px;
    top: -155px;
}


/* ---------- MAIN SPACE ---------- */

.tc-main {
    padding-top: 24px;
    padding-bottom: 38px;
}


/* ---------- MAIN CARD ---------- */

.tc-map-card {
    min-height: 500px;
    border-radius: 20px;
    grid-template-columns: minmax(0, 1.65fr) minmax(390px, .9fr);
}


/* ---------- MAP HEADER ---------- */

.tc-map-card-header {
    min-height: 64px;
    padding: 12px 20px;
}

    .tc-map-card-header h3 {
        font-size: 17px;
    }

.tc-small-label {
    font-size: 8px;
}

.tc-map-hint {
    padding: 6px 10px;
    font-size: 9px;
}


/* ---------- MAP AREA ---------- */

.tc-map-stage {
    min-height: 435px;
}

.tc-map-placeholder {
    min-height: 435px;
}

.tc-oman-shape {
    width: min(430px, 68%);
    height: 215px;
}

.tc-map-icon {
    margin-bottom: 8px;
    font-size: 32px;
}

.tc-oman-shape strong {
    font-size: 16px;
}

.tc-oman-shape > span {
    font-size: 9px;
}


/* ---------- GOVERNORATE PANEL ---------- */

.tc-governorates-section {
    padding: 18px;
}

.tc-governorates-heading {
    margin-bottom: 13px;
    padding-bottom: 12px;
}

    .tc-governorates-heading h3 {
        font-size: 18px;
    }

    .tc-governorates-heading > div:first-child > span {
        font-size: 8px;
    }

.tc-governorates-count strong {
    font-size: 19px;
}


/* ---------- GOVERNORATE CARDS ---------- */

.tc-governorate-grid {
    gap: 8px;
}

.tc-governorate-item {
    min-height: 59px;
    padding: 8px 9px;
    grid-template-columns: 34px minmax(0, 1fr) 11px;
    gap: 8px;
    border-radius: 12px;
}

.tc-region-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 12px;
}

.tc-region-info strong {
    font-size: 10px;
}

.tc-region-info small {
    font-size: 7.5px;
}


/* ---------- REMOVE EXCESS EMPTY FEEL ---------- */

.tc-map-step {
    margin: 0;
    padding: 0;
}


/* ---------- RTL ---------- */

html[dir="rtl"] .tc-hero-content {
    margin-left: auto;
}


/* ---------- MOBILE ---------- */

@media (max-width: 800px) {

    .tc-hero {
        min-height: auto;
    }

    .tc-hero-content {
        padding: 20px 0;
    }

    .tc-hero h1 {
        font-size: 30px;
    }

    .tc-map-stage,
    .tc-map-placeholder {
        min-height: 320px;
    }
}

/* =========================================================
   REAL OMAN INTERACTIVE MAP
========================================================= */

.tc-map-stage {
    position: relative;
    overflow: hidden;
}

.tc-real-map {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 435px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 40px;
    background: radial-gradient( circle at center, rgba(224, 246, 241, .55) 0, rgba(247, 252, 251, .20) 43%, transparent 70% );
}

.tc-svg-container {
    width: 100%;
    height: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .tc-svg-container svg {
        display: block;
        width: auto;
        height: 370px;
        max-width: 90%;
        max-height: 390px;
        overflow: visible;
        filter: drop-shadow( 0 12px 18px rgba(25, 72, 63, .09) );
    }


        /* Governorate paths */

        .tc-svg-container svg path {
            fill: #dcefeb;
            stroke: #ffffff;
            stroke-width: 1.3;
            cursor: pointer;
            transform-box: fill-box;
            transform-origin: center;
            transition: fill .16s ease, opacity .16s ease, transform .16s ease, filter .16s ease;
        }


            /* Alternating subtle colors */

            .tc-svg-container svg path:nth-of-type(2n) {
                fill: #cbe7e1;
            }

            .tc-svg-container svg path:nth-of-type(3n) {
                fill: #e8f4f1;
            }


            /* Hover */

            .tc-svg-container svg path:hover,
            .tc-svg-container svg path.tc-map-hover {
                fill: #19a28c;
                stroke: #ffffff;
                transform: scale(1.018);
                filter: drop-shadow( 0 5px 7px rgba(8, 117, 101, .18) );
            }


            /* Selected */

            .tc-svg-container svg path.tc-map-selected {
                fill: #087565;
                stroke: #ffffff;
                transform: scale(1.025);
                filter: drop-shadow( 0 7px 10px rgba(8, 117, 101, .24) );
            }


    /* Dim other regions */

    .tc-svg-container.has-hover path:not(.tc-map-hover) {
        opacity: .62;
    }

    .tc-svg-container.has-selection path:not(.tc-map-selected) {
        opacity: .68;
    }


/* Loading */

.tc-map-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    color: #7d918c;
    font-size: 11px;
}

    .tc-map-loading i {
        color: #087565;
        font-size: 22px;
    }


/* Tooltip */

.tc-map-tooltip {
    position: absolute;
    z-index: 20;
    min-width: 145px;
    padding: 9px 12px;
    border: 1px solid rgba(8, 117, 101, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 8px 25px rgba(23, 65, 57, .13);
    pointer-events: none;
    transform: translate(-50%, -115%);
}

    .tc-map-tooltip strong {
        display: block;
        color: #183a33;
        font-size: 11px;
        font-weight: 800;
    }

    .tc-map-tooltip span {
        display: block;
        margin-top: 2px;
        color: #82938f;
        font-size: 8px;
    }


/* Connect list hover with map */

.tc-governorate-item.is-map-hover {
    border-color: #98cec3;
    background: #f4fbf9;
    box-shadow: 0 6px 16px rgba(8, 117, 101, .08);
}


/* Mobile */

@media (max-width: 800px) {

    .tc-real-map {
        min-height: 320px;
        padding: 20px;
    }

    .tc-svg-container {
        min-height: 290px;
    }

        .tc-svg-container svg {
            height: 285px;
            max-width: 100%;
        }
}

/* =========================================================
   OMAN MAP - VISUAL UPGRADE
========================================================= */

/* Map canvas */
.tc-real-map {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 435px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    overflow: hidden;
    background: radial-gradient( circle at 54% 50%, rgba(25, 162, 140, .10) 0, rgba(25, 162, 140, .045) 30%, transparent 58% ), linear-gradient( 180deg, #fbfefd 0%, #f5fbf9 100% );
}


/* SVG wrapper */
.tc-svg-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}


    /* Make Oman MUCH larger */
    .tc-svg-container svg {
        display: block;
        width: 92% !important;
        height: 405px !important;
        max-width: 760px !important;
        max-height: none !important;
        overflow: visible;
        filter: drop-shadow(0 14px 18px rgba(17, 82, 70, .12));
    }


        /* ---------------------------------------------------------
   DEFAULT GOVERNORATES
--------------------------------------------------------- */

        .tc-svg-container svg path {
            stroke: #ffffff !important;
            stroke-width: 1.7 !important;
            cursor: pointer;
            transform-box: fill-box;
            transform-origin: center;
            transition: fill .18s ease, opacity .18s ease, transform .18s ease, filter .18s ease;
        }


            /* Give every governorate a real visual difference */

            .tc-svg-container svg path:nth-of-type(11n + 1) {
                fill: #087565 !important;
            }

            .tc-svg-container svg path:nth-of-type(11n + 2) {
                fill: #16927e !important;
            }

            .tc-svg-container svg path:nth-of-type(11n + 3) {
                fill: #35aa96 !important;
            }

            .tc-svg-container svg path:nth-of-type(11n + 4) {
                fill: #61b9aa !important;
            }

            .tc-svg-container svg path:nth-of-type(11n + 5) {
                fill: #8bcbbf !important;
            }

            .tc-svg-container svg path:nth-of-type(11n + 6) {
                fill: #2d9385 !important;
            }

            .tc-svg-container svg path:nth-of-type(11n + 7) {
                fill: #6eb4a8 !important;
            }

            .tc-svg-container svg path:nth-of-type(11n + 8) {
                fill: #b1d9d1 !important;
            }

            .tc-svg-container svg path:nth-of-type(11n + 9) {
                fill: #4aa697 !important;
            }

            .tc-svg-container svg path:nth-of-type(11n + 10) {
                fill: #94c7bd !important;
            }

            .tc-svg-container svg path:nth-of-type(11n + 11) {
                fill: #c2e1db !important;
            }


            /* ---------------------------------------------------------
   HOVER
--------------------------------------------------------- */

            .tc-svg-container svg path:hover,
            .tc-svg-container svg path.tc-map-hover {
                fill: #e0a928 !important;
                stroke: #ffffff !important;
                stroke-width: 2 !important;
                transform: scale(1.035);
                filter: drop-shadow(0 7px 9px rgba(91, 75, 20, .22));
            }


            /* ---------------------------------------------------------
   SELECTED
--------------------------------------------------------- */

            .tc-svg-container svg path.tc-map-selected {
                fill: #d99d13 !important;
                stroke: #ffffff !important;
                stroke-width: 2.2 !important;
                transform: scale(1.04);
                filter: drop-shadow(0 8px 12px rgba(118, 87, 12, .27));
            }


    /* Don't fade everything too much */
    .tc-svg-container.has-hover path:not(.tc-map-hover) {
        opacity: .78;
    }

    .tc-svg-container.has-selection path:not(.tc-map-selected) {
        opacity: .76;
    }


/* ---------------------------------------------------------
   MAP DECORATION
--------------------------------------------------------- */

.tc-real-map::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(8, 117, 101, .07);
    border-radius: 50%;
    pointer-events: none;
}

.tc-real-map::after {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(8, 117, 101, .08);
    border-radius: 50%;
    pointer-events: none;
}


/* SVG stays above decoration */
.tc-svg-container {
    position: relative;
    z-index: 2;
}


/* ---------------------------------------------------------
   TOOLTIP UPGRADE
--------------------------------------------------------- */

.tc-map-tooltip {
    min-width: 155px;
    padding: 10px 13px;
    border: 1px solid rgba(8, 117, 101, .15);
    border-radius: 11px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 10px 30px rgba(19, 69, 59, .16);
    backdrop-filter: blur(8px);
}

    .tc-map-tooltip strong {
        color: #123b33;
        font-size: 12px;
        font-weight: 800;
    }

    .tc-map-tooltip span {
        margin-top: 3px;
        color: #7a8e89;
        font-size: 8px;
    }


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 800px) {

    .tc-real-map {
        min-height: 320px;
        padding: 14px;
    }

    .tc-svg-container {
        min-height: 300px;
    }

        .tc-svg-container svg {
            width: 100% !important;
            height: 300px !important;
            max-width: 540px !important;
        }

    .tc-real-map::before {
        width: 300px;
        height: 300px;
    }

    .tc-real-map::after {
        width: 220px;
        height: 220px;
    }
}

/* =========================================================
   STEP TRANSITION
========================================================= */

.tc-map-step {
    transition: opacity .25s ease, transform .25s ease;
}

    .tc-map-step.tc-leaving {
        opacity: 0;
        transform: translateY(-12px);
    }

.tc-centers-step {
    animation: tcResultsIn .32s ease both;
}

@keyframes tcResultsIn {

    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   RESULTS HEADER
========================================================= */

.tc-results-kicker {
    display: block;
    margin-bottom: 4px;
    color: #d19d20;
    font-size: 9px;
    font-weight: 800;
}

.tc-results-heading h2 {
    font-size: 26px;
}

    .tc-results-heading h2 span {
        color: #087565;
    }


/* =========================================================
   TRAINING CENTER CARD
========================================================= */

.tc-center-card {
    overflow: hidden;
    border: 1px solid #dfe9e7;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(24, 65, 57, .055);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .tc-center-card:hover {
        transform: translateY(-4px);
        border-color: #a8d2ca;
        box-shadow: 0 14px 34px rgba(24, 75, 64, .11);
    }


/* image */

.tc-center-cover {
    position: relative;
    height: 155px;
    overflow: hidden;
    background: linear-gradient( 135deg, #0d7465, #27a18d );
}

    .tc-center-cover img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .35s ease;
    }

.tc-center-card:hover
.tc-center-cover img {
    transform: scale(1.04);
}


/* fallback */

.tc-center-cover-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.85);
    font-size: 40px;
    background: radial-gradient( circle at 25% 25%, rgba(255,255,255,.13), transparent 35% ), linear-gradient( 135deg, #096f60, #26a08b );
}


/* status */

.tc-center-status {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: #087565;
    font-size: 8px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

    .tc-center-status::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #1eae79;
    }


/* body */

.tc-center-body {
    padding: 16px;
}

.tc-center-location {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
    color: #748783;
    font-size: 9px;
}

    .tc-center-location i {
        color: #087565;
    }

.tc-center-title {
    margin: 0 0 12px;
    color: #18352f;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 800;
}


/* sports */

.tc-center-sports {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 13px;
}

.tc-sport-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 7px;
    background: #edf7f4;
    color: #087565;
    font-size: 8px;
    font-weight: 700;
}


/* information */

.tc-center-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 11px 0;
    border-top: 1px solid #edf2f1;
    border-bottom: 1px solid #edf2f1;
}

.tc-center-meta-item {
    min-width: 0;
}

    .tc-center-meta-item span {
        display: block;
        margin-bottom: 2px;
        color: #91a09d;
        font-size: 7px;
    }

    .tc-center-meta-item strong {
        display: block;
        overflow: hidden;
        color: #344b46;
        font-size: 9px;
        font-weight: 700;
        white-space: nowrap;
        text-overflow: ellipsis;
    }


/* availability */

.tc-center-availability {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}

.tc-available-classes {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #60746f;
    font-size: 8px;
}

    .tc-available-classes i {
        color: #d5a52d;
    }

    .tc-available-classes strong {
        color: #183a33;
        font-size: 10px;
    }


/* profile button */

.tc-view-center-btn {
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 0;
    border-radius: 9px;
    background: #087565;
    color: #fff;
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease;
}

    .tc-view-center-btn:hover {
        background: #065f53;
        color: #fff;
        transform: translateY(-1px);
    }


/* =========================================================
   RESPONSIVE CENTER CARDS
========================================================= */

@media (max-width: 1050px) {

    .tc-centers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 650px) {

    .tc-centers-grid {
        grid-template-columns: 1fr;
    }

    .tc-center-cover {
        height: 175px;
    }
}

.tc-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 1050px) {

    .tc-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {

    .tc-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {

    .tc-filter-grid {
        grid-template-columns: 1fr;
    }
}

/* Governorates without active registration centers */

.tc-governorate-item.is-disabled,
.tc-governorate-item:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.8);
    box-shadow: none !important;
    transform: none !important;
}

    .tc-governorate-item.is-disabled:hover,
    .tc-governorate-item:disabled:hover {
        transform: none !important;
        box-shadow: none !important;
    }


/* Disabled governorates on Oman map */

#omanSvgContainer .tc-map-disabled {
    opacity: 0.22 !important;
    cursor: not-allowed !important;
    filter: grayscale(1);
}

    #omanSvgContainer.has-hover .tc-map-disabled,
    #omanSvgContainer .tc-map-disabled:hover {
        opacity: 0.22 !important;
        transform: none !important;
    }

.tc-center-cover {
    position: relative;
    overflow: hidden;
}

.tc-center-cover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.tc-center-cover-placeholder {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

/* Sport icon display - prevent oversized and cropped images */

.tc-center-cover .tc-center-cover-placeholder {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.tc-center-cover .tc-center-sport-icon {
    display: block;
    width: 105px !important;
    height: 105px !important;
    max-width: 48% !important;
    max-height: 75% !important;
    object-fit: contain !important;
    object-position: center;
    flex-shrink: 0;
    transform: none;
    filter: none;
}

.tc-center-card:hover .tc-center-sport-icon {
    transform: scale(1.06);
}

@media (max-width: 600px) {
    .tc-center-cover .tc-center-sport-icon {
        width: 90px !important;
        height: 90px !important;
    }
}