.prov.prov--chip.prov--ai{
  display:inline !important;
  position:relative !important;
  margin-left:0 !important;
  padding:0 1px 3px 1px !important;
  border:0 !important;
  background:none !important;
  box-shadow:none !important;
  border-radius:0 !important;

  font:inherit !important;
  font-size:1em !important;
  line-height:inherit !important;
  font-weight:400 !important;
  letter-spacing:.018em !important;
  text-transform:uppercase;
  vertical-align:baseline !important;

  color:#d1d8ff !important;
  text-shadow:
    0 0 4px rgba(155,170,255,.08) !important;

  transition:
    color .18s ease,
    text-shadow .18s ease;
}

.prov.prov--chip.prov--ai::before,
.prov.prov--chip.prov--ai::after{
  content:"";
  position:absolute;
  left:1px;
  right:1px;
  border-radius:999px;
  transition:
    opacity .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.prov.prov--chip.prov--ai::before{
  bottom:0px;
  height:1px;
  background:linear-gradient(90deg,
    rgba(150,165,255,0) 0%,
    rgba(180,190,255,.85) 50%,
    rgba(150,165,255,0) 100%);
  box-shadow:0 0 6px rgba(145,155,255,.16);
}

.prov.prov--chip.prov--ai::after{
  bottom:2px;
  height:1px;
  opacity:.45;
  background:linear-gradient(90deg,
    rgba(180,160,255,0) 0%,
    rgba(195,175,255,.65) 50%,
    rgba(180,160,255,0) 100%);
}

/* hover */
.prov.prov--chip.prov--ai:hover{
  color:#dde3ff !important;
  text-shadow:
    0 0 5px rgba(170,185,255,.12),
    0 0 10px rgba(145,155,255,.06) !important;
}

.prov.prov--chip.prov--ai:hover::before{
  box-shadow:
    0 0 8px rgba(155,165,255,.22),
    0 0 14px rgba(135,145,255,.10);
  background:linear-gradient(90deg,
    rgba(160,175,255,0) 0%,
    rgba(196,205,255,.95) 50%,
    rgba(160,175,255,0) 100%);
}

.prov.prov--chip.prov--ai:hover::after{
  opacity:.7;
  background:linear-gradient(90deg,
    rgba(190,170,255,0) 0%,
    rgba(210,190,255,.78) 50%,
    rgba(190,170,255,0) 100%);
}

.choose_social_net .social_nets:not([data-pp-ready="1"]) > .social_net_btn:nth-child(n+6){
    display:none !important;
  }

  /* кнопку показать все тоже прячем до инициализации, чтобы не мигала */
  .choose_social_net .social_nets:not([data-pp-ready="1"]) > .pp-showall-btn{
    display:none !important;
  }
.choose_social_net .social_nets{
    display:flex !important;
    flex-wrap:wrap !important;
     justify-content: flex-start !important; /* вместо space-between */
    align-content: flex-start !important;
    gap: 10px !important;                  /* нормальный промежуток */
  
  }

  /* базовая анимация самой плитки */
  .choose_social_net .social_nets .social_net_btn{
    transition:
      max-width .26s ease,
      max-height .26s ease,
      width .26s ease,
      padding .22s ease,
      margin .22s ease,
      opacity .18s ease,
      transform .18s ease;
    will-change: max-width, max-height, width, padding, margin, opacity, transform;
    overflow:hidden; /* чтобы контент не торчал при схлопывании */
  }

  /* ✅ ПЛАВНОЕ СКРЫТИЕ вместо display:none */
  .choose_social_net .social_nets .social_net_btn.pp-hidden{
    /* убираем из раскладки плавно */
    width:0 !important;
    max-width:0 !important;
    max-height:0 !important;
    flex:0 0 0 !important;

    /* схлопываем “внутренности” */
    padding:0 !important;
    margin:0 !important;
    border-width:0 !important;

    /* визуально “уходим” */
    opacity:0 !important;
    transform: translateY(-6px) scale(.985) !important;

    pointer-events:none !important;
  }

  /* кнопка "Показать все" всегда видна */
  .choose_social_net .social_nets .pp-showall-btn{
    display:inline-flex !important;
    opacity:.92;
  }
  .choose_social_net .social_nets .pp-showall-btn:hover{ opacity:1; }

  .pp-showall-dots{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:18px;
    height:18px;
    border-radius:6px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.10);
    font-size:12px;
    line-height:1;
    margin-right:8px;
    transform:translateY(-.5px);
  }

  @media (prefers-reduced-motion: reduce){
    .choose_social_net .social_nets .social_net_btn{
      transition:none !important;
    }
  }


:root{
  /* tabbar */
  --tabbar-h: 84px;

  /* social tiles */
  --social-tile-w: 200px;
  --social-icon: 16px;
  --social-font: 13.5px;

  /* icon-img-url */
  --pp-icon: 18px;

  /* glass cards (top_info) */
  --g-a: rgba(250,250,255,.11);
  --g-b: rgba(210,220,255,.065);
  --g-wash: linear-gradient(135deg, rgba(175,140,255,.085), rgba(120,190,255,.055) 55%, rgba(255,255,255,0) 75%);
  --g-brd: rgba(255,255,255,.16);
  --g-inset: rgba(255,255,255,.22);
}

/* =========================
   SIDEBAR / NAVIGATION (BASE)
   ========================= */

/* базовый вид пунктов меню — лучше держать в контексте сайдбара */
.page .main .sidebar .nav-item{ margin:2px 0; }

.page .main .sidebar .nav-link{
  display:flex;
  align-items:center;
  padding: 6px 15px;
  color:#9fa8c3;
  font-size:14px;
  font-weight:500;
  border-radius:6px;
  text-decoration:none;
  transition: background .2s, color .2s;
}

.page .main .sidebar .nav-link:hover,
.page .main .sidebar .nav-item.active .nav-link{
  background-color: rgba(255,255,255,.05);
  color:#fff;
}

.page .main .sidebar .nav-link .icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  margin-right:10px;
}

.page .main .sidebar .nav-link .icon img{
  max-height:18px;
  transition:transform .2s, filter .2s, opacity .2s;
  opacity:.95;
}

.page .main .sidebar .nav-link:hover .icon img{ filter:brightness(1.2); }

.page .main .sidebar .hover_icon{ display:none; }
.page .main .sidebar .nav-link:hover .normal_icon{ display:none; }
.page .main .sidebar .nav-link:hover .hover_icon{ display:inline; }

/* активная иконка */
.page .main .sidebar .nav-item.active .nav-link .icon img{
  filter: brightness(5);
  transform: scale(1.12);
}

/* =========================
   SIDEBAR SECTION TITLE (GLASS)
   ========================= */
.page .main .sidebar .menu-box-title{
  position: relative;
  display:flex;
  align-items:center;

  font-size:12px;
  line-height:1.15;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#c9d0ea;

  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);

  border-radius:10px;
  padding:10px 16px;
  margin:16px 0 6px 0;
  min-height:36px;
}

.page .main .sidebar .menu-box-title *{
  font-size:inherit !important;
  line-height:inherit !important;
}

/* у первого блока убираем верхний отступ */
.page .main .sidebar .menu-box:first-of-type .menu-box-title{ margin-top:0; }

/* неоновая линия слева (ОДНА, без дублей) */
.page .main .sidebar .menu-box-title::before{
  content:"";
  position:absolute;
  top:6px; bottom:6px; left:0;
  width:3px;
  background-color:#00ffc2;
  border-radius:2px;
  box-shadow: 0 0 5px #00ffc2, 0 0 10px #00ffc2, 0 0 15px #00ffc2;
}

/* =========================
   SMALL SIDEBAR (когда .main.small_sidebar)
   ========================= */
.page .main.small_sidebar .sidebar .menu-box-title,
.page .main.small_sidebar .sidebar .nav-link .txt{
  display:none !important;
}


.main.small_sidebar .nav-link{
  width:40px;
  height:40px;
  padding:0 !important;
  margin:6px auto;
  display:flex;
  align-items:center;
  justify-content:center !important;
  border-radius:12px;
  transition: background .2s ease;
}

.main.small_sidebar .nav-link .icon{ margin-right:0 !important; }

.main.small_sidebar .nav-link .icon img{
  width:20px;
  height:20px;
  max-height:none;
  transition: transform .2s ease;
}

.main.small_sidebar .nav-item.active .nav-link{
  background-color:#8a6df9;
  border-radius:8px;
  justify-content:center;
}

.main.small_sidebar .nav-item.active .nav-link img{
  filter: brightness(5);
  transform: scale(1.15);
  transition: .2s ease;
}

/* =========================
   SIDEBAR GLASS BACKGROUND
   ========================= */
.page .main .sidebar{
  position: relative;
  border-radius: 16px;

  background:
    linear-gradient(140deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    rgba(16,18,32,.18);

  border: 1px solid rgba(255,255,255,.18);

  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);

  box-shadow:
    0 12px 36px rgba(0,0,0,.50),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(255,255,255,.06);

  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}

.page .main .sidebar::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(122,108,245,.18) 0%, transparent 60%),
    radial-gradient(90% 50% at 100% 100%, rgba(0,255,194,.06) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(255,255,255,.08), transparent 35%);
  mix-blend-mode: screen;
}

.page .main .sidebar::-webkit-scrollbar{ width:8px; }
.page .main .sidebar::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.10);
  border-radius: 8px;
}

@supports not ((backdrop-filter: blur(1px))){
  .page .main .sidebar{
    background: rgba(16,18,32,.85);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 12px 36px rgba(0,0,0,.50);
  }
}

/* =========================
   MINI MODE ≤1600px (body.sidebar-opened)
   ========================= */
@media (max-width: 1600px){
  /* неон-линию скрыть в мини-режиме */
  .page .main .sidebar .menu-box-title::before{ display:none; }
  body.sidebar-opened .page .main .sidebar .menu-box-title::before{ display:inline-block; }

  /* заголовки скрыть, пока меню закрыто */
  .page .main .sidebar .menu-box-title{ display:none !important; }
  body.sidebar-opened .page .main .sidebar .menu-box-title{ display:flex !important; }

  /* мини-вид пунктов, пока меню закрыто */
  body:not(.sidebar-opened) .page .main .sidebar .nav-link{
    width:40px;
    height:40px;
    margin:6px auto;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  body:not(.sidebar-opened) .page .main .sidebar .nav-item.active .nav-link{
    background-color:#8a6df9;
  }

  body:not(.sidebar-opened) .page .main .sidebar .nav-link .icon{ margin:0; }

  body:not(.sidebar-opened) .page .main .sidebar .menu-box-title,
  body:not(.sidebar-opened) .page .main .sidebar .nav-link .txt{
    display:none;
  }

  /* когда открыто — вернуть обычную геометрию */
  body.sidebar-opened .main.small_sidebar .sidebar .nav-link{
    width:auto;
    height:auto;
    justify-content:start !important;
    gap:10px;
    padding:6px 15px !important;
    margin:2px 0 !important;
    border-radius:6px !important;
  }

  body.sidebar-opened .main.small_sidebar .sidebar .nav-link .icon{
    margin-right:10px;
  }

  body.sidebar-opened .main.small_sidebar .sidebar .nav-link .txt{
    display:inline-block;
  }

  body.sidebar-opened .main.small_sidebar .sidebar .nav-item.active .nav-link{
    background: rgba(255,255,255,.05);
  }

  /* твоё: gap в комиссиях */
  #order_extra_fee,
  #order_total{ gap: 14px 24px; }
}

/* =========================
   MOBILE OFF-CANVAS SIDEBAR (body.sidebar-opened)
   ========================= */
:root{
  --sidebar-w: 274px;
  --sidebar-open-w: min(var(--sidebar-w), 86vw);
}

@media (max-width: 768px){
  /* место под tabbar */
  body{ padding-bottom: calc(var(--tabbar-h) + 12px); }

  /* плавающий бургер */
  .xs_sidebar_btn{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;

    position: fixed;
    left: 12px;
    top: calc(env(safe-area-inset-top, 0px) + 56px) !important;
    z-index: 2000;

    width: 42px;
    height: 42px;
    padding: 8px;
    border-radius: 12px;

    background: rgba(26,28,46,.75);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
  }
  .xs_sidebar_btn img{ width:22px; height:22px; display:block; }

  /* сайдбар выезжает */
  .page .main .sidebar{
    position: fixed !important;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-open-w) !important;
    transform: translateX(-105%) !important;
    transition: transform .25s ease;
    z-index: 3000 !important;
    -webkit-overflow-scrolling: touch;
  }
  body.sidebar-opened .page .main .sidebar{ transform: translateX(0) !important; }

  /* бэкдроп */
  .sidebar-backdrop{
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(0,0,0,.45);
    backdrop-filter: saturate(90%) blur(1px);
    opacity: 0;
    pointer-events:none;
    transition: opacity .25s ease;
  }
  body.sidebar-opened .sidebar-backdrop{
    opacity: 1;
    pointer-events:auto;
    left: var(--sidebar-open-w);
  }

  /* контент во всю ширину */
  .page,
  .page .main,
  .page .main .main_cont,
  .page .main .content{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  /* шапка сайдбара (лого + бургер) */
  .page .main .sidebar .top_cont{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: rgba(23,25,42,.95);
    position: sticky;
    top:0;
    z-index:2;
  }

  .page .main .sidebar .top_cont .logo{
    margin:0 !important;
    padding:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    flex: 1 1 auto;
  }
  .page .main .sidebar .top_cont .logo img{
    display:block !important;
    height:64px !important;
    width:auto !important;
    margin:0 !important;
    background:transparent !important;
    object-fit:contain !important;
  }

  .page .main .sidebar .top_cont .xs_sidebar_btn{
    position: static !important;
    margin-left:auto;
    width:36px;
    height:36px;
    padding:0;
    border:0;
    background:transparent;
    backdrop-filter:none;
  }
  .page .main .sidebar .top_cont .xs_sidebar_btn img{
    width:22px;
    height:22px;
    display:block;
  }

  /* показывать только одну кнопку */
  .page .main .sidebar .xs_sidebar_btn{ display:none !important; }
  body.sidebar-opened .xs_sidebar_btn,
  body.sidebar-opened .xs_sidebar_btn--mobile{ display:none !important; }
  body.sidebar-opened .page .main .sidebar .xs_sidebar_btn{
    display:inline-flex !important;
    position: static !important;
  }

  /* сайдбар над tabbar */
  .mobile-tabbar{ z-index: 1000 !important; }
  body.sidebar-opened .mobile-tabbar{
    z-index: 900 !important;
    pointer-events:none !important;
  }
  .page .main .sidebar .sidebar_cont{
    padding-bottom: calc(var(--tabbar-h) + 16px) !important;
  }

  /* на мобилке: когда модалка открыта — уводим tabbar вниз */
  .mobile-tabbar{ transition: transform .25s ease; }
  body.modal-open .mobile-tabbar{
    transform: translateY(100%);
    pointer-events:none;
  }

  #new_support_modal .modal-body{
    padding-bottom:16px;
    -webkit-overflow-scrolling: touch;
  }
}

/* ПК: скрыть клон кнопки */
@media (min-width: 769px){
  .xs_sidebar_btn--mobile{
    display:none !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }
  .page .main .sidebar .xs_sidebar_btn{
    display:inline-flex !important;
    position: relative !important;
    left:auto; top:auto;
    z-index:auto;
    width:auto; height:auto;
    padding:0;
    border:0;
    background:transparent;
    backdrop-filter:none;
  }
}

/* =========================
   MOBILE TABBAR (Telegram-style)
   ========================= */
.mobile-tabbar{ display:none !important; }

