/* ----- Profil Kekayaan Miliarder ----- */
.a-profile {
    --cf-text: #252525;
    --cf-muted: #737373;
    --cf-blue: #0051c3;
    --cf-bg: #f6f8fa;
    width: 100%;
    color: var(--cf-text);
    font: 14px/1.5 Arial, Helvetica, sans-serif;
}
.a-profile *,
.a-profile *::before,
.a-profile *::after {
    box-sizing: border-box;
    min-width: 0;
}
.a-profile__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
    gap: 24px;
    align-items: stretch;
}
.a-profile__identity {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}
.a-profile__photo {
    display: block;
    width: 100px;
    height: 112px;
    flex: 0 0 100px;
    object-fit: cover;
    border-radius: 5px;
    background: #f1f3f5;
    border: 1px solid #f5f5f5;
    padding: 1px;
}
.a-profile__name {
    margin: 0 0 9px;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -.7px;
    overflow-wrap: anywhere;
}
.a-profile__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    color: #606060;
    font-size: 12px;
}
.a-profile__rank {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
    padding: 3px 0;
    color: #0051c3;
    border-radius: 4px;
    font-size: 11px;
    line-height: 1.3;
}
.a-profile__rank-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    padding: 0 5px;
    color: #ffffff;
    background: #060606;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.3px;
}
.a-profile__rank-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.a-profile__rank-label {
    font-size: 11px;
    font-weight: 700;
}
.a-profile__rank-description {
    color: #5276a8;
    font-size: 10px;
}

/* Kekayaan utama */
.a-profile__wealth {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    padding: 10px 15px;
    border-radius: 5px;
    background: var(--cf-bg);
    position: relative;
    overflow: hidden;
}
.a-profile__wealth::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 55px;
    height: 3px;
    background: var(--cf-blue);
}
/* Label estimasi kekayaan */
.a-profile__wealth-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 13px;
    padding: 5px 0;
    color: #000;
    padding-bottom: 0;
    background: none;
    border: 1px solid none;
    border-radius: 4px;
    font-size: 11px;
    letter-spacing: .1px;
}
.a-profile__wealth-label::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #006aff;
}

/* Nilai kekayaan */
.a-profile__wealth-value {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -1.2px;
    overflow-wrap: anywhere;
}
.a-profile__wealth-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.a-profile__currency {
    color: var(--cf-blue);
    font-size: 11px;
    font-weight: 700;
}
.a-profile__separator {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #a3a3a3;
}
.a-profile__estimate {
    color: var(--cf-muted);
    font-size: 11px;
}

/* Responsif */
@media (max-width: 600px) {
    .a-profile__panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }
    .a-profile__identity {
        gap: 5px;
    }
    .a-profile__photo {
        width: 78px;
        height: 88px;
        flex-basis: 78px;
    }
    .a-profile__name {
        font-size: 20px;
    }
    .a-profile__wealth {
        align-items: flex-start;
        text-align: left;
        padding: 8px;
    }
    .a-profile__wealth::before {
        right: auto;
        left: 0;
        width: 48px;
    }
    .a-profile__wealth-value {
        font-size: 25px;
    }
    .a-profile__wealth-bottom {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* ---- Naigasi Profile ---- */
.a-profile-nav {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 10px 0;
}
.a-profile-nav::-webkit-scrollbar {
    display: none;
}
.a-profile-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 5px 0;
    color: #4e5157;
    font-size: 13px;
    font-weight: 400;
    line-height: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}
.a-profile-nav a:hover {
    color: #000000;
}
.a-profile-nav a.active {
    color: #000000;
    font-weight: 500;
}
.a-profile-nav a.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #000000;
}
.a-profile-nav__icon {
    justify-content: center;
    margin-left: auto;
    padding-right: 8px !important;
    padding-left: 8px;
    color: #6b7280 !important;
}
.a-profile-nav__icon:hover {
    color: #000000 !important;
}
.a-profile-nav__icon svg {
    display: block;
    width: 16px;
    height: 16px;
}
.a-profile-section {
    scroll-margin-top: 24px;
}
@media (max-width: 600px) {
    .a-profile-nav {
        gap: 12px;
    }
    .a-profile-nav a {
        padding: 5px 0;
        font-size: 12px;
    }
    .a-profile-nav__icon {
        padding-left: 4px;
    }
}










