* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f7f7f7;
    color: #222;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

div {
    width: 100%;
    max-width: 600px;
}

.searchBox {
    width: 100%;
    padding: 10px 5px;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #ccc;
    background: transparent;
    outline: none;
    transition: 0.3s;
    margin-bottom: 20px;
}

.searchBox:focus {
    border-bottom: 2px solid #333;
}

.button {
    padding: 8px 14px;
    margin-right: 8px;
    border: none;
    background-color: #e0e0e0;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
    font-size: 14px;
}

.button:hover {
    background-color: #d0d0d0;
}

.button:active {
    transform: scale(0.96);
}

.totalPop {
    display: block;
    margin: 20px 0;
    font-weight: bold;
    font-size: 18px;
}

.countryList {
    list-style: none;
}

.countryList li {
    background: #fff;
    padding: 12px 14px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    transition: 0.2s;
}

.countryList li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}