@media (max-width: 768px){
  .mobile-tabbar{
    position: fixed;
    left:0; right:0; bottom:0;

    display:flex !important;
    align-items:center;
    justify-content:space-around;
    gap:6px;

    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    background: linear-gradient(135deg, rgba(40,44,65,.55) 0%, rgba(24,26,46,.35) 100%);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow:
      0 -4px 20px rgba(0,0,0,.45),
      0 -1px 0 rgba(255,255,255,.04) inset;

    z-index:1000;
  }

  .mobile-tabbar .tab-link{
    position:relative;
    flex:1 1 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;

    height:56px;
    padding:8px 6px;
    margin:0;
    border-radius:16px;
    text-decoration:none;

    color:#c7cbe0;
    font-size:11.5px;
    font-weight:600;
    letter-spacing:.1px;

    transition: color .2s ease, background .2s ease, transform .15s ease;
  }

  .mobile-tabbar .tab-link img{ display:block; width:22px; height:22px; }
  .mobile-tabbar .tab-link .icon-hover{ display:none; }

  .mobile-tabbar .tab-link:active{ transform: scale(.98); }
  .mobile-tabbar .tab-link:hover{
    background: rgba(255,255,255,.05);
    color:#fff;
  }

  .mobile-tabbar .tab-link.active{
    background: rgba(255,255,255,.10);
    color:#fff;
  }
  .mobile-tabbar .tab-link.active .icon-default{ display:none; }
  .mobile-tabbar .tab-link.active .icon-hover{ display:block; }

  .mobile-tabbar .tab-link .tab-bar{ display:none !important; }

  /* бейдж из data-badge */
  .mobile-tabbar .tab-link[data-badge]::after{
    content: attr(data-badge);
    position:absolute;
    top:6px;
    right:12px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:18px;
    height:18px;
    padding:0 5px;
    border-radius:9px;

    background:#e64646;
    color:#fff;
    font-size:11px;
    font-weight:700;
    line-height:1;

    pointer-events:none;
    box-shadow: 0 0 0 2px rgba(40,44,65,.85);
  }

  /* telegram widget */
  .telegram-container{
    position: fixed !important;
    right: 16px !important;
    bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px) !important;
    z-index: 900 !important;
    transform: scale(0.7);
    transform-origin: bottom right;
    pointer-events:none !important;
  }
  .telegram-container *{ pointer-events:auto !important; }
}

/* =========================
   NEW ORDER TABS
   ========================= */
.create_an_order{
  position:static;
}

.neworder__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  margin-bottom:18px;
  padding-bottom:18px;
  border-bottom:1px solid rgba(132,126,156,.20);
}

.neworder__head .s_title{
  flex:0 0 auto;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}

.neworder__top-tools{
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-width:0;
}

.neworder__tabs-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:14px 0 30px;
}
.neworder__buttons{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:center;
  gap:24px !important;
  width:auto !important;
  max-width:100% !important;
  min-height:44px;
  flex:0 0 auto !important;
  margin:0 !important;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  list-style:none;
}
.neworder__buttons > li{
  display:block;
  flex:0 1 auto !important;
  width:auto !important;
  max-width:none !important;
  min-width:0;
  margin:0 !important;
}
.neworder__buttons :is(button,.sketch-button,a){
  position:relative !important;
  overflow:visible !important;
  width:200px !important;
  max-width:none;
  min-width:0;
  min-height:40px;
  height:40px;
  padding:10px 14px !important;
  border:1px solid transparent !important;
  border-radius:11px;
  background:transparent;
  box-shadow:none;
  color:rgba(236,232,255,.74);
  font-size:14.5px;
  line-height:1.3;
  font-weight:600;
  text-align:center;
  white-space:nowrap;
  box-sizing:border-box;
}
.neworder__buttons :is(li.active,.active) :is(button,.sketch-button,a),
.neworder__buttons :is(button.active,.sketch-button.active,a.active){
  border-color:rgba(167,139,250,.35) !important;
  background:linear-gradient(135deg,rgba(138,109,249,.95),rgba(158,126,255,.88));
  color:#fff;
  box-shadow:0 8px 18px rgba(138,109,249,.22);
}

@media (max-width:1400px){
  .neworder__buttons :is(button,.sketch-button,a){ width:170px !important; }
}
@media (max-width:1200px){
  .neworder__buttons :is(button,.sketch-button,a){
    width:150px !important;
    font-size:13px;
    padding:8px 10px !important;
  }
}
@media (max-width:1024px){
  .neworder__buttons :is(button,.sketch-button,a){
    width:110px !important;
    font-size:12px;
    padding:7px 8px !important;
  }
}

.pp-ai-picker-open{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex:0 0 auto;
  min-width:132px;
  height:34px;
  padding:0 15px;
  border:1px solid rgba(166,139,255,.36);
  border-radius:12px;
  background:rgba(28,25,54,.48);
  color:rgba(239,235,255,.88);
  font-size:13px;
  font-weight:500;
  line-height:1;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pp-ai-picker-open:hover{
  transform:translateY(-1px);
  border-color:rgba(166,139,255,.68);
  background:rgba(56,45,104,.58);
  color:#fff;
  box-shadow:0 10px 24px rgba(138,109,249,.16);
}

.pp-ai-picker-open__mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-width:38px;
  height:18px;
  padding:0 7px;
  box-sizing:border-box;
  border-radius:999px;
  background:rgba(40,216,153,.12);
  border:1px solid rgba(40,216,153,.30);
  color:#59f0b0;
  font-size:10px;
  font-weight:700;
  line-height:1;
  letter-spacing:.04em;
  white-space:nowrap;
  transform:translateY(1px);
}

.pp-ai-picker-open > span:last-child{
  display:inline-flex;
  align-items:center;
  height:18px;
  line-height:1;
}

.pp-ai-picker-modal{
  position:fixed;
  inset:0;
  z-index:10080;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
}

body.pp-ai-picker-opened{
  overflow:hidden;
}

.pp-ai-picker-modal.is-open{
  display:flex;
}

.pp-ai-picker-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(8,8,18,.62);
  backdrop-filter:blur(7px);
}

.pp-ai-picker-modal__dialog{
  position:relative;
  width:min(640px, 100%);
  max-height:min(760px, calc(100vh - 44px));
  overflow:auto;
  border:1px solid rgba(139,111,255,.36);
  border-radius:20px;
  background:
    radial-gradient(circle at 20% 0%, rgba(138,109,249,.18), transparent 36%),
    linear-gradient(180deg, rgba(38,35,77,.98), rgba(25,24,52,.98));
  box-shadow:0 28px 90px rgba(0,0,0,.56), 0 0 24px rgba(138,109,249,.16);
  color:#fff;
}

.pp-ai-picker-modal__close{
  position:absolute;
  top:12px;
  right:14px;
  width:30px;
  height:30px;
  border:0;
  border-radius:10px;
  background:transparent !important;
  color:rgba(255,255,255,.68);
  font-size:24px;
  line-height:1;
  cursor:pointer;
  isolation:isolate;
}

.pp-ai-picker-modal__close::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:4px;
  bottom:-4px;
  z-index:-1;
  border-radius:10px;
  background:rgba(255,255,255,.08);
  opacity:0;
  pointer-events:none;
}

.pp-ai-picker-modal__close:hover{
  color:#fff;
  background:transparent !important;
}

.pp-ai-picker-modal__close:hover::before{
  opacity:1;
}

.pp-ai-picker-modal__head{
  display:grid;
  grid-template-columns:auto minmax(0, 1fr);
  gap:13px;
  padding:22px 24px 15px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.pp-ai-picker-modal__kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-width:54px;
  height:42px;
  padding:0 10px;
  box-sizing:border-box;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(138,109,249,.36), rgba(40,216,153,.16));
  border:1px solid rgba(166,139,255,.28);
  color:#76f7c0;
  font-weight:800;
  letter-spacing:.04em;
}

.pp-ai-picker-modal__title{
  padding-right:32px;
  font-size:20px;
  line-height:1.25;
  font-weight:650;
}

.pp-ai-picker-modal__subtitle{
  margin-top:5px;
  color:rgba(232,228,255,.68);
  font-size:13px;
  line-height:1.45;
}

.pp-ai-picker-modal__body{
  padding:18px 24px 22px;
}

.pp-ai-picker-modal__label{
  display:block;
  margin:0 0 8px;
  color:rgba(235,231,255,.82);
  font-size:13px;
  font-weight:500;
}

.pp-ai-picker-modal__textarea{
  display:block;
  width:100%;
  min-height:106px;
  resize:vertical;
  padding:14px 15px;
  border:1px solid rgba(174,160,220,.30);
  border-radius:14px;
  background:rgba(17,16,35,.58);
  color:#fff;
  outline:0;
  font-size:14px;
  line-height:1.45;
}

.pp-ai-picker-modal__textarea:focus{
  border-color:rgba(166,139,255,.72);
  box-shadow:0 0 0 3px rgba(138,109,249,.14);
}

.pp-ai-picker-modal__submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:42px;
  margin-top:12px;
  border:0;
  border-radius:13px;
  background:linear-gradient(135deg, rgba(138,109,249,.96), rgba(171,143,255,.94));
  color:#fff;
  font-size:14px;
  font-weight:650;
  cursor:pointer;
  box-shadow:0 12px 26px rgba(138,109,249,.22);
}

.pp-ai-picker-modal__submit:disabled{
  cursor:wait;
  opacity:.72;
}

.pp-ai-picker-results{
  display:grid;
  gap:9px;
  margin-top:14px;
}

.pp-ai-picker-results__state{
  padding:12px 13px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:13px;
  background:rgba(255,255,255,.045);
  color:rgba(238,234,255,.76);
  font-size:13px;
  line-height:1.4;
}

.pp-ai-picker-results__state--loading{
  display:flex;
  align-items:center;
  gap:9px;
}

.pp-ai-picker-results__loader{
  flex:0 0 8px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#8f76ff;
  box-shadow:0 0 9px rgba(143,118,255,.8);
  animation:ppAiPickerPulse 1.1s ease-in-out infinite;
}

@keyframes ppAiPickerPulse{
  50%{
    opacity:.35;
    transform:scale(.72);
  }
}

.pp-ai-picker-card{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:8px 14px;
  width:100%;
  padding:12px 13px;
  border:1px solid rgba(139,111,255,.32);
  border-radius:14px;
  background:rgba(24,22,49,.66);
  color:#fff;
  text-align:left;
  cursor:pointer;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}

.pp-ai-picker-card:hover{
  transform:translateY(-1px);
  border-color:rgba(139,111,255,.62);
  background:rgba(44,37,82,.72);
}

.pp-ai-picker-card__name{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
  font-weight:650;
}

.pp-ai-picker-card__id{
  color:#76f7c0;
  font-size:12px;
  font-weight:700;
}

.pp-ai-picker-card__reason{
  grid-column:1 / -1;
  color:rgba(232,228,255,.68);
  font-size:12px;
  line-height:1.38;
}

.pp-ai-picker-card__meta{
  grid-column:1 / -1;
  color:rgba(232,228,255,.46);
  font-size:11px;
  line-height:1.3;
}

/* =========================
   ORDER SUBMIT BLOCK
   ========================= */
.pp-order-submit-block{
  display:grid;
  grid-template-columns:minmax(210px, 320px) minmax(260px, 1fr);
  align-items:end;
  gap:12px;
  margin-top:16px;
  padding:14px;
  border:1px solid rgba(174,155,255,.13);
  border-radius:16px;
  background:rgba(15,17,32,.30);
  box-shadow:0 10px 24px rgba(7,8,18,.16);
}
.pp-order-submit-block .form-group{
  margin:0 !important;
}
.pp-order-charge-group{
  grid-column:1;
  order:1;
  min-width:0;
}
.pp-order-charge-group .control-label{
  margin:0 0 8px !important;
}
.pp-order-submit-block #charge{
  min-height:44px !important;
  height:44px !important;
  background:rgba(255,255,255,.075) !important;
  border-color:rgba(207,199,255,.18) !important;
  box-shadow:none !important;
}
.pp-order-submit-row{
  grid-column:2;
  order:2;
  align-self:end;
  margin:0 !important;
}
.pp-order-submit-row .sketch-button{
  width:100%;
  min-height:46px;
  height:46px;
  border-radius:12px;
  box-shadow:0 12px 24px rgba(138,109,249,.18);
}
.pp-order-submit-block .pp-exact-topup{
  grid-column:1 / -1;
  order:3;
  margin:0 !important;
}
.pp-order-terms-group{
  grid-column:1 / -1;
  order:4;
}

@media (max-width: 767px){
  .pp-order-submit-block{
    grid-template-columns:1fr;
  }
  .pp-order-charge-group,
  .pp-order-submit-row{
    grid-column:1;
  }
}

/* =========================
   RESPONSIVE ≤575px (оставлено)
   ========================= */
@media (max-width: 575px){
  .neworder__head{
    display:block;
    margin-bottom:18px;
    padding-bottom:18px;
  }
  .neworder__top-tools{
    justify-content:flex-start;
    margin-top:14px;
  }
  .neworder__container{ display:flex; flex-direction:column; }
  .neworder__container > div{ width:100%; max-width:none; }

  .neworder__tabs-row{
    align-items:stretch;
    flex-direction:column;
    gap:10px;
    margin:10px 0 18px;
  }
  .neworder__buttons{
    display:flex;
    flex-direction:row;
    width:100% !important;
    margin:0 !important;
    gap:8px !important;
  }
  .neworder__buttons > li{
    flex:1 1 0 !important;
    width:0 !important;
  }
  .neworder__buttons button{
    max-width:none !important;
    width:100% !important;
    min-width:0 !important;
    position:relative !important;
  }

  .pp-ai-picker-open{
    width:100%;
    min-width:0;
  }

  .change__payment.cstmnav{ flex-direction:column; }
  .change__payment.cstmnav li{ width:100%; }

  th{ white-space:nowrap; }
  .row:has(table),
  .has__table{
    overflow:auto;
    scrollbar-width: thin;
  }

  .botsect h2{
    font-size:20px;
    margin-bottom:15px;
  }
}

/* =========================
   FAVORITES / SERVICES LIST
   ========================= */
.order-fav-btn{
  background: linear-gradient(113.36deg, #8a6df9 -12.22%, #b6a3ff 179.61%);
  border-radius: 10px;

  min-width: auto;
  width: 34px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 34px;
  min-height: auto;
  position: relative;
}

div.dropdown:nth-child(1){ width:100%; }

.far.fa-star{
  font-size:14px;
  margin-right:0;
  color:#000;
  text-shadow:none;
  background:#000;
  background-clip:text;
  -webkit-background-clip:text;
}
.fas.fa-star{
  color:#ffe700;
  text-shadow: 1px 1px 7px #ffc10fb0;
}

#service-table > tbody > tr > td:nth-child(1) > span[role="button"]{
  width:56px;
  height:48px;
  background:#9277fa38;
  border-radius:22px;
  display:flex;
  justify-content:center;
  align-items:center;
}
#service-table > tbody > tr > td:nth-child(1) > span[role="button"].favorite-active{
  background: linear-gradient(113.36deg, #8a6df9 -12.22%, #b6a3ff 179.61%);
}
#service-table > tbody > tr > td:nth-child(1) > span[role="button"] > span:before{
  content:"\f004";
  font-size:16px;
  color:#fff;
  font-weight:400;
  text-shadow:none;
}

.dropdown-fav__block{ align-items:center; gap:10px; }

.order-fav-btn:before{
  content:"Добавить услугу в избранное";
  position:absolute;
  bottom: calc(100% + 8px);
  left: -20px;
  opacity:0;
  transition: opacity .3s ease;
  display:inline-block;
  padding:4px 8px;
  border-radius:10px;
  border:1px solid rgba(132,126,156,.6);
  color:#fff;
  font-family: var(--bs-font-sans-serif);
  white-space:nowrap;
  z-index:100;
  background:#242744;
  pointer-events:none;
}
.order-fav-btn:hover:before{ opacity:1; }

#category-drop > button[onclick="selectCategory(-1)"]{ display:none; }

/* =========================
   FORMS / MISC
   ========================= */
.modal .modal-dialog .modal-content .modal-body form .inp{ margin:0; }
.form-group{ margin-bottom:16px; }

.paperclip{ color:#8a6df9; }
.files-label{ color:#fff; }

div.question > div:nth-child(1){ margin-bottom:15px; }
div.question > div:nth-child(2) > a > img{ max-width:100px; max-height:100px; }

#search-field{
  position:absolute;
  left:12px;
  top:0;
  width: calc(100% - 89px);
  z-index:100;
}
#search-field button{ display:none; }
#search-field input{
  height:42px;
  border:none;
  padding: .075rem .75rem;
}

