﻿/* =====================================================
   Notacross — Быстрая смена аккаунтов · Prime Dark Core v2.1
   Праймовский стиль, адаптирован под селекторы Nota v3.2
   Изолированный стиль, без переменных форума
   ===================================================== */

/* === Локальные переменные (ТОЛЬКО для быстровхода) === */
:root {
  --nql-bg-main: rgb(118, 102, 138);
  --nql-bg-soft: rgba(255,255,255,.04);
  --nql-bg-hover: rgba(255,255,255,.08);

  --nql-border: rgba(255,255,255,.14);
  --nql-border-soft: rgba(255,255,255,.08);

  --nql-text-main: #ffffff;
  --nql-text-dim: rgba(255,255,255,.65);
  --nql-text-soft: rgba(255,255,255,.45);

  --nql-accent: #665778;
  --nql-danger: #8c0e0e;

  --nql-radius-lg: 14px;
  --nql-radius-md: 10px;
  --nql-radius-sm: 6px;

  --nql-shadow-main: 0 18px 40px rgba(0,0,0,.55);

  /* Модалка «выгула» — праймовская палитра */
  --nota-ql-modal-bg:     rgb(118, 102, 138);
  --nota-ql-modal-color:  #ffffff;
  --nota-ql-modal-radius: 16px;
}

/* === Обёртка и кнопка-триггер (структурные, из v3.2) === */
.nota-ql {
  position: absolute;
  display: inline-block;
  top: 13px;
}
 a#nota-ql-navbtn {
    font-weight: 500;
    font-size: 11px;
    letter-spacing: -0.5px;
    color: var(--color-light1);
    text-transform: uppercase !important;
  cursor: pointer;
  user-select: none;
    position: relative;
    top: 4px;
}

/* === Панель === */
.nota-ql-pane {
  position: absolute;
  right: 0;
  top: 42px;
  z-index: 9999;

  width: 320px;
  max-width: 92vw;

  background: var(--nql-bg-main);
  color: var(--nql-text-main);

  border-radius: var(--nql-radius-lg);
  padding: 14px;

  box-shadow: var(--nql-shadow-main);

  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.nota-ql.open .nota-ql-pane {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

li#navpr_1 {
    position: relative;
    left: 120px;
}


/* === Заголовок === */
.nota-ql-pane h4 {
    margin: 0 0 8px;
    text-transform: uppercase;
    color: var(--nql-text-soft);
    font: 700 11px var(--font3);
}

/* === Список аккаунтов === */
.nota-ql-pane .list {
  max-height: 340px;
  overflow-y: auto;

  margin: 8px 0;
  padding: 6px;

  background: var(--nql-bg-soft);
  border-radius: var(--nql-radius-md);
}

/* item */
.nota-ql-pane .item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  align-items: center;

  margin-bottom: 4px;
}

/* имя */
.nota-ql-pane .namezone {
    padding: 3px 10px;
    border-radius: var(--nql-radius-sm);
    font-size: 11px;
    font-weight: 300;
    color: var(--nql-text-main);
    background: transparent;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
    text-align: left;
}

.nota-ql-pane .namezone:hover {
  background: var(--nql-bg-hover);
}

/* кнопка удаления */
.nota-ql-pane .btn.danger {
  width: 26px;
  height: 26px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--nql-border-soft);

  color: var(--nql-text-dim);
  font-size: 14px;

  transition: background .2s ease, color .2s ease, border .2s ease;
}

.nota-ql-pane .btn.danger:hover {
  background: var(--nql-danger);
  border-color: var(--nql-danger);
  color: #fff;
}

/* === Поля ввода === */
.nota-ql-pane .row {
  display: flex;
  gap: 8px;
  margin: 8px 0;
  align-items: center;
}

.nota-ql-pane input[type="text"],
.nota-ql-pane input[type="password"] {
  flex: 1;

  background: var(--nql-bg-soft)!important;
  border: 1px solid var(--nql-border-soft)!important;
  border-radius: var(--nql-radius-md)!important;

  padding: 8px 10px;

  font-size: 12px;
  color: var(--nql-text-main)!important;

  transition: border .2s ease, background .2s ease;
  width:auto;
  min-width: 0;
  box-sizing: border-box;
}

.nota-ql-pane input::placeholder {
  color: var(--nql-text-soft);
}

.nota-ql-pane input:focus {
  outline: none;
  border-color: var(--nql-accent);
  background: rgba(255,255,255,.06);
}

/* === Кнопки === */
.nota-ql-pane .btn {
  padding: 7px 12px;
  border-radius: var(--nql-radius-md);

  font-size: 11px;
  font-weight: 600;

  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;

  transition: background .2s ease, border .2s ease, color .2s ease, transform .15s ease;
}

