/* Shared cabinet button + widget. Tokens: lime/navy already on country sites and the hub. */
.dbx-cab{position:relative;display:flex;align-items:center;flex:none}
.dbx-cab-btn,.dbx-cab-user{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 12px 0 10px;border-radius:14px;border:0;background:#fff;color:#0A1430;font-weight:800;font-size:13px;cursor:pointer;text-decoration:none;white-space:nowrap;box-shadow:0 0 0 1px rgba(10,20,48,.12)}
.dbx-cab-btn:hover,.dbx-cab-user:hover{background:#F4F7FF}
.dbx-cab-btn .dbx-g{width:18px;height:18px;flex:none}
.dbx-av{width:22px;height:22px;border-radius:50%;background:#C6F432;color:#0A1530;display:grid;place-items:center;font-size:12px;font-weight:800;flex:none}
.dbx-cab-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(320px,calc(100vw - 24px));background:#fff;color:#0A1430;border-radius:16px;box-shadow:0 16px 40px rgba(10,20,48,.2),0 0 0 1px rgba(10,20,48,.08);padding:14px;z-index:80}
.dbx-cab-id{margin:0 0 10px;display:flex;flex-direction:column;gap:2px;font-size:14px}
.dbx-cab-id span{color:#5B6680;font-size:12px;font-weight:600}
.dbx-cab-h{margin:0 0 6px;font-size:11px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;color:#5B6680}
.dbx-cab-list{list-style:none;margin:0;padding:0;max-height:200px;overflow:auto}
.dbx-cab-list li{padding:8px 0;border-top:1px solid #EEF1F7;font-size:13px;font-weight:700;line-height:1.3}
.dbx-cab-list li:first-child{border-top:0}
.dbx-cab-list small{display:block;color:#5B6680;font-weight:600;font-size:11px}
.dbx-cab-list .dbx-empty{color:#5B6680;font-weight:600}
.dbx-st{display:inline-block;font-size:11px;font-weight:800;padding:1px 7px;border-radius:999px;background:#EEF1F7;margin-right:4px}
.dbx-st.wait{background:#FFF4CC;color:#7A5A00}
.dbx-st.ok{background:#D8F8C8;color:#1B5E20}
.dbx-st.no{background:#FDE0E0;color:#8B1A1A}
.dbx-cab-act{display:flex;gap:8px;margin-top:12px}
.dbx-cab-open,.dbx-cab-out{flex:1;height:36px;border-radius:12px;font-weight:800;font-size:13px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:0}
.dbx-cab-open{background:#C6F432;color:#0A1530}
.dbx-cab-out{background:#F1F5FD;color:#0A1430}
/* Hub dark header (injected, hub.css is not edited) */
.top-in .dbx-cab-btn,.top-in .dbx-cab-user{background:transparent;color:#fff;box-shadow:0 0 0 1.5px rgba(255,255,255,.22);height:36px}
.top-in .dbx-cab-btn:hover,.top-in .dbx-cab-user:hover{background:rgba(255,255,255,.08)}
.top-in .dbx-av{background:#C6F432;color:#0A1530}
/* MX / glass headers: keep the button readable */
.mx .dbx-cab-btn,.mx .dbx-cab-user{background:var(--mx-glass,#fff);color:inherit;box-shadow:var(--mx-sh,0 0 0 1px rgba(10,20,48,.12))}
@media (max-width:760px){
  .dbx-cab-btn,.dbx-cab-user{height:34px;padding:0 10px 0 8px;font-size:12px;border-radius:12px}
  .dbx-cab-txt{max-width:14ch;overflow:hidden;text-overflow:ellipsis}
}
@media (max-width:420px){
  .hd-r .dbx-cab{display:flex !important}
  .hd-r .dbx-cab .ico-btn{display:none}
  .dbx-cab-btn .dbx-cab-txt{max-width:11ch}
}
/* v2 (27.11.2026): account menu like the darbix.lt cabinet */
.dbx-cab[hidden]{display:none!important}
.dbx-cab-user{position:relative;padding:0 12px 0 5px}
.dbx-cab-user .dbx-av{width:28px;height:28px;border-radius:10px;font-size:11px;letter-spacing:.2px}
.dbx-av.lg{width:40px;height:40px;border-radius:13px;font-size:14px}
.dbx-dot{min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#FFB020;color:#0A1530;font-size:11px;font-weight:800;display:inline-grid;place-items:center}
.dbx-cab-panel{background:#0E1B3D;color:#F4F7FF;box-shadow:0 18px 44px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.1);font-family:Manrope,system-ui,sans-serif}
.dbx-cab-id{flex-direction:row;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.1)}
.dbx-cab-id>div{display:flex;flex-direction:column;min-width:0}
.dbx-cab-id b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dbx-cab-id span{color:rgba(255,255,255,.62);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dbx-cab-menu{display:flex;flex-direction:column;gap:2px;margin:8px 0 10px}
.dbx-cab-menu a{display:flex;align-items:center;gap:10px;padding:9px 8px;border-radius:12px;color:#F4F7FF;text-decoration:none;font-weight:700;font-size:14px}
.dbx-cab-menu a:hover{background:rgba(198,244,50,.12)}
.dbx-cab-menu i{font-style:normal;width:30px;height:30px;border-radius:10px;background:rgba(198,244,50,.14);display:grid;place-items:center;font-size:15px}
.dbx-cab-menu em{font-style:normal;margin-left:auto;font-size:11px;font-weight:800;background:#C6F432;color:#0A1530;border-radius:999px;padding:1px 7px}
.dbx-cab-h{color:rgba(255,255,255,.55)}
.dbx-cab-list li{border-top-color:rgba(255,255,255,.08);color:#F4F7FF}
.dbx-cab-list small,.dbx-cab-list .dbx-empty{color:rgba(255,255,255,.55)}
.dbx-st{background:rgba(255,255,255,.1);color:#F4F7FF}
.dbx-st.wait{background:rgba(255,176,32,.18);color:#FFD27A}
.dbx-st.ok{background:rgba(61,220,134,.18);color:#7FF0B0}
.dbx-st.no{background:rgba(255,107,122,.18);color:#FFB0B8}
.dbx-cab-out{width:100%;margin-top:10px;height:40px;background:transparent;color:#F4F7FF;border:1.5px solid rgba(255,255,255,.14)!important;flex:none}
.dbx-cab-out:hover{background:rgba(255,255,255,.06)}
.dbx-busy{cursor:progress;opacity:.85}
.dbx-spin{width:14px;height:14px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:dbxspin .8s linear infinite}
@keyframes dbxspin{to{transform:rotate(360deg)}}
@media (max-width:420px){.dbx-cab-user .dbx-cab-txt{display:none}.dbx-cab-user{padding:0 6px 0 4px}}
/* Hub header on phones: room for the account button (scoped to the hub header, hub.css untouched) */
@media (max-width:560px){
  .top-in:has(.dbx-cab:not([hidden])){gap:6px}
  .top-in:has(.dbx-cab:not([hidden])) .soc{gap:3px;margin-left:2px}
  .top-in:has(.dbx-cab:not([hidden])) .so{width:26px;height:26px}
  .top-in:has(.dbx-cab:not([hidden])) .lang-btn i{display:none}
  .top-in .dbx-cab-btn,.top-in .dbx-cab-user{width:34px;height:34px;padding:0;justify-content:center;border-radius:999px}
  .top-in .dbx-cab-btn .dbx-cab-txt,.top-in .dbx-cab-user .dbx-cab-txt{display:none}
  .top-in .dbx-cab-user .dbx-av{width:26px;height:26px;border-radius:999px}
  .top-in .dbx-dot{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;font-size:10px;padding:0 4px}
  .top-in .dbx-cab-panel{position:fixed;left:12px;right:12px;top:60px;width:auto}
}
@media (max-width:360px){.top-in:has(.dbx-cab:not([hidden])) .soc{display:none}}
/* account chip: always the dark darbix.lt look (country MX headers, hub, cabinet page) */
.dbx-cab-user,.mx .dbx-cab-user,.top-in .dbx-cab-user{background:#132048;color:#F4F7FF;box-shadow:0 0 0 1px rgba(255,255,255,.16)}
.dbx-cab-user:hover,.mx .dbx-cab-user:hover,.top-in .dbx-cab-user:hover{background:#1A2A5A}
/* v2.1 (27.11.2026): header login button in the site style (dark chip, not a white Google pill).
   Phones: compact round icon, never wider than 38px, so it can't be cut off or wrapped by Google Translate. */
.hd-r .dbx-cab-btn,.top-in .dbx-cab-btn,.dc-head .dbx-cab-btn{background:rgba(255,255,255,.06);color:#F4F7FF;box-shadow:0 0 0 1px rgba(255,255,255,.16)}
.hd-r .dbx-cab-btn:hover,.top-in .dbx-cab-btn:hover,.dc-head .dbx-cab-btn:hover{background:rgba(255,255,255,.12)}
.dbx-cab-btn .dbx-g{background:#fff;border-radius:50%;padding:2px;width:18px;height:18px;box-sizing:border-box;flex:none}
.dbx-cab,.dbx-cab *{white-space:nowrap}
.dbx-cab-panel,.dbx-cab-panel *{white-space:normal}
@media (max-width:560px){
  .hd-r .dbx-cab,.top-in .dbx-cab,.dc-head .dbx-cab{flex:none;min-width:0}
  .hd-r .dbx-cab-btn,.top-in .dbx-cab-btn,.dc-head .dbx-cab-btn,
  .hd-r .dbx-cab-user,.top-in .dbx-cab-user,.dc-head .dbx-cab-user{width:36px;min-width:36px;max-width:36px;height:36px;padding:0;justify-content:center;border-radius:999px;overflow:hidden}
  .hd-r .dbx-cab-txt,.top-in .dbx-cab-txt,.dc-head .dbx-cab-txt{display:none!important}
  .hd-r .dbx-cab-user .dbx-av,.dc-head .dbx-cab-user .dbx-av{width:28px;height:28px;border-radius:999px}
  .hd-r .dbx-dot,.dc-head .dbx-dot{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;font-size:10px;padding:0 4px}
  .hd-r .dbx-cab-panel,.dc-head .dbx-cab-panel{position:fixed;left:12px;right:12px;top:60px;width:auto}
  .hd-r:has(.dbx-cab:not([hidden])){gap:5px;min-width:0}
}
@media (max-width:370px){
  .hd-in:has(.dbx-cab:not([hidden])){gap:6px;padding-left:10px;padding-right:10px}
  .hd-r .dbx-cab-btn,.hd-r .dbx-cab-user,.top-in .dbx-cab-btn,.top-in .dbx-cab-user{width:32px;min-width:32px;max-width:32px;height:32px}
  .dbx-cab-btn .dbx-g{width:20px;height:20px}
  .dc-back{display:none}
}
@media (max-width:560px){
  .top-in:has(.dbx-cab:not([hidden])) .snd span{display:none}
  .top-in:has(.dbx-cab:not([hidden])) .snd{padding:0 8px;height:32px}
  .top-in:has(.dbx-cab:not([hidden])) .brand,.hd-in:has(.dbx-cab:not([hidden])) .logo{flex:0 1 auto;min-width:0;overflow:hidden}
  .top-in:has(.dbx-cab:not([hidden])) .brand>span:last-child,.hd-in:has(.dbx-cab:not([hidden])) .logo>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .top-in:has(.dbx-cab:not([hidden])) .lang,.top-in:has(.dbx-cab:not([hidden])) .snd,.top-in:has(.dbx-cab:not([hidden])) .soc{flex:none}
}

/* v2.2 (27.11.2026 19:45): native navy/lime pill aligned with header pills.
   Desktop: short «Войти» + G. Phone: 36px round icon, never cut by the right edge. */
.hd .dbx-cab-btn,.hd-r .dbx-cab-btn,.top-in .dbx-cab-btn,.dc-head .dbx-cab-btn{
  height:38px;padding:0 12px 0 8px;gap:7px;border-radius:999px;
  background:rgba(255,255,255,.06);color:#F4F7FF;
  box-shadow:0 0 0 1px rgba(255,255,255,.16);border:0;flex:none;max-width:none
}
.hd .dbx-cab-btn:hover,.hd-r .dbx-cab-btn:hover,.top-in .dbx-cab-btn:hover,.dc-head .dbx-cab-btn:hover{background:rgba(255,255,255,.12)}
@media (max-width:560px){
  .hd .dbx-cab-btn,.hd-r .dbx-cab-btn,.top-in .dbx-cab-btn,.dc-head .dbx-cab-btn,
  .hd .dbx-cab-user,.hd-r .dbx-cab-user,.top-in .dbx-cab-user,.dc-head .dbx-cab-user{
    width:36px;min-width:36px;max-width:36px;height:36px;padding:0;justify-content:center;border-radius:999px;overflow:hidden
  }
  .hd .dbx-cab-txt,.hd-r .dbx-cab-txt,.top-in .dbx-cab-txt,.dc-head .dbx-cab-txt{display:none!important}
  .hd-r:has(.dbx-cab:not([hidden])){gap:5px;min-width:0;overflow:visible}
  .hd-in,.hd{overflow:visible}
}

/* stage26 27.11 20:56: country header only (.hd-r). Mid-width desktops: icon-only G chip
   so «Connexion» / «Anmelden» cannot push the lime + off-screen. Do not change .top-in (hub). */
@media (max-width:1440px){
  .hd-r .dbx-cab{flex:none;min-width:0}
  .hd-r .dbx-cab-btn,.hd-r .dbx-cab-user{width:36px;min-width:36px;max-width:36px;height:36px;padding:0;justify-content:center;border-radius:999px;overflow:hidden}
  .hd-r .dbx-cab-txt{display:none!important}
}