/* select2 */
.select2-results > div:nth-child(1){ scrollbar-width:none; }
.select2-container .select2-selection__text{ color:#fff; }
.select2-dropdown{ border:1px solid #f5f5f514; }
.select2-results__options,
.select2-dropdown{ background:#141627; }
.select2-results__option{ transition:.5s; }
.select2-results__option:hover{ background:#f5f5f514; }

/* комиссия/итого */
#order_extra_fee,
#order_total{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 50px;
}
#field-commission-total{ margin:0; }
#field-commission-extra_fee-copy,
#field-commission-total-copy{
  height:40px;
  align-self:center;
}
#order_total{ margin-bottom:40px; }

.page .main .main_cont .bottom_cont .main_bottom_cont .main_label{
  font-weight:600;
  font-size:18px;
}
.control-label-copy{ font-size:14px; }

/* =========================
   NAV BUTTONS (history)
   ========================= */
.nav-pills{ display:flex; flex-direction:column; }

.nav-buttons{
  display:flex;
  gap:16px;
  margin-bottom:24px;
  padding:20px 0;
  border-bottom:1px solid rgba(132,126,156,.2);
}

.col-lg-offset-2{ width:100%; }

.nav-buttons a{
  display:flex;
  align-items:center;
  justify-content:center;

  min-width:180px;
  height:46px;
  padding:0 20px;

  font-size:15px;
  font-weight:500;
  line-height:1;
  border-radius:12px;

  background: rgba(38,39,62,.4);
  border: 1px solid rgba(89,92,152,.2);
  color:#847e9c;

  white-space:nowrap;
}
.nav-buttons a:hover{ color:#fff; }
.nav-buttons div.active a{
  background: linear-gradient(113.36deg, #8a6df9 -12.22%, #b6a3ff 179.61%);
  border: 1px solid rgba(89,92,152,.2);
  color:#fff;
}

#history-search .input-group{ position:relative; margin-bottom:30px; }
#history-search .form-control{ border-radius:10px; }
#history-search .input-group-btn{
  position:absolute;
  right:20px;
  top:20px;
  transform: translate(0, -50%);
}
#history-search .btn{
  background:transparent;
  width:20px; height:20px;
  min-width:auto;
  min-height:auto;
}

/* =========================
   TABLE REFUNDS
   ========================= */
.table-refunds{ width:100%; }
.table-refunds thead th{
  padding:10px 10px;
  white-space:nowrap;
  border-right:1px solid rgba(255,255,255,.1);
  font-style:normal;
  font-weight:500;
  font-size:14px;
  line-height:18px;
  color:#fff;
  background:#696c9c;
}
.table-refunds td{
  padding:10px 10px;
  font-style:normal;
  font-weight:400;
  font-size:12px;
  line-height:15px;
  color:#a39bc0;
  border:1px solid rgba(132,126,156,.2);
}
.table-refunds td *{ color:#a39bc0; }

.alert{
  background:#696c9c;
  border:0;
  color:#fff;
}

/* =========================
   INSTRUCTION BLOCK
   ========================= */
#instruction_instruction{
  background: rgba(132,126,156,.6);
  border: 1px solid rgba(132,126,156,.6);
  border-radius:12px;
  padding:12px 14px;
  margin-top:20px;
  max-width:620px;
}
#instruction_instruction .control-label{
  font-size:14px !important;
  margin:0;
  border-bottom:1px solid #ffffff14;
  width:100%;
}
#instruction_instruction,
#instruction_instruction p,
#instruction_instruction li{
  font-size:13.5px !important;
  line-height:1.45 !important;
}
#instruction_instruction p{ margin:6px 0 !important; }
#instruction_instruction p:last-child{ margin-bottom:0 !important; }

/* =========================
   ADD FUNDS (tabs)
   ========================= */
.add-funds #form-payment{ display:block; }
.add-funds .payment__history{ display:none; }
.add-funds.history #form-payment{ display:none; }
.add-funds.history .payment__history{ display:block; }

.change__payment{
  gap:15px;
  max-width:700px;
}
.change__payment ul.cstmnav li{ width:100%; }

/* ✅ только кнопки табов (Пополнить/История) + кнопка оплаты */
.add-funds .change__payment > li > button,
.add-funds .btn_c .submitButton{
  text-transform: uppercase;
  width: 100%;
  max-width: none;
  position: relative;
}


/* payment history table */
#payment__history table{ color:#fff; }
#payment__history th,
#payment__history td{ border: 1px solid #847e9c33; }
#payment__history th{
  background:#696c9c;
  font-style:normal;
  font-weight:500;
  font-size:14px;
  line-height:18px;
  color:#fff;
  border-right:1px solid rgba(255,255,255,.1);
}
#payment__history td{
  font-style:normal;
  font-weight:400;
  font-size:12px;
  line-height:15px;
  color:#a39bc0;
}
#payment__history{
  max-height:500px;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:none;
}

/* add funds form constraints */
#form-payment .select:has(#method){ max-width:260px; }
#form-payment .btn_c{ max-width:516px; }


/* =========================
   MAIN CONT overflow
   ========================= */
.main_cont:has(.main_cont){ overflow:hidden !important; }

.repeat__button{ background:transparent; }

/* question text */
.question_text,
.question_text *{
  color:#000;
  font-weight:400;
  font-size:12px;
}
.question_text hr{ display:none; }

/* =========================
   REPEAT MODAL
   ========================= */
.repeat-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  visibility:hidden;
  opacity:0;
  background: rgba(29,30,49,.8);
  backdrop-filter: blur(2px);
  padding:20px;
  transition: all .3s ease-in-out;
  z-index:10;
}
.repeat-modal.active{ visibility:visible; opacity:1; }

.repeat-modal__window{
  background:#352f60;
  border-radius:10px;
  padding:35px 30px 30px;
  transform: translate(0, -20px);
  transition: transform .3s ease-in-out;
  position:relative;
}
.active .repeat-modal__window{ transform:none; }

.repeat-modal__close{
  position:absolute;
  top:10px;
  right:15px;
  background: url(https://promovk.ru/panel/images/close.svg) no-repeat center center/cover;
}

.repeat-modal__title{ margin-bottom:25px; }
.repeat-modal__window .btn_m{
  max-width:none;
  width:100%;
}

/* =========================
   SERVICE DESCRIPTION
   ========================= */
#service_description{
  background: rgba(37,39,66,.50);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius:15px;
  padding:20px;
  color:#f1f3fa;
  font-size:14px;
  line-height:1.6;
  margin-bottom:26px;
  position:relative;
  box-shadow:
    0 0 0 1px rgba(138,109,249,.24),
    0 12px 26px rgba(7,8,18,.24);
  transition: box-shadow .3s ease;
}
#service_description::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:15px;
  padding:1px;
  background: linear-gradient(120deg, rgba(138,109,249,.22), rgba(255,255,255,.045));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
}
#service_description .desc p{ margin:10px 0; }
#service_description .desc p:first-child{
  font-size:13px;
  color:#bbb;
  font-weight:600;
  margin-bottom:14px;
}
#service_description .desc p strong{
  color:#c1a9ff;
  font-weight:600;
}
#service_description hr{
  border:none;
  border-top:1px solid rgba(255,255,255,.1);
  margin:14px 0;
}

/* Smart service description summary */
#service_description.pp-desc-enhanced {
  font-size: 13px;
  line-height: 1.52;
}

.pp-desc-generated {
  position: relative;
}

.pp-desc-idline {
  margin: 0 190px 12px 0;
  color: rgba(248, 250, 252, 0.96);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}

.pp-desc-top-divider {
  width: 100%;
  margin: 12px 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.pp-desc-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 9px 10px;
  margin: 6px 0 14px;
}

#service_description.pp-desc-enhanced:not(.pp-desc-enhanced--has-id) .pp-desc-metrics {
  margin-top: 42px;
}

.pp-desc-metric {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(145, 118, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.022);
  box-shadow: none;
}

.pp-desc-metric__label {
  margin-bottom: 4px;
  color: rgba(226, 232, 240, 0.54);
  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: .02em;
}

.pp-desc-metric__value {
  min-width: 0;
  overflow: hidden;
  color: rgba(248, 250, 252, 0.96);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 550;
  text-overflow: ellipsis;
}

.pp-desc-rest {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(248, 250, 252, 0.90);
}

.pp-desc-rest p {
  margin: 0 0 8px;
}

.pp-desc-rest p:last-child {
  margin-bottom: 0;
}

.pp-desc-average {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(145, 118, 255, 0.22);
  border-radius: 12px;
  background: rgba(145, 118, 255, 0.075);
  color: rgba(248, 250, 252, 0.94);
  box-shadow: none;
}

.pp-desc-average__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(145, 118, 255, 0.16);
  color: #b9a4ff;
  font-size: 12px;
  line-height: 1;
}

.pp-desc-average__label {
  color: rgba(226, 232, 240, 0.62);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 500;
}

.pp-desc-average__value {
  color: rgba(248, 250, 252, 0.98);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 650;
}

@media (max-width: 576px) {
  .pp-desc-idline {
    margin-right: 0;
  }

  .pp-desc-metrics {
    grid-template-columns: 1fr;
  }

  #service_description.pp-desc-enhanced:not(.pp-desc-enhanced--has-id) .pp-desc-metrics {
    margin-top: 52px;
  }

  .pp-desc-average {
    display: flex;
    width: 100%;
  }
}

/* =========================
   SOCIAL TILES (choose social)
   ========================= */
.choose_social_net .social_nets{
  display:flex !important;
  flex-wrap:wrap;
  gap:10px 12px;
}

.choose_social_net .social_nets .social_net_btn{
  flex: 0 0 var(--social-tile-w) !important;
  width: var(--social-tile-w) !important;
  max-width: var(--social-tile-w) !important;
  height:40px;

  padding:6px 10px !important;
  font-size: var(--social-font);
  line-height:1;

  background:
    linear-gradient(140deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    rgba(12,14,28,.18) !important;
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    0 8px 18px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.16);

  border-radius:12px !important;
  color:#d5dbf0;

  display:inline-flex !important;
  align-items:center;
  gap:8px;
  position:relative;
  justify-content:flex-start;
  white-space:nowrap;
  overflow: visible !important;
  text-overflow: ellipsis;

  transition: background .2s ease, color .2s ease, border-color .2s ease,
              box-shadow .2s ease, transform .15s ease;
}

.choose_social_net .social_nets .social_net_btn::before{
  content:"";
  position:absolute;
  left:1px; right:1px; top:1px; height:38%;
  border-radius: inherit;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0));
}

/* нижнюю “полоску” отключаем (как было у тебя по итогу) */
.choose_social_net .social_nets .social_net_btn::after{ display:none !important; }

.choose_social_net .social_nets .social_net_btn .icon img{
  width: var(--social-icon);
  height: var(--social-icon);
  transition: transform .2s ease, filter .2s ease, opacity .2s ease;
  opacity:.95;
}

.choose_social_net .social_nets .social_net_btn:hover{
  color:#fff;
  background:
    linear-gradient(140deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    rgba(12,14,28,.20) !important;
  border-color: rgba(255,255,255,.22);
  box-shadow:
    0 10px 22px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.22);
  transform: translateY(-1px);
}
.choose_social_net .social_nets .social_net_btn:hover .icon img{ filter:brightness(1.15); }

.choose_social_net .social_nets .social_net_btn.active{
  color:#fff;
  background:
    linear-gradient(140deg, rgba(122,108,245,.14), rgba(122,108,245,.06)),
    rgba(12,14,28,.20) !important;
  border-color: rgba(170,150,255,.34);
  box-shadow:
    0 0 0 1px rgba(170,150,255,.28),
    0 12px 26px rgba(10,12,18,.32) !important; /* без inset */
}
.choose_social_net .social_nets .social_net_btn.active .icon img{ filter:brightness(1.35); }

/* отключаем верхний блик на активной */
.choose_social_net .social_nets .social_net_btn.active::before{ content:none !important; }

.choose_social_net .social_nets .social_net_btn:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 2px rgba(122,108,245,.55),
    0 10px 22px rgba(0,0,0,.34);
}

@media (max-width: 1440px){ :root{ --social-tile-w:190px; } }
@media (max-width: 1200px){ :root{ --social-tile-w:180px; --social-icon:15px; --social-font:13px; } }
@media (max-width: 992px){  :root{ --social-tile-w:170px; } }
@media (max-width: 575px){
  .choose_social_net .social_nets{ gap:8px 10px; }
  .choose_social_net .social_nets .social_net_btn{
    flex: 0 0 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    height:38px;
    padding:6px 8px !important;
    font-size:12px;
    border-radius:7px !important;
  }
  .choose_social_net .social_nets .social_net_btn .icon img{
    width:14px;
    height:14px;
  }
}

/* скрытие плиток */
@media (max-width: 767px){
  .choose_social_net .social_net_btn.hide-on-mobile{ display:none !important; }
}
@media (min-width: 768px){
  .choose_social_net .social_net_btn.hide-on-desktop{ display:none !important; }
}
.choose_social_net .social_net_btn.hide-everywhere{ display:none !important; }

/* =========================
   ORDERS TABLE SMALL FIXES
   ========================= */
.orders_table td .order-id-wrap{ margin-bottom:0; }
.order-id-wrap{ margin-bottom:0 !important; }

td:has(.order-id-wrap){
  display:flex;
  flex-direction:column;
  gap:10px;
}

.order-status-chip{
  display:inline-block;
  padding:2px 8px;
  font-size:11px;
  line-height:1.1;
  border-radius:4px;
  color:#b9b2d3;
  border:1px solid rgba(185,178,211,.35);
  background: rgba(185,178,211,.08);
  white-space:nowrap;
}

/* service-name cell alignment */
.table .service-name{
  display:flex !important;
  justify-content: space-between;
  align-items:flex-start !important;
  gap:12px;
}
.table .service-name .service-meta{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
  flex:1 1 auto;
}
.table .service-name .service-title{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.table .service-name > .update__neworder{
  margin-left:auto;
  align-self:flex-start;
  flex:0 0 auto;
  white-space:nowrap;
}

/* =========================
   SERVICES TABLE (fix conflicts)
   ========================= */
#service-table{
  width:100%;
  table-layout:auto !important;
  border-collapse:separate;
  border-spacing:0;
}

#service-table thead,
#service-table tbody{ display:table-header-group !important; }
#service-table tr{ display:table-row !important; }
#service-table th,
#service-table td{ display:table-cell !important; vertical-align:middle; box-sizing:border-box; }

#service-table thead th{
  white-space:normal;
  word-break:break-word;
  line-height:1.25;
  overflow:visible;
  text-overflow:clip;
  font-size:13px;
  padding:12px 10px;
}
#service-table td{ padding:10px 14px; }

/* fav */
#service-table > thead > tr > th:first-child,
#service-table > tbody > tr > td:first-child{
  width:64px;
  text-align:center;
}
/* ID */
#service-table > thead > tr > th:nth-child(2),
#service-table > tbody > tr > td:nth-child(2){
  width:84px;
  text-align:center;
  white-space:nowrap;
}
/* name */
#service-table th.width-service-name,
#service-table td.service-name{
  width:auto !important;
  max-width:100% !important;
}
#service-table td.service-name{
  white-space:normal !important;
  word-break:break-word;
  overflow:visible !important;
  text-overflow:clip !important;
  line-height:1.35;
  padding-right:8px;
}
#service-table td.service-name .nowrap{ white-space:normal !important; }

/* price / min / max */
#service-table > thead > tr > th:nth-child(4),
#service-table > thead > tr > th:nth-child(5),
#service-table > thead > tr > th:nth-child(6),
#service-table > tbody > tr > td:nth-child(4),
#service-table > tbody > tr > td:nth-child(5),
#service-table > tbody > tr > td:nth-child(6){
  width:140px;
  text-align:center;
  white-space:nowrap;
}

/* avg time */
#service-table > thead > tr > th:nth-child(7),
#service-table > tbody > tr > td:nth-child(7){
  width:160px;
  text-align:center;
  white-space:nowrap;
}

/* last (desc/button) */
#service-table > thead > tr > th:last-child,
#service-table > tbody > tr > td:last-child{
  width:110px;
  text-align:center;
  white-space:nowrap;
}

/* =========================
   Steam icon
   ========================= */
.ico-steam{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
}
.ico-steam i.fab.fa-steam-symbol{
  font-size:20px !important;
  width:20px !important;
  height:20px !important;
  line-height:20px !important;
  display:block;
  vertical-align:middle;
}
i.fab.fa-steam-symbol{ margin-right:12px; }

/* =========================
   NEW ORDER SORT (one final version)
   ========================= */
.neworder-sort{
  display:flex !important;
  align-items:center;
  flex-wrap:nowrap !important;
  gap:14px;
  white-space:nowrap !important;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
}
.neworder-sort::-webkit-scrollbar{ display:none; }

.neworder-sort__text{
  display:inline-flex !important;
  align-items:center;
  gap:4px;
  white-space:nowrap;
  margin:0;
  padding:0;
  font-size:12px;
  color: rgba(255,255,255,.7);
}
.neworder-sort__text::after{
  content: ":";
  margin-left:4px;
  margin-right:10px;
  opacity:.7;
}