/* ----- Biodata Miliarder ----- */
.biodata-miliarder {
    width: 100%;
    color: #202124;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
}
.biodata-miliarder__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}
.biodata-miliarder__name {
    margin: 0 0 6px;
    color: #202124;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
}
.biodata-miliarder__subtitle {
    color: #5f6368;
    font-size: 12px;
    line-height: 1.5;
}
.biodata-miliarder__status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 5px 8px;
    border-radius: 3px;
    background: #eaf7ee;
    color: #137333;
    font-size: 11px;
    font-weight: 500;
}

/* Ringkasan 3 kolom */
.biodata-miliarder__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #f5f5f5;
    border-top: 1px solid #dadce0;
    border-bottom: 1px solid #dadce0;
}
.biodata-miliarder__summary-item {
    min-width: 0;
    padding: 5px 10px;
    border-right: 1px solid #dadce0;
}
.biodata-miliarder__summary-item:last-child {
    border-right: none;
}
.biodata-miliarder__label {
    color: #5f6368;
    font-size: 12px;
    line-height: 1.4;
}
.biodata-miliarder__summary-value {
    color: #202124;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.biodata-miliarder__note {
    color: #5f6368;
    font-size: 11px;
    line-height: 1.5;
}

/* Judul bagian */
.biodata-miliarder__section {
    margin-top: 10px;
}
.biodata-miliarder__section-title {
    margin: 0 0 3px;
    color: #202124;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}
.biodata-miliarder__section-desc {
    margin-bottom: 10px;
    color: #80868b;
    font-size: 12px;
    line-height: 1.5;
}

/* Detail biodata 2 kolom */
.biodata-miliarder__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 25px;
}
.biodata-miliarder__item {
    min-width: 0;
    padding: 8px 0;
    border-bottom: 1px solid #e8eaed;
}
.biodata-miliarder__value {
    color: #202124;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* Mobile */
@media (max-width: 600px) {
    .biodata-miliarder__name {
        font-size: 18px;
    }
    .biodata-miliarder__summary-item {
        padding: 5px 8px;
    }
    .biodata-miliarder__summary-value {
        font-size: 14px;
    }
    .biodata-miliarder__label {
        font-size: 11px;
    }
    .biodata-miliarder__grid {
        column-gap: 18px;
    }
    .biodata-miliarder__item {
        padding: 8px 0;
    }
    .biodata-miliarder__value {
        font-size: 12px;
    }
}






/* ----- Daftar Perusahaan Miliarder ----- */
.perusahaan-miliarder {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    font-size: 14px;
    margin-top: 25px;
}
.perusahaan-miliarder__title {
    margin: 0 0 5px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.4px;
    color: #111827;
}
.perusahaan-miliarder__desc {
    margin: 0 0 14px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* Ringkasan 2 kolom */
.perusahaan-miliarder__summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #f7f8fa;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}
.perusahaan-miliarder__stat {
    padding: 5px 8px;
    min-width: 0;
}
.perusahaan-miliarder__stat + 
.perusahaan-miliarder__stat {
    border-left: 1px solid #e5e7eb;
}
.perusahaan-miliarder__stat-label {
    margin-bottom: 7px;
    color: #6b7280;
    font-size: 12px;
}
.perusahaan-miliarder__stat-value {
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.6px;
}

/* Daftar perusahaan */
.perusahaan-miliarder__list {
    display: flex;
    flex-direction: column;
}
.perusahaan-miliarder__item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 5px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f1f3;
}
.perusahaan-miliarder__item:last-child {
    border-bottom: none;
}
.perusahaan-miliarder__logo {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #f3f4f6;
    color: #374151;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.perusahaan-miliarder__logo img {
    width: 42px;
    height: 42px;
    border-radius: 5px;
    padding: 1px;
    border: 1px solid #ddd;
}
.perusahaan-miliarder__info {
    min-width: 0;
}
.perusahaan-miliarder__name {
    margin: 0;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}
.perusahaan-miliarder__position {
    margin-top: 3px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 480px) {
    .perusahaan-miliarder__stat {
        padding: 5px 8px;
    }
    .perusahaan-miliarder__stat-value {
        font-size: 16px;
    }
    .perusahaan-miliarder__item {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 5px;
        padding: 5px 0;
    }
    .perusahaan-miliarder__logo {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}










/* ----- List Saham ----- */
.stock-list {
    width: 100%;
    color: #202124;
    font-size: 14px;
}
.stock-list__header {
    margin-bottom: 0;
}
.stock-list__title {
    margin: 0 0 2px;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}
.stock-list__description {
    margin: 0;
    color: #70757a;
    font-size: 13px;
    line-height: 1.6;
}
.stock-list__table-wrap {
    width: 100%;
    overflow-x: auto;
    border-top: 1px solid #e8eaed;
}
.stock-list__table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}
.stock-list__table th {
    padding: 5px 6px;
    color: #70757a;
    background: #f5f5f5;
    border-bottom: 1px solid #e8eaed;
    font-size: 12px;
    font-weight: 500;
    text-align: left;
}
.stock-list__table td {
    padding: 5px 6px;
    border-bottom: 1px solid #f0f1f3;
    vertical-align: middle;
}
.stock-list__table tbody tr:hover {
    background: #f8f9fa;
}
.stock-list__table .text-right {
    text-align: right;
}
.stock-list__company {
    display: flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}
.stock-list__logo {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    overflow: hidden;
    border-radius: 5px;
    background: #f1f3f4;
    color: #5f6368;
    font-size: 14px;
    font-weight: 600;
    padding: 1px;
    border: 1px solid #ddd;
}
.stock-list__logo img {
    width: 100%;
    height: 100%;
    width: 38px;
    height: 38px;
    object-fit: contain;
}
.stock-list__company-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.stock-list__name {
    max-width: 280px;
    overflow: hidden;
    color: #202124;
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
}
.stock-list__company:hover .stock-list__name {
    color: #464646;
}
.stock-list__ticker {
    color: #70757a;
    font-size: 12px;
}
.stock-list__exchange {
    color: #5f6368;
    font-size: 12px;
}
.stock-list__number {
    font-size: 13px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
.stock-list__number.is-positive {
    color: #188038;
}
.stock-list__number.is-negative {
    color: #d93025;
}
.stock-list__number.is-neutral {
    color: #5f6368;
}
.stock-list__empty {
    padding: 30px !important;
    color: #70757a;
    text-align: center;
}
.stock-list__count {
    margin-top: 14px;
    color: #70757a;
    font-size: 12px;
}
@media (max-width: 768px) {
    .stock-list__title {
        font-size: 21px;
    }
    .stock-list__table th,
    .stock-list__table td {
        padding: 5px 6px;
    }
}







.richest-sidebar {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: #202124;
}
.richest-sidebar h3 {
    margin: 0;
    padding: 8px 5px;
    background: #f5f7fa;
    color: #202124;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 4px 4px 0 0;
}
.richest-list {
    display: flex;
    flex-direction: column;
}
.richest-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}
.richest-rank {
    width: 18px;
    flex-shrink: 0;
    color: #8a8f98;
    font-size: 18px;
    text-align: center;
    background: #fff;
}
.richest-item img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 5px;
    background: #f1f3f4;
}
.richest-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}
.richest-info strong {
    overflow: hidden;
    color: #202124;
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.richest-info small {
    color: #70757a;
    font-size: 12px;
}
.richest-arrow {
    flex-shrink: 0;
    color: #9aa0a6;
    font-size: 17px;
}
.richest-item:hover .richest-info strong,
.richest-item:hover .richest-arrow {
    color: #5f6060;
}
.richest-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    color: #272727;
    font-size: 13px;
    text-decoration: none;
}
.richest-more:hover {
    text-decoration: none;
}









