.country-picker { position: relative; }
.country-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #43557e; border-radius: 8px; background: #111b38; color: var(--white); text-align: left; cursor: pointer; }
.country-toggle span:first-of-type { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-toggle img, :is(#country-options, #location-country-options) img { flex: 0 0 24px; width: 24px; height: 18px; object-fit: cover; border-radius: 2px; }
.country-panel { position: absolute; top: calc(100% - 5px); left: 0; z-index: 20; width: min(380px, 100%); padding: 10px; border: 1px solid #6b7da4; border-radius: 10px; background: #111b38; box-shadow: 0 12px 28px #0008; }
.country-panel input { font-size: 16px; }
:is(#country-options, #location-country-options) { list-style: none; margin: 8px 0 0; padding: 0; max-height: 230px; overflow-y: auto; overscroll-behavior: contain; }
:is(#country-options, #location-country-options) li { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 7px; border-radius: 5px; cursor: pointer; }
:is(#country-options, #location-country-options) li span:first-of-type { flex: 1; }
:is(#country-options, #location-country-options) li:hover, :is(#country-options, #location-country-options) li.active { background: #29426b; }
:is(#country-options, #location-country-options) li[aria-selected="true"] { color: #6be4eb; }
.country-toggle[aria-invalid="true"] { border-color: #ffb5be; }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
@media(max-width:600px) { #project-form input, #project-form select, #project-form textarea { font-size: 16px; } .country-panel { width: 100%; } }

/* Buscador de país del negocio: controles táctiles y sin zoom al escribir. */
.country-search-icon { flex: 0 0 20px; width: 20px; height: 20px; color: #97b5d8; }
.country-search-box { position: relative; }
.country-search-box > .country-search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.country-search-box input { width: 100%; min-height: 44px; padding-left: 40px; font-size: 16px; }
.country-empty { margin: 10px 0 0; color: var(--muted); font-size: .875rem; }
@media (max-width: 600px) { :is(#country-options, #location-country-options) { max-height: min(230px, 35dvh); } }
