/* Live admin panel (admin-app.html) on top of replex.css + ripplex-app.css */
.ra-gate { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ra-warn-inline { color: #7fdcff; }
.ra-who { color: #8fd4ff; text-decoration: none; }
.ra-who:hover { text-decoration: underline; }
.ra-addr { display: block; color: var(--rx-muted); font-size: 11px; }
.ra-rest { background: #ffffff1f; }
.ra-split { display: flex; gap: 2px; }
.ra-split i:first-child { border-radius: 6px 0 0 6px; }
.ra-hbar { display: grid; grid-template-columns: 130px 1fr 34px; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; }
.ra-hbar i { height: 10px; border-radius: 4px; background: #ffffff0a; overflow: hidden; }
.ra-hbar b { display: block; height: 100%; border-radius: 0 4px 4px 0; background: #3987e5; }
.ra-hbar em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: #c9cfdc; }
.ra-roles-bal { display: grid; gap: 6px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #ffffff0b; font-size: 13px; color: var(--rx-muted); }
.ra-roles-bal span { display: flex; gap: 8px; align-items: baseline; }
.ra-roles-bal b { margin-left: auto; color: #e3e6f1; font-variant-numeric: tabular-nums; }
.ra-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ra-checks li { display: flex; gap: 12px; padding: 10px 4px; border-bottom: 1px solid #ffffff0a; font-size: 14px; }
.ra-checks li > span { width: 22px; height: 22px; flex: none; border-radius: 6px; display: grid; place-items: center; font-weight: 800; }
.ra-checks li.ok > span { color: #9ff6ff; background: #00e5ff15; }
.ra-checks li.bad > span { color: #ff9b9b; background: #ff6b6b1a; }
.ra-checks small { display: block; color: var(--rx-muted); font-size: 12px; margin-top: 2px; }
.admin-page .table-status { font-size: 11px; padding: 5px 9px; }
.ra-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ra-tools select { height: 34px; padding: 0 10px; border-radius: 9px; border: 1px solid #ffffff16; background: #0b0e17; color: #e8eaf4; font: inherit; font-size: 13px; }
.admin-page .search-box input { font-size: 13px; width: 180px; }
.ra-sort { background: none; border: 0; padding: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.ra-sort.on { color: #a9e2ff; }
.ra-table td .ra-sw { display: inline-block; vertical-align: middle; margin-right: 4px; }
.ra-table td { white-space: nowrap; }
.ra-tip { position: fixed; z-index: 50; max-width: 320px; padding: 7px 10px; border-radius: 8px; background: #1b2133; border: 1px solid #ffffff1c; color: #e8ebf5; font-size: 12px; pointer-events: none; box-shadow: 0 8px 24px #0006; }
.admin-page .button-small { min-height: 34px; padding: 0 12px; font-size: 12px; }

/* logo */
.brand.brand-logo { display: block; padding: 2px 0; margin-bottom: 18px; }
.brand.brand-logo img { display: block; width: 168px; height: auto; }

/* =================== one icon style: outline SVG =================== */
.ic { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.2em; flex: none; stroke: currentColor; fill: none; }
.side-link > span .ic, .sidebar-nav .ic { width: 18px; height: 18px; }
.ux-bottom .ic { width: 21px; height: 21px; }
.rc-ico .ic { width: 18px; height: 18px; }
.tb-ico .ic { width: 15px; height: 15px; }
.tb-wb-ico .ic { width: 16px; height: 16px; }
.ux-i { width: 18px !important; height: 18px !important; border: 0 !important; background: none !important; color: #8fd4ff !important; }
.ux-i .ic { width: 16px; height: 16px; }
.ux-i:hover .ic { color: #fff; }
.rc-go .ic, .text-link .ic { width: 14px; height: 14px; }
.activity-symbol .ic { width: 18px; height: 18px; }
.icon-button .ic { width: 18px; height: 18px; }
.ux-copy .ic { width: 15px; height: 15px; }
.oc-open .ic, .oc-x .ic, .gd-x .ic, .m-sheet-x .ic { width: 15px; height: 15px; }
.txf-dot .ic { width: 16px; height: 16px; }
.rc-state .ic, .rc-meta .ic { width: 13px; height: 13px; vertical-align: -2px; }
.tb-top .ic, .eng-max .ic { width: 16px; height: 16px; }

/* =================== Connect wallet: modern and prominent =================== */
.button-wallet { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 14px !important; border: 0 !important; border-radius: 14px !important;
  font-weight: 800 !important; font-size: 14px !important; color: #fff !important; cursor: pointer;
  background: linear-gradient(110deg, #0050f0, #0084ff 50%, #00e5ff) !important; box-shadow: 0 8px 26px -8px #0084ffcc, inset 0 1px 0 #ffffff40; transition: transform .15s, box-shadow .2s, filter .2s; }
.button-wallet .wallet-symbol { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #ffffff2e; }
.button-wallet .wallet-symbol .ic { width: 16px; height: 16px; }
.button-wallet::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, #ffffff66 50%, transparent 70%); transform: translateX(-120%); animation: tb-shine 3.4s ease-in-out infinite; }
.button-wallet:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 10px 30px -8px #00e5ffdd, inset 0 1px 0 #ffffff40; }
/* connected: calm glass chip with a live dot and the address */
.button-wallet.is-connected { background: #0e1528 !important; box-shadow: inset 0 0 0 1px #00e5ff55 !important; color: #e8f9ff !important; font-weight: 700 !important; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px !important; }
.button-wallet.is-connected::after { display: none; }
.button-wallet.is-connected .wallet-symbol { background: #00e5ff1f; color: #7df3ff; position: relative; }
.button-wallet.is-connected .wallet-symbol::after { content: ''; position: absolute; right: -2px; top: -2px; width: 8px; height: 8px; border-radius: 50%; background: #22e3a0; box-shadow: 0 0 0 2px #0e1528, 0 0 8px #22e3a0; }
@media (prefers-reduced-motion: reduce) { .button-wallet::after { animation: none; } }

@keyframes tb-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* open a member's dashboard */
.ra-open { display: grid; gap: 6px; margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; border: 1px solid #0084ff44; background: #0084ff0d; }
.ra-open label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #8fd4ff; }
.ra-open > div { display: flex; gap: 8px; flex-wrap: wrap; }
.ra-open input { flex: 1 1 260px; min-width: 0; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid #ffffff1f; background: #0b0e17; color: #fff; font: inherit; }
.ra-open input:focus { outline: none; border-color: #00e5ff; box-shadow: 0 0 0 3px #00e5ff22; }