.neworder-sort__reset-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  margin:0 2px;
  color:#9aa2d6;
  cursor:pointer;
  background:none;
  border:0;
  padding:0;
  line-height:1;
  transition: transform .15s ease, color .15s ease, opacity .15s ease;
}
.neworder-sort__reset-icon:hover{ color:#b7bef2; transform:scale(1.04); }

.neworder-sort__item{
  display:inline-flex !important;
  align-items:center;
  margin:0;
  padding:0;
  position:relative;
  color: rgba(255,255,255,.7);
  cursor:pointer;
}

.neworder-sort__item .neworder-sort__item-text{
  font-size:12px !important;
  line-height:1.2;
  font-weight:400 !important;
  white-space:nowrap;
}

.neworder-sort__item::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  height:1px;
  width:0;
  background-color:#8a6df9;
  transition: width .25s ease;
}

.neworder-sort__item:hover{ color:#fff; }
.neworder-sort__item:has(input:checked){ color:#8a6df9; }
.neworder-sort__item:has(input:checked)::after{ width:100%; }

/* гарантия — первая буква чуть меньше */
.neworder-sort__item input[value="guarantee"] + .neworder-sort__item-text::first-letter{
  font-size:10px;
  line-height:1;
  color: rgba(255,255,255,.35);
  margin-right:4px;
}
.neworder-sort__item:has(input[value="guarantee"]:checked) > .neworder-sort__item-text::first-letter{
  color: rgba(255,255,255,.75);
}

@media (max-width: 480px){
  .neworder-sort{ gap:12px; }
  .neworder-sort__text{ font-size:12px; gap:3px; }
  .neworder-sort__text::after{ margin-right:8px; }
  .neworder-sort__reset-icon{ width:15px; height:15px; }
  .neworder-sort__item .neworder-sort__item-text{ font-size:11px !important; }
}

/* =========================
   TICKETS / ANSWERS (admin bubble)
   ========================= */
.answer.ticket-answer-admin{ margin-bottom:16px; }

.answer.ticket-answer-admin .answer_text{
  background:#2C2C54 !important;
  color:#fff !important;
  border-radius:12px !important;
  padding:12px 16px !important;
  border:1px solid rgba(255,255,255,.06);
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

.answer.ticket-answer-admin .answer_text p{
  margin:0;
  line-height:1.5;
  font-size:14px;
}

.answer.ticket-answer-admin .date{
  margin-top:6px;
  margin-left:4px;
  font-size:12px;
  color:#b5bdd7;
}

.answer.ticket-answer-admin .answer_text a{
  color:#4DA3FF !important;
  text-decoration: underline !important;
  font-weight:500;
  transition: color .2s ease, background .2s ease;
}
.answer.ticket-answer-admin .answer_text a:hover{
  color:#fff !important;
  background: rgba(77,163,255,.2);
  border-radius:4px;
  padding:0 2px;
}

/* =========================
   SECTION TABS MINI
   ========================= */
.section-tabs-top{
  display:flex;
  align-items:center;
  margin-bottom:18px;
}
.section-tabs-mini{
  display:flex;
  gap:10px;
  list-style:none;
  margin:0;
  padding:0;
}
.section-tabs-mini li a{
  display:inline-block;
  padding:7px 14px;
  border-radius:8px;
  background: rgba(122,108,245,.10);
  color:#d4cffb;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  border: 1px solid rgba(122,108,245,.25);
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.section-tabs-mini li a:hover{
  background: rgba(122,108,245,.25);
  color:#fff;
  transform: translateY(-1px);
}
.section-tabs-mini li.active a{
  background:#7a6cf5;
  color:#fff;
  border-color:#7a6cf5;
}

/* =========================
   TOP INFO GLASS CARDS
   ========================= */
.page .main .main_cont .bottom_cont .top_info> :is(.card,.card_info,.card_info2,.balance){
  position:relative;
  border-radius:14px;
  overflow:visible !important;

  background: linear-gradient(180deg,var(--g-a),var(--g-b)), var(--g-wash) !important;
  border:1px solid var(--g-brd) !important;

  -webkit-backdrop-filter: blur(10px) saturate(125%) !important;
  backdrop-filter: blur(10px) saturate(125%) !important;

  box-shadow: 0 8px 20px rgba(10,12,18,.20), inset 0 1px 0 var(--g-inset) !important;
  transition: .2s ease;
}
.page .main .main_cont .bottom_cont .top_info> :is(.card,.card_info,.card_info2)::after{
  content:"";
  position:absolute;
  left:1px; right:1px; top:1px; height:36%;
  pointer-events:none;
  border-radius:inherit;
  background: linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,0));
}
.page .main .main_cont .bottom_cont .top_info> .balance::before,
.page .main .main_cont .bottom_cont .top_info> .balance::after{ content:none !important; display:none !important; }

.page .main .main_cont .bottom_cont .top_info> :is(.card,.card_info,.card_info2,.balance):hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(10,12,18,.25), inset 0 1px 0 rgba(255,255,255,.28) !important;
  border-color: rgba(255,255,255,.22) !important;
}

.page .main .main_cont .bottom_cont .top_info :is(.card,.card_info,.card_info2,.balance) .desc span,
.page .main .main_cont .bottom_cont .top_info :is(.card,.card_info,.card_info2,.balance) .desc .h3,
.page .main .main_cont .bottom_cont .top_info .balance .txt{
  color:#fff !important;
  text-shadow:none;
}

.page .main .main_cont .bottom_cont .top_info .balance .txt,
.page .main .main_cont .bottom_cont .top_info .balance .txt::before,
.page .main .main_cont .bottom_cont .top_info .balance .txt::after{
  background:none !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  border-radius:0 !important;
  display:inline !important;
  line-height:1.2 !important;
}

.page .main .main_cont .bottom_cont .top_info .balance .currency_select{ position:relative; z-index:2; }
.page .main .main_cont .bottom_cont .top_info .balance .currency_select .dropdown-menu{
  position:absolute;
  right:0;
  top: calc(100% + 8px);
  z-index:9999;
  border-radius:10px;
  background: rgba(28,30,40,.9);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border:1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 24px rgba(0,0,0,.28);
}

/* =========================
   ICON IMG URL (one base, no duplicates)
   ========================= */
.icon-img-url{
  display:inline-block !important;
  width: var(--pp-icon) !important;
  height: var(--pp-icon) !important;
  line-height: var(--pp-icon) !important;
  vertical-align: -0.125em !important;
  transform:none !important;
  background-size:contain !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  margin-right:6px !important;
}

.icon-max{ background-image:url("https://storage.perfectcdn.com/61d3fp/n8kixsjprpus3x4z.png"); }
.icon-yamus{ background-image:url("https://storage.perfectcdn.com/61d3fp/7n3taab04q5sily2.svg"); }
.icon-ap{ background-image:url("https://storage.perfectcdn.com/61d3fp/nm6r5084ptehw5if.svg"); }
.icon-access{ background-image:url("https://storage.perfectcdn.com/61d3fp/4cfhmklflebtz72g.svg"); }
.icon-boostkill{ background-image:url("https://storage.perfectcdn.com/61d3fp/gcnj3dhrx7k58nnf.svg"); }
.icon-rutube{ background-image:url("https://promovk.ru/panel/icon/rutube.png"); }

.icon-onlyfans{ background-image:url("https://promovk.ru/panel/icon/OnlyFans.png") !important; }
.icon-img-url.icon-onlyfans{ width:20px !important; height:20px !important; line-height:20px !important; margin-right:8px !important; transform:translateY(1px) !important; }

.icon-discord{ background-image:url("https://promovk.ru/panel/icon/discord.png") !important; }
.icon-img-url.icon-discord{ width:20px !important; height:20px !important; line-height:20px !important; margin-right:8px !important; transform:translateY(1px) !important; }

.icon-apple{ background-image:url("https://promovk.ru/panel/icon/iTunes.png") !important; }
.icon-img-url.icon-apple{ width:20px !important; height:20px !important; line-height:20px !important; margin-right:8px !important; transform:translateY(1px) !important; }

/* =========================
   ORDERS HEADER BUTTONS
   ========================= */
.orders-header-icon-btn,
.orders-header-support-btn{
  margin-left:6px;
  vertical-align:middle;
  border: 1px solid rgba(122,108,245,.35);
  border-radius:999px;
  padding:4px 7px;
  font-size:11px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  gap:4px;
  background: rgba(15,16,35,.9);
  color:#b9b2d3;
  cursor:pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, opacity .2s ease;
}

.orders-header-icon-btn svg,
.orders-header-support-btn svg{
  width:14px;
  height:14px;
  flex-shrink:0;
  pointer-events:none;
}
.orders-header-icon-btn svg path,
.orders-header-support-btn svg path{ fill: currentColor; }

.orders-header-icon-btn[disabled],
.orders-header-support-btn[disabled]{
  opacity:.4;
  cursor:default;
}

.orders-header-icon-btn:not([disabled]):hover,
.orders-header-support-btn:not([disabled]):hover{
  background: rgba(122,108,245,.18);
  border-color: rgba(122,108,245,.7);
  color:#fff;
}

.orders-header-support-btn{
  background: linear-gradient(135deg,#7a6cf5,#a174ff);
  border-color: transparent;
  color:#fff;
}
.orders-header-support-btn[disabled]{
  background: linear-gradient(135deg,#4f488b,#6a5db2);
}

@media (max-width: 1100px){
  .orders-header-support-text{ display:none; }
  .orders-header-support-btn{ padding:4px; }
}

/* =========================
   SUPPORT ROW BUTTON
   ========================= */
.support-row-btn{
  border:none;
  background: rgba(139,123,255,.12);
  border-radius:999px;
  width:26px;
  height:26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  margin-left:6px;
  cursor:pointer;
  color:#b39bff;
  transition: background .2s ease, color .2s ease, transform .1s ease, box-shadow .2s ease;
}
.support-row-btn svg{ width:16px; height:16px; pointer-events:none; }
.support-row-btn svg path{ fill: currentColor; }
.support-row-btn:hover{
  background: rgba(179,155,255,.25);
  color:#fff;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 0 8px rgba(179,155,255,.5);
}

.btn_restore.is-loading{
  opacity:.7;
  pointer-events:none;
}

/* =========================
   DRIPFEED RUNS LINK
   ========================= */
.runs-cell{
  white-space:nowrap;
  font-family: monospace;
}
.orders_table td .runs-current-link,
.orders_table td .runs-current-link:link,
.orders_table td .runs-current-link:visited{
  color:#ffd36f;
  font-weight:700;
  text-decoration: underline;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
  cursor:pointer;
}
.orders_table td .runs-current-link{
  padding:1px 6px;
  border-radius:999px;
  background: rgba(255,211,111,.12);
}
.orders_table td .runs-current-link:hover{
  color:#fff;
  background: rgba(255,211,111,.28);
  text-shadow: 0 0 6px rgba(255,211,111,.8);
}
.runs-total{ color:#b9b2d3; opacity:.75; }
.runs-separator{ color:#b9b2d3; margin:0 2px; }

/* =========================
   ORDER PRESETS — FINAL CLEAN
   (label + select + buttons in one row)
   ========================= */

/* Сам блок пресетов */
.order-presets{
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(15,23,42,.28);
  border: 1px solid rgba(148,163,184,.16);
  margin-bottom: 12px;

  width: 100%;
  max-width: 400px;     /* общий “размер карточки” */
}

/* СТРОКА: label + select + buttons */
.order-presets__row{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;    /* ✅ строго в одну линию */
}

/* Лейбл "ШАБЛОНЫ ЗАКАЗА ?" (теперь он должен быть в row) */
.order-presets__label{
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.65);

  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* Вопросик */
.order-presets__info{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.70);
  background: rgba(0,0,0,.20);
  cursor: help;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.order-presets__info:hover{
  border-color: rgba(151,71,255,.9);
  color: #fff;
  background: rgba(151,71,255,.25);
}

/* =========================
   SELECT — короткий
   ========================= */

/* 🔧 ОДНА НАСТРОЙКА: ширина селекта */
:root{
  --preset-select-w: 150px; /* поменяй на 130/140/160/180 */
}

/* обычный <select> */
.order-presets__select,
#order-presets-select{
  flex: 0 0 var(--preset-select-w);
  width: var(--preset-select-w);
  min-width: var(--preset-select-w);
  max-width: var(--preset-select-w);

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  height: 34px !important;      /* ← меняй это число */
  min-height: 34px !important;
  line-height: 34px !important; /* чтобы текст был по центру */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* если PP рисует bootstrap-select (видимая кнопка) */
.order-presets__row .bootstrap-select,
.order-presets__row .bootstrap-select > .dropdown-toggle{
  flex: 0 0 var(--preset-select-w);
  width: var(--preset-select-w);
  min-width: var(--preset-select-w);
  max-width: var(--preset-select-w);

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* если PP рисует select2 */
.order-presets__row .select2-container{
  flex: 0 0 var(--preset-select-w);
  width: var(--preset-select-w) !important;
  min-width: var(--preset-select-w);
  max-width: var(--preset-select-w);
}

/* =========================
   BUTTONS
   ========================= */
.order-presets__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 6px 12px;
  border-radius: 999px;

  border: 1px solid rgba(148,163,184,.26);
  background: rgba(15,23,42,.62);
  color: #d1d5db;

  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.order-presets__btn:hover{
  background: rgba(30,64,175,.35);
  border-color: rgba(129,140,248,.65);
  color: #e5e7eb;
  transform: translateY(-1px);
}
.order-presets__btn:active{ transform: translateY(0); }

.order-presets__btn--danger{
  border-color: rgba(248,113,113,.34);
  background: rgba(30,41,59,.62);
  color: #fca5a5;
}
.order-presets__btn--danger:hover{
  background: rgba(127,29,29,.45);
  border-color: rgba(248,113,113,.8);
  color: #fecaca;
}

/* Подсказку снизу убираем, чтобы всё было в 1 строку */
.order-presets__hint{
  display: none;
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 520px){
  .order-presets__row{
    flex-wrap: wrap; /* на мобилке можно переносить */
  }

  .order-presets__select,
  #order-presets-select,
  .order-presets__row .bootstrap-select,
  .order-presets__row .bootstrap-select > .dropdown-toggle,
  .order-presets__row .select2-container{
    flex: 1 1 100%;
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
  }
}

/* Отступы под твой дизайн */
@media (max-width: 767px){
  .order-presets{ margin-top: 12px; }
  .neworder__tabs-row{ margin-bottom: 16px; }
}


/* =========================
   PRESET MODAL (glass)
   ========================= */
.preset-modal .modal-dialog{
  max-width:440px;
  margin:1.75rem auto;
}

.preset-modal .modal-content{
  position:relative;
  background:
    radial-gradient(circle at top left, rgba(96,165,250,.35), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56,189,248,.25), transparent 50%),
    rgba(5,8,22,.55);

  border-radius:18px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    0 24px 80px rgba(15,23,42,.95),
    0 0 0 1px rgba(15,23,42,.9) inset;

  color:#e5e7eb;
  padding:20px 22px 18px;

  backdrop-filter: blur(24px) saturate(180%) contrast(1.05);
  -webkit-backdrop-filter: blur(24px) saturate(180%) contrast(1.05);
  overflow:hidden;
}

.preset-modal .modal-content::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(255,255,255,.14), transparent 40%);
  opacity:.8;
  pointer-events:none;
}
.preset-modal .modal-content::after{
  content:"";
  position:absolute;
  inset: auto 8px 6px;
  height:30px;
  background: radial-gradient(ellipse at bottom, rgba(15,23,42,.75), transparent 70%);
  pointer-events:none;
}

.preset-modal .modal-header{ border-bottom:none; padding:0 0 14px; }
.preset-modal .modal-footer{
  border-top:none;
  padding:16px 0 0;
  display:flex;
  justify-content:flex-end;
  gap:10px;
}

.preset-modal .modal-title{
  font-size:15px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#f9fafb;
}

.preset-modal .btn-close{
  filter: invert(1);
  opacity:.6;
  box-shadow:none !important;
}
.preset-modal .btn-close:hover{ opacity:1; }

.preset-modal .btn{
  border-radius:999px;
  font-size:13px;
  font-weight:500;
  padding:0 18px;
  height:34px;
  border-width:1px;
  border-style:solid;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: background .18s ease, border-color .18s ease, transform .12s ease, box-shadow .18s ease, opacity .15s ease;
}

/* primary */
.preset-modal .btn-primary{
  background: linear-gradient(135deg, rgba(59,130,246,.35), rgba(96,165,250,.22));
  color:#fff;
  border-color: rgba(96,165,250,.7);
  box-shadow:
    0 10px 30px rgba(37,99,235,.6),
    0 0 0 1px rgba(15,23,42,.9) inset;
}
.preset-modal .btn-primary:hover{
  background: linear-gradient(135deg, rgba(59,130,246,.5), rgba(129,140,248,.32));
  box-shadow:
    0 12px 32px rgba(37,99,235,.7),
    0 0 0 1px rgba(191,219,254,.7) inset;
  transform: translateY(-1px);
}
.preset-modal .btn-primary:active{
  transform: translateY(0);
  box-shadow:
    0 6px 18px rgba(37,99,235,.55),
    0 0 0 1px rgba(147,197,253,.7) inset;
}

/* secondary */
.preset-modal .btn-secondary{
  background: linear-gradient(135deg, rgba(148,163,184,.22), rgba(51,65,85,.16));
  color:#e5e7eb;
  border-color: rgba(148,163,184,.65);
  box-shadow:
    0 8px 24px rgba(15,23,42,.9),
    0 0 0 1px rgba(15,23,42,.85) inset;
}
.preset-modal .btn-secondary:hover{
  background: linear-gradient(135deg, rgba(148,163,184,.3), rgba(71,85,105,.22));
  border-color: rgba(209,213,219,.9);
  transform: translateY(-1px);
}
.preset-modal .btn-secondary:active{
  transform: translateY(0);
  box-shadow:
    0 5px 16px rgba(15,23,42,.95),
    0 0 0 1px rgba(148,163,184,.9) inset;
}

/* danger */
.preset-modal .btn-danger{
  background: linear-gradient(135deg, rgba(248,113,113,.45), rgba(239,68,68,.35));
  color:#fff;
  border-color: rgba(248,113,113,.95);
  box-shadow:
    0 10px 30px rgba(220,38,38,.7),
    0 0 0 1px rgba(15,23,42,.9) inset;
}
.preset-modal .btn-danger:hover{
  background: linear-gradient(135deg, rgba(248,113,113,.65), rgba(239,68,68,.5));
  border-color: rgba(254,202,202,1);
  box-shadow:
    0 12px 34px rgba(220,38,38,.8),
    0 0 0 1px rgba(254,226,226,.9) inset;
  transform: translateY(-1px);
}
.preset-modal .btn-danger:active{
  transform: translateY(0);
  box-shadow:
    0 6px 20px rgba(185,28,28,.75),
    0 0 0 1px rgba(254,202,202,.9) inset;
}

.preset-modal .btn:focus{
  outline:none;
  box-shadow:
    0 0 0 1px rgba(15,23,42,1) inset,
    0 0 0 2px rgba(59,130,246,.7);
}

/* backdrop */
.modal-backdrop.show{
  background: radial-gradient(circle at top, rgba(15,23,42,.96), rgba(15,23,42,1));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* =========================
   TOOLTIP (soft)
   ========================= */
.tooltip{ opacity:1; }
.tooltip .tooltip-inner{
  background: radial-gradient(circle at top, rgba(151,71,255,.18), rgba(8,10,28,.96));
  border-radius:10px;
  padding:8px 12px;
  font-size:12px;
  line-height:1.35;
  color:#f2ecff;
  max-width:260px;
  text-align:left;
  border:1px solid rgba(151,71,255,.45);
  box-shadow:
    0 10px 20px rgba(0,0,0,.45),
    0 0 8px rgba(151,71,255,.45);
}

/* стрелки (BS4+BS5) */
.tooltip.bs-tooltip-top .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="top"] .arrow::before,
.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before{
  border-top-color: rgba(8,10,28,.96);
}
.tooltip.bs-tooltip-bottom .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="bottom"] .arrow::before,
.tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before{
  border-bottom-color: rgba(8,10,28,.96);
}
.tooltip.bs-tooltip-left .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="left"] .arrow::before,
.tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before{
  border-left-color: rgba(8,10,28,.96);
}
.tooltip.bs-tooltip-right .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="right"] .arrow::before,
.tooltip.bs-tooltip-end .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before{
  border-right-color: rgba(8,10,28,.96);
}