.nota-ql-pane .btn:hover {
  transform: translateY(-1px);
}

.nota-ql-pane .btn.primary {
  background: var(--nql-accent);
  color: #fff;
}

.nota-ql-pane .btn.ghost {
  background: transparent;
  border: 1px dashed var(--nql-border);
  color: var(--nql-text-dim);
}

.nota-ql-pane .btn.ghost:hover {
  color: var(--nql-text-main);
  border-color: var(--nql-text-dim);
}

/* === Чекбокс «без постинга» (новое в v3.2) === */
.nota-ql-skip-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--nql-text-soft);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.nota-ql-skip-label:hover { color: var(--nql-text-dim); }
.nota-ql-skip-label input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
  accent-color: var(--nql-accent);
}

/* === Импорт / Экспорт === */
.nql-ie-toggle {
  margin-top: 8px;
  font-size: 11px;
  color: var(--nql-text-soft);
  cursor: pointer;
  user-select: none;
}

.nql-ie-toggle:hover {
  color: var(--nql-text-dim);
}

.nql-ie {
  margin-top: 10px;
  padding-top: 10px;

  border-top: 1px dashed var(--nql-border-soft);
}

.nql-ie.hidden { display: none; }

.nql-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  margin-bottom: 6px;
}

.nql-row input[type="text"] {
  background: var(--nql-bg-soft);
  border: 1px solid var(--nql-border-soft);
  border-radius: var(--nql-radius-sm);

  padding: 6px 8px;
  font-size: 11px;
  color: var(--nql-text-dim);
  outline: none;
  min-width: 0;
}

.nql-btn {
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 600;

  border-radius: var(--nql-radius-sm);
  border: 1px solid var(--nql-border);
  background: transparent;
  color: var(--nql-text-dim);

  cursor: pointer;
  transition: background .2s ease, color .2s ease;
  white-space: nowrap;
}

.nql-btn:hover {
  background: var(--nql-bg-hover);
  color: var(--nql-text-main);
}

.nql-note {
  font-size: 11px;
  color: var(--nql-text-soft);
  margin-top: 4px;
  line-height: 1.4;
}

input#ql-passw {
    width: 30%;
}

/* === Тост лицензии (новое в v3.2) === */
.nota-ql-license-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--nql-bg-main);
  color: var(--nql-text-main);
  border: 1px solid var(--nql-border);
  padding: 10px 14px;
  border-radius: var(--nql-radius-md);
  font-size: 12px;
  line-height: 1.4;
  max-width: 300px;
  z-index: 99999;
  box-shadow: var(--nql-shadow-main);
  pointer-events: none;
}

/* =====================================================
   МОДАЛКА ВЫГУЛА (новое в v3.2)
   ===================================================== */

.nota-ql-modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  background: transparent;
  pointer-events: none;
  opacity: 0;
  animation: notaQlFadeIn .4s cubic-bezier(.22,.68,0,1.2) forwards;
}
.nota-ql-modal-overlay.nota-ql-fadeout {
  animation: notaQlFadeOut .3s ease forwards;
}

.nota-ql-modal {
  pointer-events: auto;
  background: var(--nota-ql-modal-bg);
  color: var(--nota-ql-modal-color);

  border-radius: var(--nota-ql-modal-radius);
  box-shadow: var(--nql-shadow-main);

  padding: 32px 36px 28px;
  text-align: center;
  max-width: 220px;
  width: 90%;
}

.nota-ql-modal__icon {
  font-size: 34px;
  margin-bottom: 12px;
  display: block;
  opacity: .9;
}

.nota-ql-modal__title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nql-text-soft);
  margin-bottom: 8px;
}

.nota-ql-modal__sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--nota-ql-modal-color);
  opacity: .9;
  margin-bottom: 4px;
  min-height: 26px;
  line-height: 1.3;
  letter-spacing: .01em;
}

.nota-ql-modal__dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 10px 0 0;
}
.nota-ql-modal__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--nql-border);
  transition: background .3s ease, transform .3s ease;
}
.nota-ql-modal__dot--active {
  background: var(--nql-text-dim);
  transform: scale(1.3);
}

.nota-ql-modal__divider {
  width: 24px;
  height: 1px;
  background: var(--nql-border);
  margin: 14px auto;
}

.nota-ql-modal__stop {
  background: transparent;
  color: var(--nql-text-soft);
  border: 1px solid var(--nql-border-soft);
  border-radius: var(--nql-radius-sm);
  padding: 7px 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border .2s ease;
}
.nota-ql-modal__stop:hover {
  background: var(--nql-danger);
  color: #fff;
  border-color: var(--nql-danger);
}

@keyframes notaQlFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes notaQlFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}