/* Shared dropdown presentation for the country intake pages. */

body .search-select{position:relative;min-width:0}
body .search-select [hidden]{display:none!important}
body .search-select .search-select-trigger{display:block;box-sizing:border-box;position:relative;width:100%;height:44px;min-width:0;padding:10px 29px 10px 10px;border:2px solid var(--helper-border);border-radius:4px;background:white;color:var(--helper-text);font:15px/20px "Microsoft YaHei",Arial,sans-serif;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .search-select .search-select-trigger::after{content:'⌄';position:absolute;right:10px;top:9px;color:var(--helper-muted)}
body .search-select .search-select-trigger:hover:not(:disabled),body .search-select .search-select-trigger:focus-visible{background:white;border-color:var(--helper-blue)}
body .field.has-error .search-select-trigger{border-color:#b42318}
body .search-select-panel{position:absolute;box-sizing:border-box;width:max-content;left:0;right:auto;top:calc(100% + 4px);z-index:90;border:1px solid var(--helper-border);border-radius:5px;background:white;box-shadow:0 5px 18px #0002;padding:7px}
body .search-select-toolbar{display:flex;align-items:center;gap:8px;padding-bottom:7px;border-bottom:1px solid #ebeef5}
body .search-select .search-select-reset{flex:none;padding:6px 5px;border:0;background:white;color:var(--helper-muted);font-size:13px}
body .search-select .search-select-reset:hover{background:var(--helper-blue-light);border-color:transparent;color:var(--helper-blue)}
body .field .search-select-query{flex:1;min-width:0;height:34px;min-height:34px;padding:6px 8px;font-size:13px;border-width:1px}
body .search-select-options{max-height:260px;overflow:auto;overscroll-behavior:contain;margin-top:5px}
body .search-select-option{padding:8px 9px;color:var(--helper-text);font-size:13px;line-height:1.5;overflow-wrap:anywhere;cursor:pointer;border-radius:3px}
body .search-select-option[aria-selected=true]{color:var(--helper-blue);font-weight:600}
body .search-select-option.active{background:var(--helper-blue-light)}
body .search-select-empty{padding:10px 8px;margin:0;font-size:13px;color:var(--helper-muted)}

/* Reporting uses the same controls without a wide, repeated group prefix. */
body .report-question[hidden]{display:none!important}
body .report-question .search-select-query{box-sizing:border-box;flex:1;min-width:0;height:34px;min-height:34px;padding:6px 8px;font-size:13px;border:1px solid #dcdfe6;border-radius:4px}
body .report-question{margin-bottom:14px}
body .report-group-select{box-sizing:border-box;display:block;width:100%;height:44px;padding:10px;border:1px solid #dcdfe6;border-radius:4px;background:#fff;color:#303133;font:15px/20px "Microsoft YaHei",Arial,sans-serif;margin-bottom:14px}