/* =========================
   BLACKLIST UI
   ========================= */
.blacklist-btn-blocked{
  opacity:.55;
  cursor:not-allowed !important;
  box-shadow: 0 0 0 1px rgba(239,68,68,.55), 0 0 14px rgba(239,68,68,.35);
}

/* toast */
#blacklist-toast.blacklist-toast{
  position:fixed;
  left:50%;
  bottom:40px;
  transform: translateX(-50%) translateY(20px);
  padding:10px 16px;
  max-width:320px;
  background: rgba(15,23,42,.96);
  border-radius:12px;
  border: 1px solid rgba(248,113,113,.8);
  box-shadow: 0 18px 40px rgba(0,0,0,.75);
  color:#fee2e2;
  font-size:13px;
  line-height:1.4;
  opacity:0;
  pointer-events:none;
  z-index:9999;
  transition: opacity .18s ease, transform .18s ease;
}
#blacklist-toast.blacklist-toast--visible{
  opacity:1;
  transform: translateX(-50%) translateY(0);
}

/* =========================
   SMALL MISC
   ========================= */
.btn_restore.is-loading{ opacity:.7; pointer-events:none; }



/* =========================================================
   ✅ ADD FUNDS (Комиссия / Итоговая сумма):
   1) уменьшаем шрифт заголовков и значений
   2) выравниваем заголовки слева и поля справа в одну линию
   3) фиксируем ширину правой колонки (ПК), на мобилке — в столбик
   ВСТАВЬ В САМЫЙ НИЗ style.css
   ========================================================= */

:root{
  --af-right-col: 380px;   /* ширина правых полей на ПК */
  --af-gap-x: 26px;        /* расстояние между текстом и полем */
  --af-gap-y: 14px;        /* расстояние между строками */
  --af-label-fs: 13px;     /* размер заголовков слева */
  --af-input-fs: 13px;     /* размер цифр в полях */
  --af-input-h: 42px;      /* высота полей */
}

/* ПК/планшеты */
.add-funds #order_extra_fee,
.add-funds #order_total{
  display: grid !important;
  grid-template-columns: 1fr var(--af-right-col) !important;
  column-gap: var(--af-gap-x) !important;
  row-gap: var(--af-gap-y) !important;
  align-items: center !important;
  margin: 0 0 16px !important;
}

/* Правая колонка (поля обычно идут вторыми) — прижать вправо */
.add-funds #order_extra_fee > :nth-child(even),
.add-funds #order_total     > :nth-child(even){
  justify-self: end !important;
  width: 100% !important;
}

/* Левая колонка (заголовки) — компактнее и без лишних отступов */
.add-funds #order_extra_fee > :nth-child(odd),
.add-funds #order_total     > :nth-child(odd){
  margin: 0 !important;
  padding: 0 !important;
  font-size: var(--af-label-fs) !important;
  line-height: 1.2 !important;
  opacity: .9;
}

/* Если заголовок внутри label/control-label/main_label */
.add-funds #order_extra_fee :is(.main_label, .control-label, .control-label-copy, label),
.add-funds #order_total     :is(.main_label, .control-label, .control-label-copy, label){
  margin: 0 !important;
  padding: 0 !important;
  font-size: var(--af-label-fs) !important;
  line-height: 1.2 !important;
  align-self: center !important;
}

/* Поля справа — одинаковая высота и шрифт */
.add-funds #order_extra_fee :is(input, .inputfeild, .form-control),
.add-funds #order_total     :is(input, .inputfeild, .form-control){
  height: var(--af-input-h) !important;
  line-height: var(--af-input-h) !important;
  font-size: var(--af-input-fs) !important;
  padding: 0 14px !important;
  box-sizing: border-box !important;
}

/* На мобилке — в столбик */
@media (max-width: 575.98px){
  .add-funds #order_extra_fee,
  .add-funds #order_total{
    grid-template-columns: 1fr !important;
    row-gap: 10px !important;
  }

  .add-funds #order_extra_fee > :nth-child(even),
  .add-funds #order_total     > :nth-child(even){
    justify-self: stretch !important;
  }
}


 #orders-drop .service-price,
#order-dd #order-services .service-price{
  font-weight: 600;
  color: #d8ccff;
  font-variant-numeric: tabular-nums;

  /* ✅ меньше размер */
  font-size: 13px;
  line-height: 1.15;

  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-color: rgba(151,71,255,.75);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;

  text-shadow: 0 0 10px rgba(151,71,255,.25);
}

#orders-drop .dropdown-item:hover .service-price{
  text-decoration-color: rgba(185,116,255,.95);
  text-shadow: 0 0 14px rgba(151,71,255,.35);
}

#orders-drop .service-premium-star,
#order-dd #order-services .service-premium-star {
  display: inline-block;
  margin: 0 4px 0 2px;
  color: #9b86ff;
  font-size: 0.88em;
  line-height: 1;
  text-shadow: 0 0 8px rgba(151, 71, 255, 0.35);
  vertical-align: 0.02em;
}




/* ===== Kill glow/outline ring on this modal (even if theme uses !important) ===== */
#ticket_hint_modal.smart-hint-modal .modal-dialog,
#ticket_hint_modal.smart-hint-modal .modal-content{
  outline: none !important;
  border-image: none !important;
  filter: none !important;
  background-image: none !important;
}

/* 1) If your theme draws the ring using pseudo elements — hide them */
#ticket_hint_modal.smart-hint-modal:before,
#ticket_hint_modal.smart-hint-modal:after,
#ticket_hint_modal.smart-hint-modal::before,
#ticket_hint_modal.smart-hint-modal::after,
#ticket_hint_modal.smart-hint-modal .modal-dialog:before,
#ticket_hint_modal.smart-hint-modal .modal-dialog:after,
#ticket_hint_modal.smart-hint-modal .modal-dialog::before,
#ticket_hint_modal.smart-hint-modal .modal-dialog::after,
#ticket_hint_modal.smart-hint-modal .modal-content:before,
#ticket_hint_modal.smart-hint-modal .modal-content:after,
#ticket_hint_modal.smart-hint-modal .modal-content::before,
#ticket_hint_modal.smart-hint-modal .modal-content::after{
  opacity: 0 !important;
  visibility: hidden !important;
  box-shadow: none !important;
  background: none !important;
  border: none !important;
  filter: none !important;
}

/* 2) If the ring is actually a shadow/border on modal-content — override hard */
#ticket_hint_modal.smart-hint-modal .modal-dialog .modal-content{
  border: 0 !important;                 /* убираем внешний border, который часто даёт "ободок" */
  box-shadow: 0 18px 60px rgba(0,0,0,.55) !important; /* только нормальная тень */
  border-radius: 20px !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, rgba(55,45,110,.92), rgba(35,30,85,.92)) !important;
}

/* 3) If your theme also adds glow to dialog */
#ticket_hint_modal.smart-hint-modal .modal-dialog{
  box-shadow: none !important;
}


/* ===== Size: make modal smaller ===== */
#ticket_hint_modal.ppHintModal .ppHintModal__dialog{
  max-width: 540px !important; /* было 640/620 */
}

#ticket_hint_modal.ppHintModal .ppHintModal__content{
  border-radius: 18px !important;
}

/* ===== Body: fix "first sentence shifted left" ===== */
#ticket_hint_modal.ppHintModal .ppHintModal__body{
  padding: 12px 18px 6px !important;
}

/* единые отступы для всех строк/абзацев внутри body */
#ticket_hint_modal.ppHintModal .ppHintModal__body p{
  margin: 0 0 10px 0 !important;
}
#ticket_hint_modal.ppHintModal .ppHintModal__body ul{
  margin: 0 0 10px 0 !important;
  padding-left: 18px !important;
}
#ticket_hint_modal.ppHintModal .ppHintModal__body li{ margin: 6px 0 !important; }

/* ===== Buttons: remove green, make both in same palette ===== */
#ticket_hint_modal.ppHintModal .ppHintBtn{
  font-weight: 500 !important;     /* убрали жирный */
  height: 38px !important;         /* тоньше */
  padding: 0 14px !important;      /* меньше “мяса” */
  border-radius: 12px !important;
  font-size: 13px !important;      /* уменьшили шрифт */
  letter-spacing: 0 !important;
}

/* "Вопрос решён" — нейтральная */
#ticket_hint_modal.ppHintModal #ticket-hint-resolved.ppHintBtn{
  background: linear-gradient(135deg, rgba(140,110,255,.24), rgba(90,180,255,.18)) !important;
  border: 1px solid rgba(160,140,255,.28) !important;
  color: #fff !important;
}
#ticket_hint_modal.ppHintModal #ticket-hint-resolved.ppHintBtn:hover{
  background: linear-gradient(135deg, rgba(140,110,255,.32), rgba(90,180,255,.26)) !important;
  border-color: rgba(160,140,255,.45) !important;
}




/* "Отправить тикет всё равно" — без зелёного, фиолетовый/синий акцент */
#ticket_hint_modal.ppHintModal #ticket-hint-send.ppHintBtn{
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  color: rgba(255,255,255,.92) !important;
}
#ticket_hint_modal.ppHintModal #ticket-hint-send.ppHintBtn:hover{
   background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.24) !important;
}

/* Footer a bit tighter */
#ticket_hint_modal.ppHintModal .ppHintModal__footer{
  padding: 12px 18px 16px !important;
  gap: 10px !important;
}
/* ===== Fix: text indent mismatch (ul/li padding) ===== */
#ticket_hint_modal.ppHintModal #ticket-hint-body{
  text-align: left !important;
}

/* Убираем правый "сдвиг" у остальных строк (обычно он из-за UL) */
#ticket_hint_modal.ppHintModal #ticket-hint-body ul{
  margin: 0 0 10px 0 !important;
  padding-left: 0 !important;
  list-style: none !important;   /* если маркеры и так скрыты — ок */
}

#ticket_hint_modal.ppHintModal #ticket-hint-body li{
  margin: 6px 0 !important;
  padding-left: 0 !important;
}

/* На всякий случай одинаковые отступы всем верхним блокам */
#ticket_hint_modal.ppHintModal #ticket-hint-body > *{
  margin-left: 0 !important;
}
#ticket_hint_modal.ppHintModal .ppHintModal__footer{
  display: flex !important;
  flex-wrap: nowrap !important;          /* НЕ переносить */
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 12px !important;
}

/* кнопки не должны иметь большой min-width */
#ticket_hint_modal.ppHintModal .ppHintBtn{
  min-width: 0 !important;              /* убираем прежний min-width */
  width: auto !important;
  flex: 0 1 auto !important;            /* разрешаем сжиматься */
  white-space: nowrap !important;       /* текст в одну строку */
}

/* если вдруг кнопки всё равно широкие — ограничим */
#ticket_hint_modal.ppHintModal #ticket-hint-resolved.ppHintBtn,
#ticket_hint_modal.ppHintModal #ticket-hint-send.ppHintBtn{
  padding: 0 16px !important;
  height: 44px !important;
}



/* ===== Icon рядом с чекбоксом ===== */
.ppStretchHintIcon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  margin-left:8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.9);
  font-size:12px;
  line-height:1;
  cursor:pointer;
  user-select:none;
  box-shadow:0 6px 18px rgba(0,0,0,.18);
  transition:transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
}
.ppStretchHintIcon:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.32);
}
.ppStretchHintIcon:focus{
  outline:none !important;
  box-shadow:none !important;
}

/* ===== Модалка подсказки (изолированный класс) ===== */
.ppStretchHintModal .modal-dialog{ max-width:520px; }
.ppStretchHintModal__content{
  border:1px solid rgba(255,255,255,.16) !important;
  border-radius:18px !important;
  background:linear-gradient(180deg, rgba(44,40,92,.98), rgba(27,25,58,.98)) !important;
  box-shadow:0 30px 90px rgba(0,0,0,.55) !important;
  color:rgba(255,255,255,.92);
}
.ppStretchHintModal__header{
  border-bottom:1px solid rgba(255,255,255,.10) !important;
  padding:16px 18px !important;
}
.ppStretchHintModal__title{ font-weight:650; letter-spacing:.2px; }
.ppStretchHintModal__body{
  padding:14px 18px 6px 18px !important;
  font-size:13.5px;
  line-height:1.55;
}
.ppStretchHintModal__body p{ margin:0 0 10px 0; }
.ppStretchHintModal__body ul{ margin:0; padding-left:18px; }
.ppStretchHintModal__footer{
  border-top:1px solid rgba(255,255,255,.10) !important;
  padding:12px 18px !important;
  display:flex;
  justify-content:flex-end;
}
.ppStretchHintModal__ok{
  font-weight:400 !important;
  padding:10px 14px !important;
}

