.registration-country-trigger { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; min-height:56px; padding:12px 16px; border:1px solid var(--line); border-radius:16px; background:var(--surface); color:var(--text); font-size:16px; text-align:left; touch-action:manipulation; }
.registration-country-value { display:flex; align-items:center; gap:12px; }
.registration-country-value > span:first-child { display:grid; place-items:center; width:28px; }
.registration-country-value .country-flag { width:28px; height:28px; object-fit:contain; }
.registration-country-trigger > .i { width:14px; height:14px; color:var(--text-2); }
.registration-country-trigger:focus-visible { outline:2px solid var(--text); outline-offset:3px; }
.registration-country-dialog { box-sizing:border-box; width:min(440px, calc(100vw - 32px)); max-height: min(620px, calc(100dvh - 40px)); margin:auto; padding:0; overflow:hidden; border:1px solid #e4e5df; border-radius:24px; background:#fff; color:#24261f; box-shadow:0 24px 80px #0003; font:16px/1.4 var(--font); color-scheme:light; }
.registration-country-dialog[open] { display:flex; flex-direction:column; }
.registration-country-dialog::backdrop { background:#16191166; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
.registration-country-dialog header { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; padding:24px 24px 16px; flex:none; }
.registration-country-dialog h2 { margin:0; font-size:24px; line-height:1.2; letter-spacing:-.6px; font-weight:700; }
.registration-country-dialog header p { margin:7px 0 0; font-size:14px; color:#70736a; }
.country-picker-close { display:grid; place-items:center; flex:none; width:36px; height:36px; border-radius:50%; background:#f1f2ed; color:#62655c; touch-action:manipulation; }
.country-picker-close .i { width:16px; height:16px; }
.country-picker-search { display:flex; align-items:center; gap:10px; margin:0 16px 12px; padding:0 14px; min-height:48px; flex:none; background:#f3f4f0; border-radius:13px; color:#74776e; }
.country-picker-search > .i { width:19px; height:19px; flex:none; }
.country-picker-search input { width:100%; min-width:0; padding:12px 0; border:0; border-radius:0; background:transparent; color:#24261f; font-size:16px; outline:none; box-shadow:none; }
.country-picker-search:focus-within { box-shadow:0 0 0 2px #75894d; }
.country-picker-list { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0 8px 12px; scrollbar-width:thin; }
.country-picker-list button { position:relative; display:flex; align-items:center; gap:14px; width:100%; min-height:54px; padding:10px 16px; background:transparent; border-radius:12px; text-align:left; font-size:16px; color:#24261f; touch-action:manipulation; }
.country-picker-list button + button::before { content:""; position:absolute; top:0; left:58px; right:16px; height:1px; background:#eeefe9; }
.country-picker-list button[aria-selected="true"] { background:#eef2e5; font-weight:600; }
.country-picker-list button[aria-selected="true"]::before, .country-picker-list button[aria-selected="true"] + button::before { display:none; }
.country-picker-list button:hover { background:#f4f5f1; }
.country-picker-list button > .i { width:19px; height:19px; flex:none; margin-left:auto; color:#617b35; }
.country-picker-flag { width:28px; flex:none; display:grid; place-items:center; }
.country-picker-flag img { width:28px; height:28px; object-fit:contain; }
.registration-country-dialog button:focus-visible { outline:2px solid #617b35; outline-offset:-2px; }
.country-picker-empty { padding:24px; text-align:center; font-size:14px; color:#70736a; }
@media (max-width:600px) { .registration-country-dialog { width:calc(100vw - 20px); max-height: min(660px, calc(100dvh - 24px)); border-radius:24px; } }