/* =========================================================
   COUNTRY DIRECTORY — CLOUDFLARE DASHBOARD STYLE
   ========================================================= */

.country-directory,
.country-directory * {
    box-sizing: border-box;
}

.country-directory {
    --cf-text: #1d1d1f;
    --cf-muted: #6b7280;
    --cf-border: #e5e7eb;
    --cf-background: #ffffff;
    --cf-surface: #f9fafb;
    --cf-orange: #f48120;
    --cf-orange-light: #fff5eb;
    --cf-link: #0051c3;

    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    color: var(--cf-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

/* Header */
.country-directory .cf-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 24px;
    color: var(--cf-muted);
    font-size: 12px;
}
.country-directory .cf-breadcrumb a {
    color: var(--cf-muted);
    text-decoration: none;
}
.country-directory .cf-breadcrumb a:hover {
    color: var(--cf-link);
}
.country-directory .cf-breadcrumb-separator {
    color: #c4c7cc;
}
.country-directory .cf-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 5px;
}
.country-directory .cf-page-title {
    color: #111827;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.7px;
}
.country-directory .cf-page-description {
    margin: 0;
    color: var(--cf-muted);
    font-size: 14px;
    line-height: 1.7;
}
.country-directory .cf-header-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border: 1px solid var(--cf-border);
    border-radius: 5px;
    background: #e3e3e3;
    color: #4b5563;
    font-size: 12px;
    white-space: nowrap;
}
.country-directory .cf-status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #16a34a;
}