/* крестик */
.ppStretchHintModal__close{
  filter: invert(1);
  opacity:.75;
}
.ppStretchHintModal__close:hover{ opacity:1; }

/* ===== Low balance bot notice ===== */
.lowbal-settings{
  margin:-20px 0 20px;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  font-size:13px;
  line-height:1.45;
}

.lowbal-title{
  font-weight:800;
  margin:0 0 8px 0;
  font-size:14px;
}

.lowbal-text{
  opacity:.82;
  margin-bottom:12px;
  max-width:520px;
}

.lowbal-bot-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  min-height:30px;
  padding:6px 12px;
  border-radius:8px;
  background:#7f6cf5;
  color:#fff !important;
  text-decoration:none !important;
  font-size:12px;
  font-weight:600;
  line-height:1;
  transition:background-color .15s ease, transform .1s ease;
}

.lowbal-bot-link:hover{
  background:#6b57e5;
}

.lowbal-bot-link:active{
  transform:translateY(-1px);
}

.lowbal-muted{
  margin-top:9px;
  font-size:11px;
  opacity:.7;
}


/* === Wizard hint — компакт === */
.topup-wizard-hint{
  padding:10px 12px;
  font-size:12px;
  line-height:1.25;
}

.topup-wizard-hint .tw-row{
  margin-top:6px;
  gap:8px;
}

.tw-toggle{
  font-size:11px;
}

.tw-badge{
  padding:3px 8px;
  font-size:11px;
}

/* ===== Wizard + Low balance в одну линию ===== */
.topup-inline-row{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap:14px;
  align-items:start;
  margin:-20px 0 20px;
}

@media (max-width: 991px){
  .topup-inline-row{
    grid-template-columns:1fr;
  }
}



.ar-boost-invalid{
    border-color: rgba(245, 158, 11, .95) !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, .22) !important;
    outline: none !important;
  }

  .ar-boost-note{
    display:none;
    margin: 0 0 8px 0;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.25;
    border: 1px solid rgba(245, 158, 11, .35);
    background: rgba(245, 158, 11, .10);
    color: rgba(255, 255, 255, .92);
  }
  .ar-boost-note.is-visible{ display:block; }

  /* simple toast (если у тебя уже есть toast стили — можно удалить этот блок) */
  .ar-boost-toast{
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%) translateY(12px);
    opacity: 0;
    pointer-events: none;
    z-index: 99999;

    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(245, 158, 11, .35);
    background: rgba(20, 16, 32, .92);
    color: rgba(255,255,255,.92);
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
    max-width: min(720px, calc(100vw - 24px));
    font-size: 13px;
    line-height: 1.25;
  }
  .ar-boost-toast.is-visible{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition: opacity .18s ease, transform .18s ease;
  }

  #ticket-hint-send:disabled,
  #ticket-hint-send.is-disabled {
    opacity: .45;
    filter: grayscale(30%);
    cursor: not-allowed;
    pointer-events: none; /* чтобы вообще не кликалась */
    box-shadow: none;
  }

:root{
  --search-shift: 24px;
  --order-search-w: 480px;
}

/* Визуальный слой поиска с кнопкой */
.search-input.input-group.nPlatform{
  width: min(100%, var(--order-search-w)) !important;
  max-width: var(--order-search-w) !important;
  margin-left: auto !important;
  transform: translateY(var(--search-shift)) !important;
}

/* Текстовый слой поиска должен совпадать с визуальным полем */
#search-field{
  left:auto !important;
  right:0 !important;
  top:var(--search-shift) !important;
  width:min(100%, var(--order-search-w)) !important;
  max-width:var(--order-search-w) !important;
  margin:0 !important;
  z-index:101 !important;
}

.search-dropdown{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  transform:none !important;
}

.search-dropdown .select2.selection.select2-selection--single.form-control,
.search-dropdown .input-wrapper_prepend{
  transform: none !important;
}

@media (max-width: 992px){
  .search-input.input-group.nPlatform,
  #search-field,
  .search-dropdown{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    transform: none !important;
  }

  #search-field{
    left:0 !important;
    right:auto !important;
    top:0 !important;
  }
}

.pp-link-paste-btn {
  min-width: auto;
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(151, 71, 255, 0.22);
  border-radius: 8px;
  background: rgba(151, 71, 255, 0.10);
  box-shadow: none;
  cursor: pointer;

  color: rgba(226, 214, 255, 0.96);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;

  transition:
    background .16s ease,
    border-color .16s ease,
    color .16s ease,
    transform .12s ease,
    box-shadow .16s ease;
}

.pp-link-paste-btn:hover {
  background: rgba(151, 71, 255, 0.16);
  border-color: rgba(151, 71, 255, 0.34);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(151, 71, 255, 0.10);
}

.pp-link-paste-btn:active {
  transform: translateY(1px);
}

.pp-link-paste-btn:focus,
.pp-link-paste-btn:focus-visible {
  outline: none;
  box-shadow: none;
}

.pp-link-paste-btn.is-done {
  background: rgba(0, 255, 194, 0.08);
  border-color: rgba(0, 255, 194, 0.20);
  color: rgba(220, 255, 247, 0.98);
}

.pp-link-paste-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 10px;
  row-gap: 8px;
  align-items: center;
  width: 100%;
}

.pp-link-paste-wrap .form-control {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.pp-link-paste-btn {
  grid-column: 2;
  grid-row: 2;
}

.ar-privatec-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  z-index: 999999;
  max-width: min(680px, calc(100vw - 24px));
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(20, 20, 28, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  font-size: 13px;
  line-height: 1.35;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.ar-privatec-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ar-privatec-toast__row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.ar-privatec-toast__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.ar-privatec-toast__text {
  flex: 1 1 auto;
  word-break: break-word;
}

.ar-privatec-invalid {
  border-color: rgba(239, 68, 68, 0.85) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.22) !important;
  outline: none !important;
}

.ar-privatec-btn-disabled {
  opacity: 0.55 !important;
  filter: grayscale(0.25) !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

#ar-privatec-note.ar-privatec-note {
  display: none;
  width: max-content;
  max-width: 100%;
  margin: 8px 0 10px 0;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.25;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.10);
  color: rgba(255, 255, 255, 0.92);
  box-sizing: border-box;
}

#ar-privatec-note.ar-privatec-note.is-visible {
  display: block;
}
#ar-boost-note.ar-boost-note {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 100%;
  margin: 0 0 2px 0;
  box-sizing: border-box;
}

#ar-boost-note.ar-boost-note.is-visible {
  display: block;
}

.pp-service-warn{
  overflow: hidden;
  display: block;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;

  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);

  margin: 0;
  padding-top: 0;
  padding-bottom: 0;

  border-radius: 12px;
  border: 1px solid rgba(255, 99, 71, 0);
  background: rgba(255, 99, 71, 0);
  color: rgba(255,255,255,.92);
  box-shadow: 0 10px 26px rgba(0,0,0,0);

  transition:
    max-height .28s ease,
    opacity .22s ease,
    transform .22s ease,
    margin .22s ease,
    padding .22s ease,
    border-color .22s ease,
    background-color .22s ease,
    box-shadow .22s ease;
}

.pp-service-warn.is-visible{
  max-height: 240px;
  opacity: 1;
  transform: translateY(0);

  margin: 8px 0 14px;
  padding: 10px 12px;

  border-color: rgba(255, 99, 71, .28);
  background: rgba(255, 99, 71, .10);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}

