#csp-country-selector-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Ensure it's on top of everything */
}

#csp-country-selector-popup {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 500px;
    width: 90%;
}

#csp-country-selector-popup h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.csp-country-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.csp-country-button {
    background-color: #0073aa; /* WordPress blue */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.csp-country-button:hover {
    background-color: #005177;
}

/* --- CSS for Change Country Button --- */
.csp-change-country-button {
    /* Hapus 'position: fixed', 'bottom', 'right', 'z-index' dari sini */
    background-color: transparent; /* UBAH: Jadikan background transparan */
    color: #fff; /* UBAH: Warna teks menjadi hitam (atau warna yang cocok dengan tema Anda) */
    border: 1px solid #fff; /* TAMBAH: Border hitam 1px */
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: none;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease, border-color 0.3s ease; /* TAMBAH: Transisi untuk warna teks dan border */
    display: inline-block;
    vertical-align: middle;
}

.csp-change-country-button:hover {
    background-color: #b32d2e; /* Tetap merah saat hover, atau sesuaikan */
    color: #fff; /* Pastikan teks putih saat hover */
    border-color: #b32d2e; /* UBAH: Border juga ikut warna hover agar tidak aneh */
    transform: none;
}

/* Optional: To place it in the header, you might need to adjust 'position' and 'top/right/left' */
/* Example for header placement (requires theme modification or more advanced hooks): */
/*
.csp-change-country-button.in-header {
    position: static; // Or relative
    display: inline-block;
    // Specific styles for your header layout
}
*/