```css
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;

    background: #f7f4ef;
    color: #333;
}


/* =========================
   MAIN CONTAINER
========================= */

.container {
    width: min(850px, 92%);
    margin: 55px auto 70px;
}


/* =========================
   HEADER
========================= */

.page-header {
    text-align: center;
    margin-bottom: 35px;
}

.page-header h1 {
    margin: 0;

    font-size: 34px;
    font-weight: 700;
}

.page-header p {
    margin: 10px 0 0;

    color: #777;
    font-size: 15px;
}


/* =========================
   COMMON BOX
========================= */

.total-box,
.countries-box {
    background: #ffffff;

    border-radius: 18px;

    padding: 30px;

    margin-bottom: 25px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.06);
}


/* =========================
   TOTAL BOX
========================= */

.total-box {
    text-align: center;

    padding: 35px 25px;
}

.total-box h2 {
    margin: 0 0 15px;

    font-size: 18px;
    font-weight: 600;

    color: #555;
}

#total {
    font-size: 56px;
    font-weight: 700;

    line-height: 1.1;

    margin-bottom: 10px;
}

.total-label {
    margin: 0;

    font-size: 14px;
    color: #888;
}


/* =========================
   COUNTRIES HEADER
========================= */

.section-header {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 20px;
}

.section-header h2 {
    margin: 0;

    font-size: 21px;
}

.section-description {
    margin: 6px 0 0;

    font-size: 13px;

    color: #999;
}

.country-count {
    margin: 5px 0 0;

    font-size: 13px;

    color: #888;
}

/* =========================
   SORT SELECT
========================= */

select {
    padding: 9px 13px;

    border-radius: 9px;

    border: 1px solid #d8d8d8;

    background: #ffffff;

    color: #444;

    font-size: 13px;

    cursor: pointer;
}

select:focus {
    outline: none;

    border-color: #aaa;
}


/* =========================
   TABLE
========================= */

.table-wrapper {
    width: 100%;

    overflow-x: auto;
}

table {
    width: 100%;

    border-collapse: collapse;

    font-size: 14px;
}

th {
    padding: 13px 14px;

    background: #faf9f7;

    color: #777;

    font-size: 12px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.4px;
}

td {
    padding: 14px;

    border-bottom: 1px solid #eeeeee;
}

th:first-child,
td:first-child {
    text-align: left;
}

th:last-child,
td:last-child {
    text-align: right;
}

tbody tr:last-child td {
    border-bottom: none;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .container {
        width: 92%;

        margin: 35px auto 50px;
    }

    .page-header {
        margin-bottom: 25px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .total-box,
    .countries-box {
        padding: 22px;
    }

    #total {
        font-size: 46px;
    }

    .section-header {
        align-items: flex-start;
    }

    .section-header h2 {
        font-size: 19px;
    }

    select {
        flex-shrink: 0;
    }

    th,
    td {
        padding: 12px 10px;
    }
}
/* =========================
   TABLE CONTROLS
========================= */

.table-controls {
    display: flex;

    justify-content: flex-end;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;
}


#searchInput {
    width: 230px;

    padding: 9px 13px;

    border-radius: 9px;

    border: 1px solid #d8d8d8;

    background: #ffffff;

    color: #444;

    font-size: 13px;
}


#searchInput::placeholder {
    color: #aaa;
}


#searchInput:focus {
    outline: none;

    border-color: #aaa;
}
/* =========================
   PAGINATION
========================= */

.pagination {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 6px;

    margin-top: 22px;
}


.pagination button {
    min-width: 34px;

    height: 34px;

    padding: 0 9px;

    border-radius: 8px;

    border: 1px solid #dddddd;

    background: #ffffff;

    color: #555;

    font-size: 13px;

    cursor: pointer;
}


.pagination button:hover {
    background: #f5f5f5;
}


.pagination button.active {
    font-weight: 600;
}


.pagination button:disabled {
    opacity: 0.4;

    cursor: default;
}
```