.pp-service-warn__row{
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

  .pp-service-warn__icon{
    flex:0 0 auto;
    width:18px; height:18px;
    border-radius:999px;
    display:flex; align-items:center; justify-content:center;
    background: rgba(255, 99, 71, .18);
    border: 1px solid rgba(255, 99, 71, .28);
    font-size: 12px;
    line-height: 18px;
    margin-top: 1px;
  }

  .pp-service-warn__title{
    font-weight: 700;
    margin: 0 0 2px 0;
    font-size: 12.5px;
  }

  .pp-service-warn__text{
    margin: 0;
    opacity: .92;
    font-size: 12.5px;
    line-height: 1.35;
  }

  /* уважение к настройкам доступности */
  @media (prefers-reduced-motion: reduce){
    .pp-service-warn{
      transition: none !important;
      transform: none !important;
    }
  }

/* =========================
   HEADER METRICS + MOBILE BALANCE CARD
   ========================= */

.top_cont.top_cont--metrics{
  display:flex;
  align-items:center;
  gap:16px;
  overflow:visible !important;
  width:100%;
  min-width:0;
}

.top_cont.top_cont--metrics .l_side{
  flex:0 1 auto;
  min-width:0;
}

.top_cont.top_cont--metrics .header_metrics{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
  overflow:visible !important;
}

.top_cont.top_cont--metrics .r_side{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:18px;
  margin-left:auto;
  min-width:0;
  overflow:visible !important;
}

/* карточки в шапке */
.pp-hm-card{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:54px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:transparent;
  overflow:visible !important;
  min-width:0;
  box-sizing:border-box;
}

.pp-hm-balance{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex:0 1 360px;
  min-width:300px;
  max-width:420px;
}

.pp-hm-balance__left{
  min-width:0;
  flex:1 1 auto;
}

.pp-hm-balance__amount-wrap{
  display:flex;
  align-items:flex-start;
  gap:10px;
  min-width:0;
}

.pp-hm-icon{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  margin-top:2px;
  opacity:.95;
}

.pp-hm-icon img{
  display:block;
  width:18px;
  height:18px;
  max-width:18px;
  max-height:18px;
}

.pp-hm-balance__text,
.pp-hm-stat__text{
  min-width:0;
}

.pp-hm-balance__amount{
  font-size:15px;
  font-weight:700;
  line-height:1.15;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.pp-hm-currency{
  margin-top:5px;
  position:relative;
  display:inline-flex;
  overflow:visible !important;
  z-index:300;
}

.pp-hm-currency .currency_select_btn{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:0 !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  background:none !important;
  border:0 !important;
  box-shadow:none !important;
  color:rgba(255,255,255,.78) !important;
  font-size:12px !important;
  line-height:1.1 !important;
}

.pp-hm-currency .currency_select_btn::after{
  content:"▾";
  display:inline-block;
  margin-left:2px;
  font-size:12px;
  line-height:1;
  color:rgba(255,255,255,.88);
  border:0 !important;
  transform:none !important;
}

.pp-hm-currency .dropdown-menu{
  position:absolute !important;
  top:calc(100% + 8px) !important;
  left:0 !important;
  right:auto !important;
  z-index:99999 !important;
  background:rgba(17,19,34,.98) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:12px !important;
  box-shadow:0 16px 36px rgba(0,0,0,.35) !important;
}

.pp-hm-currency .dropdown-item{
  font-size:12px !important;
  color:#fff !important;
  padding:8px 12px !important;
  background:transparent !important;
}

.pp-hm-currency .dropdown-item:hover{
  background:rgba(255,255,255,.06) !important;
}

.pp-hm-balance__right{
  flex:0 0 auto;
  margin-left:12px;
}

.pp-hm-topup-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:108px;
  height:36px;
  padding:0 16px;
  border-radius:12px;
  border:1px solid rgba(167,139,250,.22);
  background:transparent;
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:600;
  line-height:1;
  white-space:nowrap;
  box-shadow:
    0 0 0 1px rgba(167,139,250,.10),
    0 0 8px rgba(167,139,250,.12),
    0 0 16px rgba(167,139,250,.06);
}

.pp-hm-topup-btn:hover{
  background:rgba(138,109,249,.14);
  border-color:rgba(167,139,250,.34);
  color:#fff;
  text-decoration:none;
}

.pp-hm-stat{
  flex:0 1 200px;
  min-width:180px;
}

.pp-hm-stat__label{
  font-size:11px;
  line-height:1.15;
  color:rgba(255,255,255,.68);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.pp-hm-stat__value{
  margin-top:3px;
  font-size:13px;
  line-height:1.15;
  font-weight:700;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* отдельная карточка баланса скрыта по умолчанию */
.mobile-balance-card{
  display:none;
}

/* планшет + мобилка */
@media (max-width: 1280px){
  html,
  body{
    overflow-x:hidden !important;
    max-width:100% !important;
  }

  .top_cont.top_cont--metrics{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    flex-wrap:nowrap !important;
    gap:12px !important;
    width:100% !important;
    min-width:0 !important;
  }

  .top_cont.top_cont--metrics .l_side{
    flex:1 1 auto !important;
    min-width:0 !important;
    max-width:calc(100% - 220px) !important;
  }

  .top_cont.top_cont--metrics .r_side{
    flex:0 0 auto !important;
    min-width:0 !important;
    margin-left:auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:14px !important;
    white-space:nowrap !important;
  }

  .top_cont.top_cont--metrics .header_metrics{
    display:none !important;
  }

  .top_cont.top_cont--metrics .langs,
  .top_cont.top_cont--metrics .choose_lang,
  .top_cont.top_cont--metrics .exit_btn{
    display:flex !important;
    align-items:center !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

.mobile-balance-card{
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:calc(100% - 44px);
  min-width:0;
  margin:22px 0 14px 22px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  background:rgba(255,255,255,.02);
  box-sizing:border-box;
  position:relative;
  z-index:2;
}

  .mobile-balance-card__left{
    min-width:0;
    flex:1 1 auto;
  }

  .mobile-balance-card__amount-wrap{
    display:flex;
    align-items:flex-start;
    gap:10px;
    min-width:0;
  }

  .mobile-balance-card__icon{
    flex:0 0 18px;
    width:18px;
    height:18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:2px;
    opacity:.95;
  }

  .mobile-balance-card__icon img{
    display:block;
    width:18px;
    height:18px;
    max-width:18px;
    max-height:18px;
  }

  .mobile-balance-card__text{
    min-width:0;
    flex:1 1 auto;
  }

  .mobile-balance-card__amount{
    font-size:15px;
    font-weight:700;
    line-height:1.15;
    color:#fff;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .mobile-balance-card__currency{
    margin-top:4px;
    position:relative;
    display:inline-flex;
    overflow:visible !important;
    z-index:300;
  }

  .mobile-balance-card__currency .currency_select_btn{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:0 !important;
    min-width:0 !important;
    height:auto !important;
    min-height:0 !important;
    background:none !important;
    border:0 !important;
    box-shadow:none !important;
    color:rgba(255,255,255,.78) !important;
    font-size:12px !important;
    line-height:1.1 !important;
  }

  .mobile-balance-card__currency .currency_select_btn::after{
    content:"▾";
    display:inline-block;
    margin-left:2px;
    font-size:12px;
    line-height:1;
    color:rgba(255,255,255,.88);
    border:0 !important;
    transform:none !important;
  }

  .mobile-balance-card__currency .dropdown-menu{
    position:absolute !important;
    top:calc(100% + 8px) !important;
    left:0 !important;
    right:auto !important;
    z-index:99999 !important;
    background:rgba(17,19,34,.98) !important;
    border:1px solid rgba(255,255,255,.12) !important;
    border-radius:12px !important;
    box-shadow:0 16px 36px rgba(0,0,0,.35) !important;
  }

  .mobile-balance-card__currency .dropdown-item{
    font-size:12px !important;
    color:#fff !important;
    padding:8px 12px !important;
    background:transparent !important;
  }

  .mobile-balance-card__currency .dropdown-item:hover{
    background:rgba(255,255,255,.06) !important;
  }

  .mobile-balance-card__right{
    flex:0 0 auto;
    margin-left:10px;
  }

  .mobile-balance-card__topup{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:98px;
    height:34px;
    padding:0 14px;
    border-radius:12px;
    border:1px solid rgba(167,139,250,.22);
    background:transparent;
    color:#fff;
    text-decoration:none;
    font-size:12px;
    font-weight:600;
    line-height:1;
    white-space:nowrap;
    box-shadow:
      0 0 0 1px rgba(167,139,250,.10),
      0 0 8px rgba(167,139,250,.12),
      0 0 16px rgba(167,139,250,.06);
  }

  .mobile-balance-card__topup:hover{
    background:rgba(138,109,249,.14);
    border-color:rgba(167,139,250,.34);
    color:#fff;
    text-decoration:none;
  }
}
/* =========================================================
   Hidden/VIP category note
   ========================================================= */
.pp-hidden-category-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-height: 0;
  margin-top: 0;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 12px;
  background: rgba(151, 124, 255, 0.07);
  color: rgba(244, 241, 255, 0.88);
  box-shadow: none;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    max-height 0.22s ease,
    margin-top 0.22s ease,
    padding 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.pp-hidden-category-note[hidden] {
  display: none !important;
}

.pp-hidden-category-note.is-visible {
  max-height: 260px;
  margin-top: 10px;
  padding: 10px 12px;
  border-color: rgba(151, 124, 255, 0.20);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pp-hidden-category-note__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 8px;
  background: rgba(151, 124, 255, 0.13);
  color: rgba(176, 140, 255, 0.98);
  font-size: 12px;
}

.pp-hidden-category-note__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pp-hidden-category-note__title {
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.pp-hidden-category-note__text {
  color: rgba(221, 216, 244, 0.72);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

@media (max-width: 576px) {
  .pp-hidden-category-note.is-visible {
    max-height: 520px;
    padding: 10px;
  }
}

/* =========================================================
   Active accounts badge in the service description
   ========================================================= */
.pp-description-shell {
  position: relative;
  width: 100%;
}

.pp-description-shell > #service_description {
  margin-top: 0 !important;
  box-sizing: border-box;
}

.pp-active-accounts {
  position: absolute;
  z-index: 4;
  top: 17px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(221, 216, 244, 0.78);
  box-shadow: none;
  backdrop-filter: none;
  box-sizing: border-box;
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap;
  pointer-events: none;
}

.pp-active-accounts[hidden] {
  display: none !important;
}

.pp-active-accounts__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: rgba(75, 213, 134, 0.92);
}

.pp-active-accounts__icon svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.pp-active-accounts strong {
  min-width: 0;
  color: inherit;
  font: inherit;
  font-weight: 600 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-active-accounts__count {
  color: rgba(83, 226, 137, 0.96);
  font-weight: 700;
}

@media (max-width: 992px) {
  .pp-description-shell {
    margin-top: 0;
  }
}

@media (max-width: 576px) {
  .pp-active-accounts {
    top: 17px;
    left: auto;
    right: 14px;
    width: auto;
    max-width: calc(100% - 96px);
    padding: 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
  }
}

/* =========================================================
   Exact top-up for an unfinished order
   ========================================================= */
.pp-exact-topup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -8px 0 22px;
  padding: 12px 14px;
  border: 1px solid rgba(145, 118, 255, 0.28);
  border-radius: 12px;
  background: rgba(112, 83, 220, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  color: rgba(239, 236, 255, 0.92);
}

.pp-exact-topup[hidden] {
  display: none !important;
}

.pp-exact-topup__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(249, 183, 72, 0.34);
  border-radius: 50%;
  background: rgba(249, 183, 72, 0.12);
  color: #f3c36d;
  font-size: 13px;
  font-weight: 700;
}

.pp-exact-topup__content {
  flex: 1 1 auto;
  min-width: 0;
}

.pp-exact-topup__title {
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
}

.pp-exact-topup__details {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(225, 220, 247, 0.78);
}

.pp-exact-topup__detail {
  display: inline;
}

.pp-exact-topup__details strong {
  color: #f3c36d;
  font-weight: 700 !important;
}

.pp-exact-topup__sep {
  margin: 0 7px;
  color: rgba(185, 173, 235, 0.48);
}

.pp-exact-topup__hint {
  margin-top: 3px;
  font-size: 11px;
  color: rgba(199, 192, 229, 0.58);
}

.pp-exact-topup__button,
.pp-exact-topup-funds__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(151, 124, 255, 0.38);
  border-radius: 9px;
  background: rgba(126, 92, 240, 0.18);
  color: rgba(244, 241, 255, 0.98);
  box-shadow: 0 5px 15px rgba(38, 27, 82, 0.18);
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .12s ease;
}

.pp-exact-topup__button:hover,
.pp-exact-topup-funds__back:hover {
  border-color: rgba(167, 143, 255, 0.58);
  background: rgba(126, 92, 240, 0.28);
  color: #fff;
  text-decoration: none;
}

.pp-exact-topup__button:active,
.pp-exact-topup-funds__back:active {
  transform: translateY(1px);
}

.pp-exact-topup-funds {
  position: relative;
  margin: 0 0 18px;
  padding: 13px 150px 13px 14px;
  border: 1px solid rgba(145, 118, 255, 0.28);
  border-radius: 12px;
  background: rgba(112, 83, 220, 0.09);
  color: rgba(239, 236, 255, 0.92);
}

.pp-exact-topup-funds__title {
  font-size: 12px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.96);
}

.pp-exact-topup-funds__title strong {
  color: #f3c36d;
  font-weight: 700 !important;
}

.pp-exact-topup-funds__converted {
  margin-top: 4px;
  font-size: 11.5px;
  color: rgba(231, 226, 255, 0.82);
}

.pp-exact-topup-funds__converted strong {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 700 !important;
}

.pp-exact-topup-funds__text {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(199, 192, 229, 0.66);
}

.pp-exact-topup-funds__back {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

.pp-exact-topup-funds__back:active {
  transform: translateY(calc(-50% + 1px));
}

.pp-exact-topup-restored {
  position: fixed;
  z-index: 999999;
  left: 50%;
  bottom: 24px;
  max-width: calc(100vw - 28px);
  padding: 10px 14px;
  border: 1px solid rgba(75, 213, 134, 0.30);
  border-radius: 10px;
  background: rgba(23, 27, 46, 0.94);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
  color: rgba(231, 255, 241, 0.96);
  font-size: 12px;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity .18s ease, transform .18s ease;
}

.pp-exact-topup-restored.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 767px) {
  .pp-exact-topup {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: start;
    column-gap: 12px;
    row-gap: 11px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .pp-exact-topup__content {
    grid-column: 2;
    min-width: 0;
  }

  .pp-exact-topup__button {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    white-space: normal;
  }

  .pp-exact-topup__sep {
    display: none;
  }

  .pp-exact-topup__details {
    display: grid;
    gap: 2px;
  }

  .pp-exact-topup__detail {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .pp-exact-topup-funds {
    padding: 13px 14px;
  }

  .pp-exact-topup-funds__back {
    position: static;
    margin-top: 10px;
    transform: none;
  }

  .pp-exact-topup-funds__back:active {
    transform: translateY(1px);
  }
}

/* =========================================================
   Success upsell after order
   ========================================================= */
.pp-order-success {
  position: relative;
  overflow: hidden;
  padding: 16px 18px !important;
  border: 1px solid rgba(99, 102, 241, 0.28) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(74, 222, 128, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(39, 35, 71, 0.96), rgba(28, 27, 52, 0.96)) !important;
  color: #f8fafc !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22), 0 0 24px rgba(126, 100, 255, 0.10);
}

.pp-order-success h4 {
  margin: 0 34px 10px 0;
  color: #ffffff !important;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
}

.pp-order-success .close {
  color: rgba(255, 255, 255, 0.78) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.pp-success-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 7px 18px;
  margin: 6px 34px 10px 0;
}

.pp-success-summary__item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.pp-success-summary__label {
  flex: 0 0 auto;
  color: rgba(226, 232, 240, 0.62);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
}

.pp-success-summary__value {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #f8fafc;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pp-success-summary__item--link {
  grid-column: 1 / 2;
}

.pp-success-upsell {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pp-success-upsell__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.pp-success-upsell__title {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 650;
}

.pp-success-upsell__subtitle {
  margin-top: 3px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.pp-success-upsell__grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 640px;
}

.pp-success-upsell__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "badge name choose"
    "badge meta choose";
  align-items: center;
  column-gap: 9px;
  row-gap: 2px;
  min-height: 0;
  padding: 8px 10px;
  border: 1px solid rgba(151, 124, 255, 0.28);
  border-radius: 11px;
  background: rgba(17, 18, 36, 0.46);
  color: #f8fafc;
  text-align: left;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .12s ease, box-shadow .16s ease;
}

.pp-success-upsell__card:hover {
  transform: translateY(-1px);
  border-color: rgba(167, 139, 250, 0.58);
  background: rgba(45, 38, 82, 0.66);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.pp-success-upsell__badge {
  grid-area: badge;
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(82, 242, 138, 0.10);
  border: 1px solid rgba(82, 242, 138, 0.22);
  color: #52f28a;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.pp-success-upsell__name {
  grid-area: name;
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 500;
}

.pp-success-upsell__meta {
  grid-area: meta;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(226, 232, 240, 0.58);
  font-size: 10px;
  line-height: 1.2;
}

.pp-success-upsell__choose {
  grid-area: choose;
  margin-top: 0;
  color: #b9a8ff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.pp-success-upsell__note {
  display: none;
  margin-top: 6px;
  color: rgba(226, 232, 240, 0.52);
  font-size: 11px;
}

@media (max-width: 767px) {
  .pp-order-success h4 {
    font-size: 19px;
  }

  .pp-success-summary {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-right: 22px;
  }

  .pp-success-summary__item--link {
    grid-column: auto;
  }

  .pp-success-upsell__grid {
    max-width: none;
  }

  .pp-success-upsell__card {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "badge name"
      "badge meta"
      "badge choose";
  }
}
@media (max-width: 992px){
  #search-field input,
  #template-input{
    padding-left: 24px !important;
  }
}
.pp-hidden-category-note__icon.pp-lock-loop {
  position: relative;
  overflow: hidden;
}

.pp-hidden-category-note__icon.pp-lock-loop .pp-lock-closed,
.pp-hidden-category-note__icon.pp-lock-loop .pp-lock-open {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: none;
  will-change: opacity, transform;
}

.pp-hidden-category-note__icon.pp-lock-loop .pp-lock-closed {
  opacity: 1;
  animation: ppLockClosedLoop 4s ease-in-out infinite;
}

.pp-hidden-category-note__icon.pp-lock-loop .pp-lock-open {
  opacity: 0;
  animation: ppLockOpenLoop 4s ease-in-out infinite;
}

@keyframes ppLockClosedLoop {
  0%, 35% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }

  45%, 72% {
    opacity: 0;
    transform: translateY(-4px) rotate(12deg) scale(0.78);
  }

  82%, 100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes ppLockOpenLoop {
  0%, 35% {
    opacity: 0;
    transform: translateY(4px) rotate(-18deg) scale(0.75);
  }

  45%, 72% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }

  82%, 100% {
    opacity: 0;
    transform: translateY(4px) rotate(-18deg) scale(0.75);
  }
}

/* =========================================================
   SHARED UI: public pages, registration, captcha and SEO pages
   ========================================================= */
:root{
  --pp-accent:#a78bfa;
  --pp-accent-2:#8b5cf6;
}

.prov{
  font-weight:600;
  letter-spacing:.015em;
  transition:all .18s ease;
}

.prov--chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  vertical-align:middle;

  text-transform:uppercase;
  font-size:.52em;
  line-height:1;
  padding:.16em .45em;
  margin-left:6px;

  border-radius:999px;
  border:1px solid rgba(167,139,250,.26);
  background:rgba(167,139,250,.045);
  color:rgba(199,183,255,.92);

  box-shadow:0 0 0 rgba(0,0,0,0);
}

.prov--chip:hover{
  border-color:rgba(167,139,250,.40);
  background:rgba(139,92,246,.07);
  color:#d7c8ff;
  box-shadow:0 0 6px rgba(139,92,246,.12);
}

/* Registration */
.page_login{
  height:auto;
  min-height:100vh;
  overflow-x:hidden;
  overflow-y:visible;
  padding-bottom:0;
}

.page_login .registration_form{
  width:100%;
}

.page_login .registration_form__actions{
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
  margin:42px auto 0;
}

.page_login .registration_form__submit{
  margin-bottom:12px;
}

.page_login .registration_form__signin{
  margin-top:8px;
}

/* Captcha: inline widget and PerfectPanel modal */
.page .form{
  overflow:visible !important;
}

.captcha-wrap,
.page_login .registration_form__captcha{
  position:static !important;
  z-index:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  clear:both !important;
  width:100% !important;
  max-width:360px;
  margin:18px auto 0 !important;
}

.captcha-wrap .h-captcha,
.captcha-wrap .hcaptcha,
.captcha-wrap .g-recaptcha,
.registration_form__captcha .h-captcha,
.registration_form__captcha .hcaptcha,
.registration_form__captcha .g-recaptcha,
#dynamic-captcha{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
}

#module-captcha #dynamic-captcha{
  position:relative !important;
  min-height:78px !important;
  overflow:visible !important;
}

#module-captcha #h-captcha-container,
#module-captcha #g-recaptcha-container,
#module-captcha .h-captcha,
#module-captcha .hcaptcha,
#module-captcha .g-recaptcha{
  position:relative !important;
  display:block !important;
  flex:0 0 auto !important;
  width:303px !important;
  max-width:100% !important;
  min-height:78px !important;
  margin:0 auto !important;
}

#module-captcha #h-captcha-container > div:first-child,
#module-captcha #g-recaptcha-container > div:first-child{
  position:relative !important;
  min-height:78px !important;
}

.captcha-wrap iframe,
.registration_form__captcha iframe,
#dynamic-captcha iframe{
  max-width:100% !important;
}

body:has(#module-captcha){
  overflow:hidden !important;
  padding-right:0 !important;
}

body:has(#module-captcha) > .page{
  overflow-y:hidden !important;
}

#module-captcha.modal{
  position:fixed !important;
  inset:0 !important;
  z-index:10000020 !important;
  display:none;
  width:100% !important;
  height:100% !important;
  box-sizing:border-box !important;
  margin:0 !important;
  padding:24px 15px !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  background:rgba(10,11,24,.76) !important;
  -webkit-overflow-scrolling:touch;
}

#module-captcha.modal.in,
#module-captcha.modal.show{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  opacity:1 !important;
}

#module-captcha .modal-dialog{
  position:relative !important;
  width:min(500px,100%) !important;
  max-width:500px !important;
  margin:auto !important;
  transform:none !important;
  pointer-events:auto;
}

#module-captcha .modal-content{
  position:relative !important;
  width:100% !important;
  max-width:500px !important;
  padding:0 !important;
  overflow:visible !important;
  border:1px solid rgba(156,131,255,.35) !important;
  border-radius:18px !important;
  background:#24253f !important;
  box-shadow:0 24px 70px rgba(0,0,0,.46) !important;
}

#module-captcha .modal-header,
#module-captcha .pp-custom-modal-header{
  position:relative !important;
  display:grid !important;
  grid-template-columns:40px minmax(0,1fr) 40px !important;
  align-items:center !important;
  box-sizing:border-box !important;
  padding:20px 24px !important;
  border-bottom:1px solid rgba(156,131,255,.2) !important;
  color:#fff !important;
}

#module-captcha .modal-title,
#module-captcha .pp-custom-modal-header h5,
#module-captcha .pp-custom-modal-header > span:first-child{
  grid-column:2 !important;
  grid-row:1 !important;
  display:block !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  color:#fff !important;
  font-size:20px !important;
  line-height:1.3 !important;
  text-align:center !important;
}

#module-captcha .modal-header .close,
#module-captcha .pp-custom-close{
  position:static !important;
  grid-column:3 !important;
  grid-row:1 !important;
  justify-self:end !important;
  flex:0 0 auto;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#fff !important;
  font-size:26px !important;
  line-height:1 !important;
  transform:none !important;
  opacity:.72;
}

#module-captcha .modal-header .close:hover,
#module-captcha .pp-custom-close:hover{
  opacity:1;
}

#module-captcha .modal-body,
#module-captcha .pp-custom-modal-body{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
  min-height:126px !important;
  padding:24px !important;
  overflow:visible !important;
}

body:has(#module-captcha) > .modal-backdrop{
  position:fixed !important;
  inset:0 !important;
  z-index:10000010 !important;
  width:100vw !important;
  height:100vh !important;
  background:#090a17 !important;
}

body:has(#module-captcha) > .modal-backdrop.fade{
  opacity:0;
}

body:has(#module-captcha) > .modal-backdrop.in,
body:has(#module-captcha) > .modal-backdrop.show{
  opacity:.72 !important;
}

#customBackdrop.pp-custom-modal-backdrop{
  position:fixed !important;
  inset:0 !important;
  z-index:10000010 !important;
  width:100vw !important;
  height:100vh !important;
  background:rgba(9,10,23,.72) !important;
}

#module-captcha.pp-custom-modal{
  position:fixed !important;
  top:50% !important;
  left:50% !important;
  z-index:10000020 !important;
  width:min(500px,calc(100vw - 30px)) !important;
  max-width:500px !important;
  max-height:calc(100vh - 30px) !important;
  margin:0 !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  transform:translate(-50%,-50%) !important;
  border:1px solid rgba(156,131,255,.35) !important;
  border-radius:18px !important;
  background:#24253f !important;
  box-shadow:0 24px 70px rgba(0,0,0,.46) !important;
}

#module-captcha.pp-custom-modal.in{
  opacity:1 !important;
}

