/* The country picker in the header (PHP website only; site.css is copied from the .NET site). */
.rs-country { position: relative; margin-left: auto; margin-right: .5rem; }
.rs-country summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .35rem; padding: .35rem .6rem;
    border: 1px solid var(--rs-line); border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--rs-ink); background: var(--rs-card); }
.rs-country summary::-webkit-details-marker { display: none; }
.rs-country summary::after { content: "▾"; font-size: .75rem; color: var(--rs-muted); }
.rs-country[open] summary { border-color: var(--rs-brand); }
.rs-country ul { position: absolute; right: 0; top: calc(100% + .4rem); z-index: 50; list-style: none; margin: 0; padding: .35rem;
    min-width: 12rem; background: var(--rs-card); border: 1px solid var(--rs-line); border-radius: 12px; box-shadow: var(--rs-shadow-float); max-height: 70vh; overflow-y: auto; }
.rs-country li a { display: flex; gap: .55rem; align-items: center; padding: .5rem .65rem; border-radius: 8px; color: var(--rs-ink); text-decoration: none; }
.rs-country li a:hover, .rs-country li a:focus-visible { background: var(--rs-tint); }
.rs-country li a[aria-current="true"] { font-weight: 700; }
.rs-footer-geo { font-size: .8rem; opacity: .8; }
@media (max-width: 760px) { .rs-country .rs-country-code { display: none; } .rs-country { margin-right: .25rem; } }
/* Arabic and other right-to-left pages. */
[dir="rtl"] .rs-country { margin-left: .5rem; margin-right: auto; }
[dir="rtl"] .rs-country ul { right: auto; left: 0; }
[dir="rtl"] .rs-main, [dir="rtl"] .rs-footer { text-align: right; }
