/* ABU_AGENT_ACCOUNTS_UI_V1: admin users only. Fix native white popup via custom dark searchable list. */
#users.abu-am-ready #agentselect{position:fixed!important;top:0!important;right:0!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important}
#users #agentselect:not([hidden]){color-scheme:dark!important;background:#0b1d33!important;color:#fff!important}
#users #agentselect option{background:#142941!important;color:#fff!important}
#abuAgentAccountsV1{direction:rtl;color:#eef5ff;display:grid;gap:18px;font-size:14px}
#abuAgentAccountsV1 *{box-sizing:border-box}
#abuAgentAccountsV1 .abuam-pick,#abuAgentAccountsV1 .abuam-accounts{border:1px solid rgba(78,178,231,.37)!important;border-radius:18px!important;background:linear-gradient(135deg,#13243b,#0a1323 70%)!important;padding:15px!important;box-shadow:0 12px 30px rgba(0,0,0,.18)!important;color:#eef5ff!important}
#abuAgentAccountsV1 .abuam-title,#abuAgentAccountsV1 .abuam-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#abuAgentAccountsV1 .abuam-title span{font-weight:800;color:#f7d79d}
#abuAgentAccountsV1 .abuam-title small,#abuAgentAccountsV1 .abuam-head small{color:#a9c0d9!important}
#abuAgentAccountsV1 .abuam-head h3{color:#f9d392!important;font-size:17px!important;margin:0 0 3px}
#abuAgentAccountsV1 input[type=search]{width:100%!important;display:block!important;color:#fff!important;background:#0b1b30!important;border:1px solid #45617b!important;border-radius:12px!important;min-height:45px!important;padding:12px!important;font:inherit!important;margin:12px 0 9px!important;text-align:right!important}
#abuAgentAccountsV1 input::placeholder{color:#9bb5ce!important;opacity:1}
#abuAgentAccountsV1 input:focus{outline:2px solid #edbe64!important;outline-offset:1px}
#abuAgentAccountsV1 .abuam-selected{color:#c6d7ec!important;font-size:12px;margin:7px 0}
#abuAgentAccountsV1 .abuam-selected-ok{color:#7bffcd!important;font-weight:700}
#abuAgentAccountsV1 .abuam-results{background:#0a182a!important;border:1px solid #334e6b!important;border-radius:13px!important;min-height:55px;max-height:255px;overflow-y:auto;padding:8px!important;display:grid;gap:6px;scrollbar-color:#65849b #091629}
#abuAgentAccountsV1 .abuam-manager{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#162c46!important;border:1px solid #35506f!important;border-radius:10px!important;color:#f4f7fd!important;padding:10px 12px!important;text-align:right!important;min-height:42px!important;cursor:pointer}
#abuAgentAccountsV1 .abuam-manager strong{font-size:13px;color:#f5f7ff!important;overflow-wrap:anywhere}
#abuAgentAccountsV1 .abuam-manager span{font-size:11px;color:#a8cbe4!important;white-space:nowrap}
#abuAgentAccountsV1 .abuam-manager:hover,#abuAgentAccountsV1 .abuam-manager:focus-visible,#abuAgentAccountsV1 .abuam-manager.active{border-color:#f2ca78!important;background:#23405f!important;outline:none!important}
#abuAgentAccountsV1 .abuam-reload{background:#1b3850!important;border:1px solid #56758f!important;color:#e3eefa!important;border-radius:10px!important;min-height:40px;padding:8px 14px;cursor:pointer}
#abuAgentAccountsV1 .abuam-summary{font-size:12px;color:#d4e4f5!important;margin-bottom:10px}
#abuAgentAccountsV1 .abuam-rows{max-height:580px;overflow-y:auto;display:grid;gap:9px;scrollbar-color:#65849b #091629}
#abuAgentAccountsV1 .abuam-row{border:1px solid #314e6c!important;border-radius:14px!important;background:#102037!important;padding:12px!important;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;color:#eff7ff!important}
#abuAgentAccountsV1 .abuam-info{min-width:170px;flex:1}
#abuAgentAccountsV1 .abuam-account-name{display:block;font-size:15px;color:#fff!important;overflow-wrap:anywhere;direction:ltr;text-align:right}
#abuAgentAccountsV1 .abuam-agent-name{color:#e3c58e!important;font-size:13px;margin:3px 0}
#abuAgentAccountsV1 .abuam-id{font-size:11px;color:#a4b9d1!important}
#abuAgentAccountsV1 .abuam-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
#abuAgentAccountsV1 .abuam-status{padding:4px 8px;border-radius:30px;font-size:11px;border:1px solid #42576d}
#abuAgentAccountsV1 .abuam-status.on{color:#6affbb!important;border-color:#167755;background:#07392f}
#abuAgentAccountsV1 .abuam-status.off{color:#ffcc8d!important;border-color:#855e2f;background:#372516}
#abuAgentAccountsV1 .abuam-button{border-radius:10px!important;padding:8px 12px!important;min-height:40px!important;font-size:12px!important;font-weight:800!important;cursor:pointer}
#abuAgentAccountsV1 .abuam-button.stop{background:#493132!important;color:#ffdad4!important;border:1px solid #b27070!important}
#abuAgentAccountsV1 .abuam-button.start{background:#0d4939!important;color:#a8ffdf!important;border:1px solid #389b79!important}
#abuAgentAccountsV1 .abuam-button.delete{background:#602633!important;color:#ffe3e7!important;border:1px solid #bb5d70!important}
#abuAgentAccountsV1 .abuam-empty{color:#bbcee4!important;text-align:center;padding:18px}
#abuAgentAccountsV1 .abuam-error{color:#ffbdc4!important;font-size:12px;margin:8px 0 0}
#users.abu-am-ready #loginrows{display:none!important}
@media(max-width:600px){#abuAgentAccountsV1 .abuam-pick,#abuAgentAccountsV1 .abuam-accounts{padding:10px!important}#abuAgentAccountsV1 .abuam-row{align-items:stretch}#abuAgentAccountsV1 .abuam-info{min-width:100%}#abuAgentAccountsV1 .abuam-actions{width:100%}#abuAgentAccountsV1 .abuam-button{flex:1}}

#abuAgentAccountsV1 #newagent{border:1px solid rgba(237,190,100,.26);border-radius:14px;background:rgba(255,255,255,.02);padding:14px;margin:0;min-width:0}
#users.abu-am-ready > .rule,#users.abu-am-ready > h3{display:none!important}

/* ABU_AGENT_DELETE_YES_NO_V2 -- admin-only deletion dialog */
.abuam-delete-overlay{position:fixed!important;inset:0!important;z-index:2147483000!important;background:rgba(2,8,20,.84)!important;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);display:flex!important;justify-content:center!important;align-items:center!important;padding:18px!important;direction:rtl!important}
.abuam-delete-dialog,.abuam-delete-dialog *{box-sizing:border-box!important}
.abuam-delete-dialog{width:min(420px,100%)!important;max-height:min(90dvh,650px);overflow:auto;background:linear-gradient(145deg,#172842,#0b1426 82%)!important;border:1px solid rgba(239,191,99,.66)!important;box-shadow:0 25px 90px rgba(0,0,0,.67),0 0 36px rgba(30,158,213,.19)!important;border-radius:22px!important;padding:24px 18px!important;color:#eff5ff!important;text-align:center!important;font-family:inherit!important}
.abuam-delete-emblem{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 10px;background:#422130;border:1px solid #af5260;border-radius:18px;font-size:26px}
.abuam-delete-heading{margin:4px 0 12px!important;color:#ffd899!important;font-size:22px!important;font-weight:850!important;line-height:1.5!important}
.abuam-delete-description{margin:0 0 12px!important;color:#c6d4e9!important;font-size:14px!important;line-height:1.85!important}
.abuam-delete-username{margin:0 auto 20px;max-width:100%;overflow-wrap:anywhere;font-weight:800;padding:12px;border-radius:12px;color:#fff;background:rgba(76,100,137,.22);border:1px solid #415674}
.abuam-delete-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px!important}
.abuam-delete-choice button{border-radius:12px!important;padding:13px 10px!important;min-height:48px!important;font-size:15px!important;font-weight:800!important;cursor:pointer!important}
.abuam-delete-no{background:#253b58!important;color:#e3edff!important;border:1px solid #6781a2!important}
.abuam-delete-yes{background:linear-gradient(135deg,#bc3449,#7d2134)!important;color:white!important;border:1px solid #f16d84!important}
.abuam-delete-choice button:focus-visible{outline:3px solid #f3c46b!important;outline-offset:3px!important}
@media(max-width:350px){.abuam-delete-dialog{padding:20px 12px!important}.abuam-delete-choice{gap:7px!important}}