@media (max-width:420px){
  #module-captcha.modal{
    padding:15px 8px !important;
  }

  #module-captcha .modal-header,
  #module-captcha .modal-body,
  #module-captcha .pp-custom-modal-header,
  #module-captcha .pp-custom-modal-body{
    padding:18px 12px !important;
  }

  #module-captcha .modal-title,
  #module-captcha .pp-custom-modal-header h5,
  #module-captcha .pp-custom-modal-header > span:first-child{
    font-size:18px !important;
  }

  #module-captcha .modal-header,
  #module-captcha .pp-custom-modal-header{
    grid-template-columns:32px minmax(0,1fr) 32px !important;
  }
}

@media (max-width:767px){
  .page_login .registration_form__actions{
    margin-top:30px;
  }
}
.page_seo_platform {
  min-height: 100vh;
}

body:has(.seo-platform-page) .container:has(.seo-platform-page) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body:has(.seo-platform-page) .row:has(.seo-platform-page) {
  margin: 0 !important;
}

body:has(.seo-platform-page) [class*="col-"]:has(.seo-platform-page) {
  float: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  padding: 0 !important;
}

body:has(.seo-platform-page) .well:has(.seo-platform-page) {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.seo-platform-page,
.seo-platform-page * {
  box-sizing: border-box;
}

.seo-platform-page {
  position: relative;
  z-index: 3;
  width: 100%;
  color: #f7f5ff;
}

.seo-platform-page {
  padding: 48px 20px 80px;
}

.seo-platform-page--account,
.main_bottom_cont .seo-platform-page {
  padding: 30px 30px 60px;
}

.seo-platform-page__container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.seo-platform-page--account .seo-platform-page__container,
.main_bottom_cont .seo-platform-page .seo-platform-page__container {
  width: min(1240px, 100%);
}

.seo-platform-hero,
.seo-platform-section,
.seo-platform-cta {
  border: 1px solid rgba(156, 131, 255, 0.28);
  background: rgba(37, 39, 63, 0.94);
  box-shadow: 0 20px 50px rgba(12, 13, 29, 0.24);
}

.seo-platform-hero {
  padding: 56px;
  border-radius: 30px;
}

.seo-platform-page__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 18px;
  padding: 0 13px;
  border: 1px solid rgba(167, 139, 250, 0.42);
  border-radius: 999px;
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.seo-platform-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
}

.seo-platform-hero__lead {
  max-width: 850px;
  margin: 22px 0 0;
  color: #c7c3d8;
  font-size: 18px;
  line-height: 1.7;
}

.seo-platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.seo-platform-chips li {
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.14);
  color: #ddd7ee;
  font-size: 14px;
}

.seo-platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.seo-platform-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(167, 139, 250, 0.55);
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.seo-platform-button--primary {
  border-color: transparent;
  background: linear-gradient(113deg, #8161f4, #a78bfa);
}

.seo-platform-button:hover,
.seo-platform-button:focus-visible {
  border-color: #b6a3ff;
  background-color: rgba(167, 139, 250, 0.12);
  color: #fff;
}

.seo-platform-button--primary:hover,
.seo-platform-button--primary:focus-visible {
  border-color: transparent;
  background: linear-gradient(113deg, #7656eb, #9b7ff2);
}

.seo-platform-section {
  margin-top: 24px;
  padding: 44px;
  border-radius: 24px;
}

.seo-platform-section h2,
.seo-platform-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.2;
}

.seo-platform-section__intro {
  max-width: 850px;
  margin: 14px 0 0;
  color: #bebbd0;
  font-size: 16px;
  line-height: 1.7;
}

.seo-platform-services,
.seo-platform-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.seo-platform-service,
.seo-platform-step {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(156, 131, 255, 0.2);
  border-radius: 16px;
  background: rgba(20, 21, 39, 0.42);
}

.seo-platform-service h3,
.seo-platform-step h3 {
  margin: 0 0 10px;
  color: #f7f5ff;
  font-size: 19px;
  line-height: 1.35;
}

.seo-platform-service p,
.seo-platform-step p,
.seo-platform-note,
.seo-platform-faq p,
.seo-platform-cta p {
  margin: 0;
  color: #bdb9ce;
  font-size: 15px;
  line-height: 1.7;
}

.seo-platform-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  font-weight: 800;
}

.seo-platform-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid #8b5cf6;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.1);
}

.seo-platform-faq {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.seo-platform-faq details {
  border: 1px solid rgba(156, 131, 255, 0.2);
  border-radius: 14px;
  background: rgba(20, 21, 39, 0.36);
}

.seo-platform-faq summary {
  padding: 18px 20px;
  color: #f7f5ff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.seo-platform-faq p {
  padding: 0 20px 20px;
}

.seo-platform-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.seo-platform-related a,
.seo-footer-platforms a {
  color: #c4b5fd;
  text-decoration: none;
}

.seo-platform-related a {
  padding: 9px 13px;
  border: 1px solid rgba(167, 139, 250, 0.26);
  border-radius: 10px;
}

.seo-platform-related a:hover,
.seo-platform-related a:focus-visible,
.seo-footer-platforms a:hover,
.seo-footer-platforms a:focus-visible {
  color: #fff;
}

.seo-platform-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  padding: 36px 40px;
  border-radius: 22px;
}

.seo-platform-cta p {
  max-width: 700px;
  margin-top: 10px;
}

.seo-platform-cta .seo-platform-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.seo-footer-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 24px;
  color: #bdb9ce;
}

@media (max-width: 900px) {
  .seo-platform-services,
  .seo-platform-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-platform-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .seo-platform-page,
  .seo-platform-page--account,
  .main_bottom_cont .seo-platform-page {
    padding: 28px 15px 56px;
  }

  .seo-platform-hero,
  .seo-platform-section {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .seo-platform-hero h1 {
    font-size: 34px;
  }

  .seo-platform-hero__lead {
    font-size: 16px;
  }

  .seo-platform-services,
  .seo-platform-steps {
    grid-template-columns: 1fr;
  }

  .seo-platform-button,
  .seo-platform-cta .seo-platform-actions {
    width: 100%;
  }

  .seo-platform-cta {
    padding: 28px 22px;
  }
}

/* =========================================================
   ORDERS TABLE
   ========================================================= */
/* Делаем первую ячейку строки (ID) — вертикальной колонкой */
    .page .main .main_cont .bottom_cont .main_bottom_cont .orders_table table tbody tr td:first-child{
      display:flex !important;
      flex-direction:column !important;
      align-items:flex-start !important;
    }
    /* ID всегда виден сверху */
    .page .main .main_cont .bottom_cont .main_bottom_cont .orders_table table tbody tr td:first-child .order-id-wrap{
      display:flex !important;
      align-items:center;
      gap:6px;
      margin-bottom:10px; /* отступ между ID и кнопками/текстом */
    }
    /* Блок действий/текста под ID */
    .page .main .main_cont .bottom_cont .main_bottom_cont .orders_table table tbody tr td:first-child .order-actions.under-id{
      display:inline-flex !important;
      flex-wrap:wrap;
      align-items:center;
      gap:6px;
    }
    /* Кнопки под ID — компактные, не на всю ширину */
    .page .main .main_cont .bottom_cont .main_bottom_cont .orders_table table tbody tr td:first-child .order-actions.under-id .btn,
    .page .main .main_cont .bottom_cont .main_bottom_cont .orders_table table tbody tr td:first-child .order-actions.under-id .btn_cancal,
    .page .main .main_cont .bottom_cont .main_bottom_cont .orders_table table tbody tr td:first-child .order-actions.under-id .btn_restore{
      display:inline-block !important;
      width:auto !important;
      min-width:0 !important;
      padding:2px 8px !important;
      font-size:11px !important;
      line-height:1.1 !important;
      border-radius:4px !important;
      white-space:nowrap !important;
    }
    /* Минималистичный вид: рамка + цвет текста */
    .page .main .main_cont .bottom_cont .main_bottom_cont .orders_table table tbody tr td:first-child .order-actions.under-id .btn{
      background:transparent !important;
      border:1px solid currentColor !important;
      box-shadow:none !important;
      font-weight:500 !important;
    }
    /* Цвета */
    .page .main .main_cont .bottom_cont .main_bottom_cont .orders_table table tbody tr td:first-child .order-actions.under-id .btn_restore{ color:#539276 !important; }
    .page .main .main_cont .bottom_cont .main_bottom_cont .orders_table table tbody tr td:first-child .order-actions.under-id .btn_restore:hover{ background:#539276 !important; color:#fff !important; }
    .page .main .main_cont .bottom_cont .main_bottom_cont .orders_table table tbody tr td:first-child .order-actions.under-id .btn_cancal{ color:#e35d5d !important; }
    .page .main .main_cont .bottom_cont .main_bottom_cont .orders_table table tbody tr td:first-child .order-actions.under-id .btn_cancal:hover{ background:#e35d5d !important; color:#fff !important; }
    /* Когда вместо кнопок рендерится чистый текст — чип */
    .page .main .main_cont .bottom_cont .main_bottom_cont .orders_table table tbody tr td:first-child .order-actions.under-id .order-status-chip{
      display:inline-block; padding:2px 8px; font-size:11px; line-height:1.1; border-radius:4px; color:#b9b2d3; border:1px solid rgba(185,178,211,.35); background:rgba(185,178,211,.08); white-space:nowrap;
    }
    @media (max-width:768px){
      .page .main .main_cont .bottom_cont .main_bottom_cont .orders_table table tbody tr td:first-child .order-actions.under-id{ flex-direction:column; align-items:flex-start; gap:4px; }
    }

/* =========================================================
   LANGUAGE BANNER
   ========================================================= */
.lang-banner{ --neon:#a78bfa; --neon-glow:rgba(167,139,250,.85); position:fixed; z-index:9999; left:50%; width:100%; max-width:560px; background: rgba(17,17,17,.42); backdrop-filter: saturate(130%) blur(8px); border:1px solid rgba(255,255,255,.08); box-shadow:0 10px 30px rgba(0,0,0,.35); color:#fff; display:none; align-items:center; gap:12px; white-space:nowrap; overflow:hidden; border-radius:14px; padding:10px 16px; transform:translate(-50%, -8px); opacity:0; transition:.25s ease; }
  .lang-banner.show{ display:flex; transform:translate(-50%,0); opacity:1; }
  .lang-banner__text{ font-size:14px; line-height:1.35; opacity:.9; flex:1 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; }
  .lang-banner__actions{ margin-left:auto; display:flex; align-items:center; gap:14px; }
  .lang-opt{ appearance:none; background:transparent; border:0; color:#fff; font:inherit; font-weight:600; cursor:pointer; padding:2px 2px; position:relative; opacity:.92; letter-spacing:.01em; }
  .lang-opt::after{ content:""; position:absolute; left:8%; right:8%; bottom:-2px; height:2px; border-radius:2px; background:var(--neon); box-shadow:0 0 6px rgba(167,139,250,.85), 0 0 10px rgba(167,139,250,.85); opacity:0; transform:translateY(2px); transition:opacity .18s ease, transform .18s ease; }
  .lang-opt:hover{ opacity:1; text-shadow:0 0 6px rgba(167,139,250,.85); }
  .lang-opt:hover::after{ opacity:.6; transform:translateY(0); }
  .lang-opt.is-active{ opacity:1; text-shadow:0 0 8px rgba(167,139,250,.85); }
  .lang-opt.is-active::after{ opacity:.95; transform:translateY(0); }
  .lang-banner__close{ margin-left:8px; background:transparent; border:0; color:#aaa; font-size:18px; padding:2px 6px; cursor:pointer; }

/* =========================================================
   SEO HOME PAGE
   ========================================================= */
.seo-home-platforms,
.seo-home-guide {
  padding: 96px 0;
}

.seo-home-platforms .m_title,
.seo-home-guide .m_title {
  max-width: 820px;
  margin: 0 auto 36px;
  text-align: center;
}

.seo-home-platforms .m_title p,
.seo-home-guide .m_title p {
  margin: 16px 0 0;
  color: #b9b2d3;
  font-size: 17px;
  line-height: 1.7;
}

.seo-home-platforms__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.seo-home-platform-card {
  display: flex;
  min-height: 250px;
  padding: 30px;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(145deg, rgba(45, 43, 78, .92), rgba(27, 26, 49, .96));
  border: 1px solid rgba(139, 105, 255, .34);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(6, 5, 20, .2);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.seo-home-platform-card:hover {
  color: #fff;
  text-decoration: none;
  border-color: rgba(151, 115, 255, .8);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(6, 5, 20, .32);
}

.seo-home-platform-card:focus-visible,
.seo-home-guide__links a:focus-visible {
  outline: 3px solid rgba(151, 115, 255, .7);
  outline-offset: 3px;
}

.seo-home-platform-card__name {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 12px;
  color: #c8b6ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(139, 105, 255, .12);
  border: 1px solid rgba(139, 105, 255, .34);
  border-radius: 999px;
}

.seo-home-platform-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 25px;
  line-height: 1.25;
}

.seo-home-platform-card p {
  margin: 0 0 22px;
  color: #b9b2d3;
  font-size: 16px;
  line-height: 1.65;
}

.seo-home-platform-card__link {
  margin-top: auto;
  color: #a98cff;
  font-weight: 700;
}

.seo-home-platforms__actions {
  display: flex;
  margin-top: 30px;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.seo-home-platforms__actions .btn_m {
  display: inline-flex;
  min-width: 220px;
  justify-content: center;
  align-items: center;
}

.seo-home-guide {
  background: rgba(29, 28, 54, .4);
}

.seo-home-guide__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.seo-home-guide__grid article {
  padding: 28px;
  background: rgba(38, 37, 68, .82);
  border: 1px solid rgba(139, 105, 255, .28);
  border-radius: 22px;
}

.seo-home-guide__grid article > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #7654ef, #a88dff);
  border-radius: 13px;
}

.seo-home-guide__grid h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 21px;
  line-height: 1.3;
}

.seo-home-guide__grid p,
.seo-home-guide__notice {
  color: #b9b2d3;
  font-size: 15px;
  line-height: 1.7;
}

.seo-home-guide__grid p {
  margin: 0;
}

.seo-home-guide__notice {
  max-width: 900px;
  margin: 30px auto 0;
  padding: 20px 24px;
  text-align: center;
  background: rgba(139, 105, 255, .08);
  border: 1px solid rgba(139, 105, 255, .2);
  border-radius: 16px;
}

.seo-home-guide__links {
  display: flex;
  margin-top: 24px;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.seo-home-guide__links a {
  color: #a98cff;
  font-weight: 700;
  text-decoration: none;
}

.seo-home-guide__links a:hover {
  color: #c8b6ff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .seo-home-platforms,
  .seo-home-guide {
    padding: 72px 0;
  }

  .seo-home-guide__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .seo-home-platforms,
  .seo-home-guide {
    padding: 54px 0;
  }

  .seo-home-platforms__grid {
    grid-template-columns: 1fr;
  }

  .seo-home-platform-card {
    min-height: 0;
    padding: 24px;
    border-radius: 20px;
  }

  .seo-home-platform-card h3 {
    font-size: 22px;
  }

  .seo-home-platforms__actions,
  .seo-home-platforms__actions .btn_m {
    width: 100%;
  }
}

/* =========================================================
   PUBLIC SERVICES CATALOG
   ========================================================= */
.seo-services-intro {
  margin: 0 0 26px;
  padding: 30px;
  color: #fff;
  background: linear-gradient(145deg, rgba(45, 43, 78, .92), rgba(27, 26, 49, .96));
  border: 1px solid rgba(139, 105, 255, .34);
  border-radius: 22px;
}

.seo-services-intro__eyebrow {
  margin: 0 0 8px;
  color: #a98cff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.seo-services-intro h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.seo-services-intro > p:not(.seo-services-intro__eyebrow) {
  max-width: 900px;
  margin: 0;
  color: #b9b2d3;
  font-size: 16px;
  line-height: 1.7;
}

.seo-services-intro__links {
  display: flex;
  margin-top: 20px;
  gap: 10px;
  flex-wrap: wrap;
}

.seo-services-intro__links a {
  padding: 8px 13px;
  color: #c8b6ff;
  font-weight: 700;
  text-decoration: none;
  background: rgba(139, 105, 255, .1);
  border: 1px solid rgba(139, 105, 255, .3);
  border-radius: 999px;
}

.seo-services-intro__links a:hover {
  color: #fff;
  border-color: rgba(151, 115, 255, .75);
}

@media (max-width: 680px) {
  .seo-services-intro {
    padding: 22px;
    border-radius: 18px;
  }
}