/* Statistics */
.country-directory .cf-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 10px;
}
.country-directory .cf-stat-card {
    min-width: 0;
    padding: 5px 8px;
    border-top: 1px solid var(--cf-border);
    border-bottom: 1px solid var(--cf-border);
    background: #f3f3f3;
}
.country-directory .cf-stat-label {
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
}
.country-directory .cf-stat-value {
    margin: 0;
    color: #111827;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.7px;
    font-variant-numeric: tabular-nums;
}
.country-directory .cf-stat-description {
    margin-top: 5px;
    color: #858b96;
    font-size: 12px;
}

/* Section heading */
.country-directory .cf-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 10px;
}
.country-directory .cf-section-title {
    margin: 0;
    color: #111827;
    font-size: 17px;
    font-weight: 600;
}
.country-directory .cf-section-description {
    color: var(--cf-muted);
    font-size: 14px;
}


/* Continent navigation */
.country-directory .cf-continent-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    padding: 0;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    border: 1px solid var(--cf-border);
    border-radius: 5px;
    background: #f9f9f9;
    scrollbar-width: none;
}
.country-directory .cf-continent-nav:hover {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #c1c7cd transparent;
}
.country-directory .cf-continent-nav::-webkit-scrollbar {
    height: 0;
}
.country-directory .cf-continent-nav:hover::-webkit-scrollbar {
    height: 6px;
}
.country-directory .cf-continent-nav:hover::-webkit-scrollbar-thumb {
    background: #c1c7cd;
    border-radius: 6px;
}
.country-directory .cf-continent-nav:hover::-webkit-scrollbar-track {
    background: transparent;
}
.country-directory .cf-continent-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 auto;
    min-height: 30px;
    padding: 5px 8px;
    color: #494a4b;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}
