.country-picker-btn {
    width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0.9rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.26);
    color: white;
    font: inherit;
    cursor: pointer;
}

.country-picker-left,
.country-item-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.country-picker-btn .fi,
.country-item .fi {
    width: 1.8rem;
    border-radius: 0.2rem;
}

.country-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(6px);
}

.country-modal {
    width: min(42rem, calc(100vw - 2rem));
    max-height: min(42rem, calc(100vh - 2rem));
    display: flex;
    flex-direction: column;
    padding: 1.4rem;
    border-radius: 1.2rem;
    background: #1b1b1f;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 40px 120px rgba(0,0,0,0.5);
}

.country-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.country-modal-header h2 {
    margin: 0;
}

.country-modal-close {
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
}

.country-search {
    height: 46px;
    margin: 1rem 0;
    padding: 0 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.26);
    color: white;
    font: inherit;
    outline: none;
}

.country-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    overflow-y: auto;
}

.country-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem;
    border: 0;
    border-radius: 0.8rem;
    background: transparent;
    color: white;
    font: inherit;
    cursor: pointer;
}

.country-item:hover {
    background: rgba(255,255,255,0.06);
}

.country-selected {
    color: #ffb366;
    font-weight: 900;
}