.country-directory .cf-continent-tab:hover {
    background: #f3f4f6;
    color: #171e2e;
}
.country-directory .cf-continent-tab.cf-tab-all {
    border-color: #ffdcb3;
    background: var(--cf-orange-light);
    color: #361c0a;
}
.country-directory .cf-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 20px;
    padding: 0 5px;
    border-radius: 4px;
    background: #e9e9e9;
    color: #3d424c;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.country-directory .cf-tab-all .cf-tab-count {
    background: #ffead7;
    color: #9a4810;
}
/* Perangkat layar sentuh tetap bisa menggeser menu */
@media (hover: none) {
    .country-directory .cf-continent-nav {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .country-directory .cf-continent-nav::-webkit-scrollbar {
        height: 0;
    }
}

/* Country sections */
.country-directory .cf-country-section {
    margin-bottom: 24px;
    overflow: hidden;
    border: 0px solid var(--cf-border);
    background: #ffffff;
    scroll-margin-top: 20px;
}
.country-directory .cf-country-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 5px;
    border-bottom: 1px solid var(--cf-border);
    background: #ffffff;
}
.country-directory .cf-country-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}
.country-directory .cf-continent-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    background: #f9fafb;
    color: #4b5563;
    font-size: 17px;
}
.country-directory .cf-continent-title {
    margin: 0;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
}
.country-directory .cf-continent-subtitle {
    margin-top: 3px;
    color: var(--cf-muted);
    font-size: 12px;
}
.country-directory .cf-country-total {
    flex: 0 0 auto;
    padding: 4px 8px;
    border: 1px solid var(--cf-border);
    border-radius: 4px;
    background: #fff;
    color: #4b5563;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* Table */
.country-directory .cf-table-wrap {
    width: 100%;
    overflow-x: auto;
}
.country-directory .cf-country-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
}
.country-directory .cf-country-table thead {
    background: #f9fafb;
}
.country-directory .cf-country-table th {
    padding: 8px 8px;
    border-bottom: 1px solid var(--cf-border);
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .35px;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}
.country-directory .cf-country-table td {
    padding: 5px 15px 5px 5px;
    border-bottom: 1px solid #f0f1f3;
    color: #374151;
    font-size: 13px;
    vertical-align: middle;
}
.country-directory .cf-country-table tbody tr:last-child td {
    border-bottom: 0;
}
.country-directory .cf-country-table tbody tr:hover {
    background: #fafbfc;
}
.country-directory .cf-country-table th:last-child,
.country-directory .cf-country-table td:last-child {
    width: 1%;
    white-space: nowrap;
    text-align: left;
}
.country-directory .cf-country-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.country-directory .cf-country-flag {
    display: block;
    width: 30px;
    height: 22px;
    flex: 0 0 30px;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    background: #f9fafb;
    object-fit: cover;
}
.country-directory .cf-country-info {
    min-width: 0;
}
.country-directory .cf-country-name {
    display: inline-block;
    color: #212121;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.country-directory .cf-country-name:hover {
    color: #6e6e6e;
    text-decoration: none;
}
.country-directory .cf-country-subregion {
    margin-top: 3px;
    color: #858b96;
    font-size: 11px;
    line-height: 1.4;
}
.country-directory .cf-population {
    color: #1f2937;
    font-size: 13px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
.country-directory .cf-population-year {
    margin-top: 3px;
    color: #858b96;
    font-size: 11px;
    font-weight: 400;
}
.country-directory .cf-empty {
    padding: 5px 10px;
    color: var(--cf-muted);
    font-size: 13px;
    text-align: center;
}

/* Footer */
.country-directory .cf-page-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--cf-border);
    color: #858b96;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .country-directory {
        padding: 0 0 0;
    }
    .country-directory .cf-page-title {
        font-size: 22px;
    }
    .country-directory .cf-stats {
        gap: 0;
    }
    .country-directory .cf-stat-card {
        padding: 5px;
    }
    .country-directory .cf-stat-value {
        font-size: 22px;
    }
}
@media (max-width: 480px) {
    .country-directory {
        padding: 0;
    }
    .country-directory .cf-page-title {
        font-size: 22px;
    }
    .country-directory .cf-page-description {
        font-size: 13px;
    }

    .country-directory .cf-stat-label {
        font-size: 11px;
    }
    .country-directory .cf-stat-value {
        font-size: 21px;
    }
    .country-directory .cf-stat-description {
        font-size: 10px;
    }
    .country-directory .cf-continent-nav {
        margin-right: -2px;
    }
    .country-directory .cf-country-cell {
        gap: 5px;
    }
    .country-directory .cf-country-flag {
        width: 25px;
        height: 18px;
        flex-basis: 25px;
    }
    .country-directory .cf-country-name {
        font-size: 12px;
    }
    .country-directory .cf-country-subregion,
    .country-directory .cf-population-year {
        font-size: 10px;
    }
    .country-directory .cf-population {
        font-size: 12px;
    }
    .country-directory .cf-continent-marker {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }
    .country-directory .cf-page-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}