/* ====== V РАБОТЕ — DESIGN SYSTEM ====== */

/* Fonts подключим через <link> в base.html */
:root {
  --vr-bg-main: #050717;
  --vr-bg-elevated: #14162f;
  --vr-bg-elevated-soft: #1b1e3f;

  --vr-primary: #6a57ff;
  --vr-primary-soft: #a18bff;
  --vr-accent: #2fe3ff;
  --vr-gold: #f8d57e;
  --vr-gold-strong: #ffb84c;
  --vr-danger: #ff4b6a;

  --vr-text-main: #ffffff;
  --vr-text-muted: #b3b6de;
  --vr-border-soft: rgba(255, 255, 255, 0.08);

  --vr-radius-lg: 18px;
  --vr-radius-md: 12px;
  --vr-radius-pill: 999px;

  --vr-shadow-soft: 0 0 18px rgba(9, 11, 41, 0.75);
  --vr-shadow-glow: 0 0 24px rgba(111, 87, 255, 0.9);
}

/* ====== GLOBAL ====== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #262f66 0%, var(--vr-bg-main) 50%, #020311 100%);
  color: var(--vr-text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* космический ореол */
body::before {
  content: "";
  position: fixed;
  inset: -40%;
  background:
    radial-gradient(circle at 10% 0%, rgba(111,87,255,0.25) 0, transparent 55%),
    radial-gradient(circle at 90% 20%, rgba(47,227,255,0.25) 0, transparent 55%);
  opacity: 0.7;
  z-index: -2;
}

/* мелкая «магическая пыль» */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.25) 0.5px, transparent 0.5px),
    radial-gradient(circle, rgba(160,139,255,0.35) 0.5px, transparent 0.5px);
  background-size: 120px 120px, 180px 180px;
  opacity: 0.18;
  mix-blend-mode: screen;
  animation: vr-stars 80s linear infinite;
  z-index: -1;
}

a {
  text-decoration: none !important;
}

a:hover {
  text-decoration: none !important;
}

/* ==== DROPDOWN УВЕДОМЛЕНИЙ ==== */

.vr-header-user {
  position: relative; /* чтобы дропдаун прицепился к правой части шапки */
}

/* контейнер со списком */
.vr-notif-dropdown {
  position: absolute;
  top: 38px;
  right: 46px; /* немного сдвинуть от колокольчика, при необходимости подправь */
  width: 340px;
  max-height: 420px;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, rgba(255,255,255,0.16), transparent 60%),
              linear-gradient(160deg, #17192f, #0b0d23);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.9),
    0 0 22px rgba(111,87,255,0.55);
  padding: 8px 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 1200;
}

.vr-notif-dropdown.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* шапка дропдауна */
.vr-notif-dropdown-header {
  padding: 6px 14px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  font-weight: 600;
}

.vr-notif-close {
  border: none;
  background: transparent;
  color: var(--vr-text-muted);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 4px;
}
.vr-notif-close:hover {
  color: #fff;
}

/* тело */
.vr-notif-dropdown-body {
  max-height: 360px;
  overflow-y: auto;
  padding: 6px 0;
}

/* список уведомлений */
.vr-notif-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vr-notif-item {
  display: flex;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: #f8f6ff;
}

.vr-notif-item + .vr-notif-item {
  border-top: 1px solid rgba(255,255,255,0.04);
}

.vr-notif-item:hover {
  background: radial-gradient(circle at 0 0, rgba(255,222,152,0.18), transparent 70%);
}

/* маленькая точка слева */
.vr-notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 7px;
  background: rgba(255,255,255,0.25);
}

.vr-notif-item--unread .vr-notif-dot {
  background: #ffd36b;
  box-shadow: 0 0 6px rgba(255,211,107,0.9);
}

/* основная колонка текста */
.vr-notif-main {
  flex: 1;
  min-width: 0;
}

.vr-notif-title {
  font-weight: 500;
  margin-bottom: 2px;
  color: #ffffff;
}

.vr-notif-title a {
  color: #ffe7a4 !important;
}
.vr-notif-title a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.vr-notif-body-text {
  font-size: 12px;
  color: #d9dcff;
  margin-bottom: 2px;
}

.vr-notif-date {
  font-size: 11px;
  color: var(--vr-text-muted);
}

/* пустые состояния */
.vr-notif-empty,
.vr-notif-empty-loading,
.vr-notif-error {
  font-size: 13px;
  color: var(--vr-text-muted);
  padding: 10px 14px;
}
.vr-notif-error {
  color: #ff8f9b;
}


/* ====== TYPOGRAPHY ====== */
/* Общий текст */
body, .vr-shell, .vr-card, .vr-task-card {
    color: #f3f3f3 !important;
}

/* Заголовки */
h1, h2, h3, .vr-page-title, .vr-block-title {
    color: #ffffff !important;
}

/* Ссылки */
a, .vr-link {
    color: #9cc3ff !important;
}

a:hover, .vr-link:hover {
    color: #c6dcff !important;
}

/* Категории в боковом блоке */
.vr-nav-links-column a {
    color: #c5b3ff !important;
}

.vr-nav-links-column a:hover {
    color: #e7dbff !important;
}

/* Статусы */
.vr-task-meta {
    color: #d5d5d5 !important;
}

.vr-task-price {
    color: #ffffff !important;
}

.vr-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.vr-page-title {
  font-family: "Cinzel Decorative", "Cormorant Garamond", serif;
  font-size: 32px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.vr-page-subtitle {
  margin: 0 0 24px;
  color: var(--vr-text-muted);
}

.vr-section-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
}

/* ====== HEADER / NAV ====== */

.vr-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
      135deg,
      rgba(10, 11, 34, 0.9),
      rgba(24, 28, 61, 0.95)
  );
  border-bottom: 1px solid rgba(248, 213, 126, 0.35);
  box-shadow: 0 10px 30px rgba(2, 3, 10, 0.9);
}

.vr-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vr-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vr-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffb84c, #6a57ff);
  box-shadow: 0 0 14px rgba(255, 184, 76, 0.7);
  position: relative;
}

@keyframes vr-logo-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 12px rgba(255, 184, 76, 0.45),
      0 0 22px rgba(106,87,255, 0.45);
  }
  50% {
    transform: scale(1.04);
    box-shadow:
      0 0 20px rgba(255, 184, 76, 0.75),
      0 0 34px rgba(47, 227, 255, 0.55);
  }
}

.vr-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 12px rgba(255, 184, 76, 0.6),
    0 0 20px rgba(47, 227, 255, 0.45);
  transition: 0.3s ease;
}

/* Пульсация */
.vr-logo-img {
  animation: vr-logo-pulse 4s ease-in-out infinite;
}

@keyframes vr-logo-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 10px rgba(255, 184, 76, 0.4),
      0 0 15px rgba(47, 227, 255, 0.35);
  }
  50% {
    transform: scale(1.05);
    box-shadow:
      0 0 18px rgba(255, 184, 76, 0.85),
      0 0 30px rgba(47, 227, 255, 0.65);
  }
}

/* Hover-вспышка */
.vr-logo:hover .vr-logo-img {
  transform: scale(1.1);
  box-shadow:
    0 0 26px rgba(255, 184, 76, 1),
    0 0 45px rgba(47, 227, 255, 0.85),
    0 0 70px rgba(161, 139, 255, 0.75);
}

.vr-logo-mark::after {
  content: "V";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cinzel Decorative", serif;
  font-size: 18px;
  color: #fff;
}

.vr-logo-text-main {
  font-family: "Cinzel Decorative", serif;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vr-logo-text-sub {
  font-size: 11px;
  color: var(--vr-text-muted);
}

.vr-logo:hover .vr-logo-mark {
  transform: scale(1.08);
  box-shadow:
    0 0 16px rgba(255, 184, 76, 0.85),
    0 0 28px rgba(47, 227, 255, 0.65),
    0 0 40px rgba(161, 139, 255, 0.55);
  transition: 0.25s ease;
}

.vr-logo:hover {
  text-shadow: 0 0 8px rgba(255, 184, 76, 0.65);
}

.vr-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.vr-main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vr-nav-link {
  color: var(--vr-text-muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  font-weight: 500;
}

.vr-nav-link:hover {
  color: #ffffff;
}

.vr-nav-link--active {
  color: var(--vr-gold-strong);
  border-color: var(--vr-gold-strong);
}

/* ====== BUTTONS ====== */

.vr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--vr-radius-pill);
  border: 1px solid rgba(248, 213, 126, 0.8);
  background: linear-gradient(120deg, #6a57ff, #2fe3ff);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(47, 227, 255, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.vr-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(255, 184, 76, 0.9);
  filter: brightness(1.05);
}

.vr-button--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.vr-button--ghost:hover {
  border-color: var(--vr-accent);
  box-shadow: 0 0 18px rgba(47, 227, 255, 0.55);
}

/* ====== CARDS ====== */

.vr-card {
  background: radial-gradient(circle at top left, rgba(161, 139, 255, 0.16), transparent 60%),
              linear-gradient(160deg, #111327, #181b3a);
  border-radius: var(--vr-radius-lg);
  border: 1px solid rgba(250, 250, 255, 0.08);
  box-shadow: var(--vr-shadow-soft);
  padding: 18px 18px;
  position: relative;
  overflow: hidden;
}

.vr-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 20% 0, rgba(111,87,255,0.24), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.vr-card:hover::before {
  opacity: 1;
}

/* ====== TABS (категории) ====== */

.vr-tabs {
  margin: 18px 0 24px;
  display: flex;
  flex-wrap: wrap;      /* разрешаем перенос на новые строки */
  gap: 8px;             /* расстояние между «чипами» */
  overflow-x: visible;  /* убираем горизонтальный скролл */
  white-space: normal;  /* можно переносить */
}

.vr-tab {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--vr-radius-pill);
  background: rgba(21, 25, 61, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--vr-text-muted);
  font-size: 13px;
  text-decoration: none;
  /* убираем старый margin-right, если он есть */
  margin: 0;
}

@media (max-width: 480px) {
  .vr-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
  }
}

.vr-tab:hover {
  border-color: rgba(161, 139, 255, 0.9);
  color: #ffffff;
}

.vr-tab--active {
  background: linear-gradient(135deg, rgba(106, 87, 255, 0.95), rgba(47, 227, 255, 0.95));
  color: #fff;
  border-color: rgba(248, 213, 126, 0.9);
  box-shadow: 0 0 18px rgba(47, 227, 255, 0.7);
}

/* ====== FORMS ====== */

.vr-form {
  max-width: 640px;
}

.vr-field {
  margin-bottom: 16px;
}

.vr-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--vr-text-muted);
}

.vr-input,
.vr-select,
.vr-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--vr-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 7, 23, 0.92);
  color: #fff;
  font-size: 14px;
}

.vr-textarea {
  min-height: 120px;
  resize: vertical;
}

.vr-input:focus,
.vr-select:focus,
.vr-textarea:focus {
  outline: none;
  border-color: var(--vr-accent);
  box-shadow: 0 0 0 1px rgba(47, 227, 255, 0.4);
}

/* Django form defaults override */
.vr-form p {
  margin: 0 0 14px;
}
.vr-form p > label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--vr-text-muted);
}
.vr-form input,
.vr-form select,
.vr-form textarea {
  @apply vr-input;
}

/* ====== TASK LIST ====== */

.vr-task-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 0;
}

.vr-task-card {
  position: relative;
  padding: 14px 16px;
  border-radius: var(--vr-radius-md);
  background: linear-gradient(135deg, rgba(17,19,39,0.96), rgba(28,31,73,0.96));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 12px rgba(5, 7, 23, 0.8);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.vr-task-card:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 213, 126, 0.8);
  box-shadow: 0 0 18px rgba(111, 87, 255, 0.7);
}

.vr-task-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
}

.vr-task-meta {
  font-size: 12px;
  color: var(--vr-text-muted);
}

.vr-task-labels {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vr-pill {
  border-radius: var(--vr-radius-pill);
  font-size: 11px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--vr-text-muted);
}

.vr-pill--gold {
  border-color: rgba(255, 184, 76, 0.9);
  color: var(--vr-gold-strong);
  background: rgba(255, 184, 76, 0.1);
}

.vr-pill--remote {
  border-color: rgba(47, 227, 255, 0.9);
  color: var(--vr-accent);
  background: rgba(47, 227, 255, 0.12);
}

/* ====== HERO (на главной) ====== */

.vr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin-bottom: 30px;
}

.vr-hero-text {
  position: relative;
}

.vr-hero-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--vr-text-muted);
  margin-bottom: 8px;
}

.vr-hero-title {
  font-family: "Cinzel Decorative", serif;
  font-size: 36px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.vr-hero-gradient {
  background: linear-gradient(120deg, #ffb84c, #2fe3ff, #a18bff);
  -webkit-background-clip: text;
  color: transparent;
}

.vr-hero-desc {
  margin: 10px 0 18px;
  color: var(--vr-text-muted);
}

.vr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.vr-hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  color: var(--vr-text-muted);
}

.vr-hero-art {
  position: relative;
  justify-self: center;
}

.vr-hero-orbit {
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 10%, rgba(255, 184, 76, 0.85), rgba(106,87,255,0.7), rgba(5,7,23,1));
  box-shadow: 0 0 70px rgba(47, 227, 255, 0.8), 0 0 120px rgba(255, 184, 76, 0.7);
  position: relative;
  overflow: hidden;
  animation: vr-pulse 6s ease-in-out infinite;
}

/* внутри орбиты картинка центрируется */
.vr-hero-orbit .vr-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  box-shadow: none; /* тень уже у орбиты */
}

.vr-hero-orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cinzel Decorative", serif;
  font-size: 72px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.9);
}

/* если будешь выводить реальную картинку, просто задай ей
   .vr-hero-img { width: 260px; border-radius: 40px; box-shadow: var(--vr-shadow-glow); } */

@media (max-width: 800px) {
  .vr-hero {
    grid-template-columns: 1fr;
  }
}

/* ====== ANIMATIONS ====== */

@keyframes vr-stars {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-160px, -160px, 0); }
}

@keyframes vr-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(47, 227, 255, 0.6); }
  50% { transform: scale(1.05); box-shadow: 0 0 60px rgba(255, 184, 76, 0.9); }
}

.vr-hero-img {
  width: 280px;
  border-radius: 36px;
  box-shadow: 0 0 30px rgba(255, 184, 76, 0.7);
  display: block;
}


/* ======== TABS (категории и табы в категориях) ====== */
.vr-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.vr-category-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  min-height: 110px;
  color: #fff;
  cursor: pointer; /* теперь кликаем по всей плитке */
}

.vr-category-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vr-category-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.vr-category-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255,184,76,0.6));
  transition: 0.25s ease;
}

.vr-category-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vr-category-title {
  font-weight: 600;
  font-size: 15px;
}

.vr-category-hint {
  font-size: 11px;
  color: var(--vr-text-muted);
}

/* панель подкатегорий по умолчанию скрыта */
.vr-subcategory-panel {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 6px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

/* вариант для плитки без детей — просто одна кнопка "Все задания" */
.vr-subcategory-panel--single {
  border-top: none;
  grid-template-columns: 1fr;
}

.vr-subcategory-panel.is-open {
  max-height: 300px;
  opacity: 1;
}

.vr-subcategory-pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(5,7,23,0.9);
  color: var(--vr-text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.vr-subcategory-pill-main {
  border-color: rgba(255,184,76,0.9);
  color: var(--vr-gold-strong);
  background: rgba(255,184,76,0.08);
}

.vr-subcategory-pill:hover {
  border-color: rgba(255,184,76,0.9);
  color: #fff;
  box-shadow: 0 0 12px rgba(47,227,255,0.6);
}

/* hover-подсветка плитки */
.vr-category-tile:hover .vr-category-icon img {
  transform: scale(1.06);
  filter:
    drop-shadow(0 0 12px rgba(255,184,76,0.9))
    drop-shadow(0 0 20px rgba(47,227,255,0.7));
}

/* ====== USER MENU / AVATAR ====== */

.vr-user-menu {
  position: relative;
  margin-left: 10px;
}

.vr-user-avatar-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.vr-user-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 10%, #ffb84c, #6a57ff);
  box-shadow:
    0 0 12px rgba(255, 184, 76, 0.7),
    0 0 18px rgba(47, 227, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vr-logo-pulse 4s ease-in-out infinite;
}

.vr-user-avatar-initial {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

/* маленький аватар внутри дропдауна */
.vr-user-avatar-mini {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 10%, #ffb84c, #6a57ff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.vr-user-dropdown {
  position: absolute;
  right: 0;
  top: 42px;
  min-width: 210px;
  background: linear-gradient(150deg, #111327, #181b3a);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 40px rgba(0,0,0,0.9);
  padding: 10px 12px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
}

.vr-user-dropdown.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.vr-user-info {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.vr-user-name {
  font-size: 13px;
  font-weight: 600;
}

.vr-user-email {
  font-size: 11px;
  color: var(--vr-text-muted);
}

.vr-user-dropdown-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vr-user-dropdown-link {
  font-size: 13px;
  color: var(--vr-text-main);
  padding: 6px 4px;
  border-radius: 8px;
  text-decoration: none;
}

.vr-user-dropdown-link:hover {
  background: rgba(106,87,255,0.35);
}

/* ====== PROFILE LAYOUT ====== */

.vr-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(260px, 1fr);
  gap: 18px;
}

.vr-profile-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.vr-profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (max-width: 900px) {
  .vr-profile-layout {
    grid-template-columns: 1fr;
  }
}

/* табы */

.vr-profile-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin: -18px -18px 12px;
  padding: 0 18px;
}

.vr-profile-tab-btn {
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 13px;
  color: var(--vr-text-muted);
  cursor: pointer;
  position: relative;
}

.vr-profile-tab-btn.is-active {
  color: #ffffff;
}

.vr-profile-tab-btn.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, #ffb84c, #2fe3ff);
}

.vr-profile-tab-panel {
  display: none;
  padding-top: 6px;
}

.vr-profile-tab-panel.is-active {
  display: block;
}

/* правая колонка */

.vr-profile-sidecard {
  font-size: 13px;
}

.vr-profile-side-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vr-profile-side-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.vr-profile-side-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
  background: rgba(255,255,255,0.18);
}

.vr-profile-side-dot.is-ok {
  background: #35d98a;
  box-shadow: 0 0 10px rgba(53, 217, 138, 0.8);
}

.vr-profile-side-title {
  font-weight: 600;
}

.vr-profile-side-sub {
  font-size: 12px;
  color: var(--vr-text-muted);
}

.vr-profile-side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.vr-profile-side-tags a,
.vr-profile-side-tags span {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--vr-text-muted);
  text-decoration: none;
}

.vr-profile-side-tags a:hover {
  border-color: rgba(255,184,76,0.9);
  color: #ffffff;
}

.vr-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 16px;
}

.vr-form-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.vr-form-field input,
.vr-form-field textarea {
  width: 100%;
}

.vr-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.vr-portfolio-item {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vr-portfolio-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.vr-portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vr-portfolio-item:hover .vr-portfolio-thumb img {
  transform: scale(1.05);
}

.vr-portfolio-body {
  padding: 12px 14px 10px;
}

.vr-portfolio-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.vr-portfolio-desc {
  font-size: 13px;
  color: var(--vr-text-muted);
  margin: 4px 0 8px;
}

.vr-portfolio-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.vr-portfolio-link {
  font-size: 12px;
  color: var(--vr-accent);
  text-decoration: none;
}

.vr-portfolio-link:hover {
  text-decoration: underline;
}

.vr-portfolio-delete-btn {
  border: none;
  background: transparent;
  color: var(--vr-danger);
  font-size: 11px;
  cursor: pointer;
  padding: 0;
}

.vr-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.vr-preview-thumb {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(47,227,255,0.5);
}

.vr-portfolio-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.vr-filter {
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}

.vr-filter.active {
  background: linear-gradient(90deg, #ffb84c, #2fe3ff);
}

.vr-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

.vr-modal.hidden { display:none; }

.vr-modal-content {
  background:#1a1a1f;
  border-radius:16px;
  padding:24px;
  width:300px;
  color:white;
  box-shadow:0 0 24px rgba(255,215,0,0.3);
  text-align:center;
}

.vr-button--danger {
  background:#ff4c4c;
  color:white !important;
}

.vr-button--ghost {
  background:transparent;
  border:1px solid rgba(255,255,255,0.2);
}

.vr-edit-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.vr-edit-image-item {
    position: relative;
}

.vr-delete-image-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    transition: 0.2s;
}

.vr-delete-image-btn:hover {
    background: rgba(255,0,0,0.8);
}

/* Контейнер кнопок */
.vr-portfolio-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

/* Базовый стиль кнопок */
.vr-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Иконки */
.vr-icon-edit::before {
    content: "✏️";
    font-size: 14px;
}

.vr-icon-delete::before {
    content: "🗑️";
    font-size: 14px;
}

/* Кнопка "Редактировать" */
.vr-action-btn.edit {
    color: #f4adff;
    background: rgba(180, 80, 255, 0.08);
    border: 1px solid rgba(180, 80, 255, 0.3);
}

.vr-action-btn.edit:hover {
    background: rgba(180, 80, 255, 0.2);
    box-shadow: 0 0 12px rgba(180, 80, 255, 0.6);
}

/* Кнопка "Удалить" */
.vr-action-btn.delete {
    color: #ff6b6b;
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.25);
}

.vr-action-btn.delete:hover {
    background: rgba(255, 0, 0, 0.2);
    box-shadow: 0 0 12px rgba(255, 80, 80, 0.6);
}

/* низ карточки: категория слева, действия справа */
.vr-portfolio-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

/* контейнер кнопок */
.vr-portfolio-actions {
    display: flex;
    gap: 8px;
}

/* общая стилистика кнопок */
.vr-portfolio-action {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.2;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* Редактировать — фиолетово-магическая */
.vr-portfolio-action--edit {
    color: #f0b5ff;
    border-color: rgba(240, 181, 255, 0.4);
    background: radial-gradient(circle at 0 0,
                                rgba(240, 181, 255, 0.25),
                                transparent 60%);
}

.vr-portfolio-action--edit:hover {
    box-shadow: 0 0 12px rgba(240, 181, 255, 0.7);
    background-color: rgba(40, 15, 80, 0.8);
}

/* Удалить — аккуратный красный, не кричащий */
.vr-portfolio-action--delete {
    color: #ff8585;
    border-color: rgba(255, 133, 133, 0.4);
    background: rgba(80, 10, 20, 0.4);
}

.vr-portfolio-action--delete:hover {
    box-shadow: 0 0 12px rgba(255, 90, 90, 0.7);
    background-color: rgba(120, 20, 35, 0.9);
}

/* на всякий случай, чтобы браузер не добавлял своё */
.vr-portfolio-action::-moz-focus-inner {
    border: 0;
}


/* Сводка отзывов */
/* Звёздный рейтинг в форме */
.vr-star-rating {
    display: inline-flex;
    gap: 4px;
    font-size: 26px;
    cursor: pointer;
    user-select: none;
}

.vr-star {
    color: rgba(255, 255, 255, 0.25);
    transition: transform 0.12s ease, color 0.12s ease, text-shadow 0.12s ease;
}

.vr-star.is-active {
    color: #ffd36b;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.vr-star.is-hover {
    color: #ffe6a8;
}

/* --- ОФОРМЛЕНИЕ ОТЗЫВОВ В ПРОФИЛЕ --- */

.vr-review-summary {
    display: flex;
    gap: 24px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: radial-gradient(circle at 0 0, rgba(255,255,255,0.06), transparent 60%);
    border: 1px solid rgba(255,255,255,0.06);
}

.vr-review-summary-left {
    min-width: 140px;
}

.vr-review-score {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.vr-review-stars .star {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.3);
}

.vr-review-stars .star.is-full {
    color: #ffd36b;
}

.vr-review-count {
    font-size: 12px;
    color: var(--vr-text-muted);
    margin-top: 3px;
}

.vr-review-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vr-review-card {
    border-radius: 16px;
    padding: 11px 13px;
    background: radial-gradient(circle at 0 0, rgba(255,255,255,0.02), transparent 60%);
    border: 1px solid rgba(255,255,255,0.04);
}

.vr-review-card-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.vr-review-author {
    display: flex;
    gap: 10px;
    align-items: center;
}

.vr-review-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffe6b0, #f2a13d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1025;
    font-weight: 700;
    font-size: 16px;
}

.vr-review-author-name {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

.vr-review-meta {
    font-size: 11px;
    color: var(--vr-text-muted);
}

.vr-review-rating .star {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.3);
}

.vr-review-rating .star.is-full {
    color: #ffd36b;
}

.vr-review-text {
    font-size: 13px;
    color: #e0e4ff;
    margin: 4px 0 0;
    white-space: pre-line;
}

.vr-badge {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 6px;
    background: #eee;
}

.vr-badge--gold {
    background: #ffdb70;
    color: #5c4700;
    font-weight: 600;
}

/* ==== ЧАТ ЗАДАНИЯ (страница и модалка) ==== */

.vr-chat-page {
  padding: 16px 18px 18px;
}

.vr-chat-page-header {
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 8px;
}

.vr-chat-messages {
  flex: 1 1 auto;
  min-height: 180px;
  overflow-y: auto;
  padding-right: 8px;
}

/* пузырьки сообщений */
.vr-chat-message {
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(20,22,63,0.95);
  border: 1px solid rgba(255,255,255,0.04);
}

.vr-chat-message.is-mine {
  background: radial-gradient(circle at 0 0, rgba(255,220,130,0.16), transparent 70%);
  border-color: rgba(255,220,130,0.7);
}

.vr-chat-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--vr-text-muted);
  margin-bottom: 4px;
}

.vr-chat-text {
  font-size: 14px;
  white-space: pre-wrap;
}

/* форма ввода */
.vr-chat-input-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.vr-chat-input-row textarea,
#vrChatForm textarea {
  flex: 1 1 auto;
  min-height: 70px;
  resize: vertical;
}

.vr-header-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vr-header-icon {
    position: relative;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    border-radius: 999px;
    transition: background 0.15s ease, transform 0.1s ease;
}
.vr-header-icon:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-1px);
}

.vr-header-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    border-radius: 999px;
    background: #ff4d6a;
    color: #fff;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vr-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
}
.vr-modal.hidden { display: none; }

.vr-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.vr-modal-window {
    position: relative;
    margin: 40px auto;
    max-width: 900px;
    background: #070b1a;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0,0,0,0.7);
}
.vr-modal-window--right { max-width: 420px; margin-left: auto; margin-right: 20px; }

.vr-modal-header {
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.vr-modal-body {
    max-height: 70vh;
    overflow-y: auto;
    padding: 10px 0;
}

/* dialogs layout */

.vr-dialogs-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 340px;
}

.vr-dialogs-list {
    border-right: 1px solid rgba(255,255,255,0.06);
    overflow-y: auto;
}

.vr-dialog-item {
    display: flex;
    gap: 10px;
    padding: 8px 12px;
    text-decoration: none;
    color: inherit;
}
.vr-dialog-item:hover {
    background: rgba(255,255,255,0.05);
}

.vr-dialog-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 20%, #ffe6b0, #f2a13d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1025;
    font-weight: 700;
}

.vr-dialog-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vr-dialog-title {
    font-size: 13px;
    font-weight: 500;
}
.vr-dialog-last {
    font-size: 11px;
    color: var(--vr-text-muted);
}

.vr-dialogs-placeholder {
    display:flex;
    align-items:center;
    justify-content:center;
    padding: 12px;
}

.online-dot {
    display:inline-block;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#4dff7a;
    margin-right:4px;
}

.vr-dialogs-chat {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 340px;
    max-height: 70vh;
}

.vr-chat-header {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.vr-chat-messages {
    flex: 1;
    padding: 8px 12px;
    overflow-y: auto;
}

.vr-chat-form {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 8px 12px;
}


/* ==== ЛЕВАЯ КОЛОНКА: СПИСОК ДИАЛОГОВ ==== */

.vr-dialogs-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    min-height: 360px;
    max-height: 70vh;
    background: radial-gradient(circle at 0 0, rgba(255, 215, 120, 0.16), transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(130, 93, 255, 0.2), transparent 55%);
}

.vr-dialogs-list {
    border-right: 1px solid rgba(255,255,255,0.06);
    background: linear-gradient(180deg, #070b1d 0%, #06061a 100%);
    overflow-y: auto;
}

/* элемент диалога */

.vr-dialog-item {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    color: #f8f6ff;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}

.vr-dialog-item:hover {
    background: radial-gradient(circle at 0 0, rgba(255, 219, 112, 0.12), transparent 70%);
    box-shadow: 0 0 12px rgba(92, 72, 255, 0.35);
    transform: translateY(-1px);
}

.vr-dialog-item.is-active {
    background: radial-gradient(circle at 0 0, rgba(255, 219, 112, 0.18), transparent 70%);
    box-shadow: 0 0 16px rgba(255, 219, 112, 0.5);
}

/* аватарка с V */

.vr-dialog-avatar {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #1a0d24;
    text-shadow: 0 0 8px rgba(255,255,255,0.75);
    overflow: hidden;
}

.vr-dialog-avatar--v {
    background:
        radial-gradient(circle at 30% 0%, #ffe7b4 0%, #ffcc73 35%, transparent 70%),
        radial-gradient(circle at 80% 100%, #7b5cff 10%, #342066 55%, #070a1d 100%);
    box-shadow: 0 0 12px rgba(255, 219, 112, 0.7);
}

/* онлайн-точка поверх V */

.vr-dialog-avatar--v::after {
    content: "";
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4dff7a;           /* онлайн-зелёный */
    box-shadow: 0 0 6px rgba(77,255,122,0.8);
}

/* текст в диалоге */

.vr-dialog-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.vr-dialog-title {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vr-dialog-last {
    font-size: 11px;
    color: var(--vr-text-muted, #9ea0bf);
    margin-top: 2px;
}

/* ==== ПРАВАЯ КОЛОНКА: ЧАТ ==== */

.vr-dialogs-chat {
    position: relative;
    display: flex;
    flex-direction: column;
    background:
      radial-gradient(circle at 100% 0, rgba(111, 79, 255, 0.32), transparent 60%),
      radial-gradient(circle at 0 100%, rgba(255, 204, 117, 0.16), transparent 60%),
      #05071a;
    border-radius: 0 18px 18px 0;
}

/* заголовок собеседника */

.vr-chat-header {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(14px);
    background: linear-gradient(90deg, rgba(10,12,35,0.85), rgba(10,8,30,0.6));
}

.vr-chat-peer-name {
    font-size: 15px;
    font-weight: 600;
}

.vr-chat-peer-status {
    font-size: 11px;
    color: var(--vr-text-muted, #9ea0bf);
}

/* сам поток сообщений */

.vr-chat-messages {
    flex: 1;
    padding: 10px 14px 12px;
    overflow-y: auto;
}

/* сообщение */

.vr-chat-message {
    max-width: 72%;
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(8, 12, 38, 0.9);
    box-shadow: 0 0 10px rgba(16, 22, 56, 0.9);
    font-size: 13px;
}

/* моё сообщение — справа, с золотым глоу */

.vr-chat-message.is-mine {
    margin-left: auto;
    background:
        linear-gradient(135deg, rgba(255, 215, 140, 0.15), rgba(96, 74, 255, 0.15)),
        radial-gradient(circle at 0 0, rgba(255, 213, 130, 0.32), transparent 70%),
        #141537;
    border: 1px solid rgba(255, 225, 150, 0.75);
    box-shadow:
        0 0 16px rgba(255, 225, 150, 0.65),
        0 0 26px rgba(102, 81, 255, 0.55);
}

/* надпись сверху сообщения */

.vr-chat-meta {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--vr-text-muted, #9ea0bf);
    margin-bottom: 4px;
}

.vr-chat-author {
    font-weight: 500;
}

.vr-chat-time {
    opacity: 0.8;
}

.vr-chat-text {
    color: #ffffff;
    white-space: pre-line;
}

/* форма ввода снизу */

.vr-chat-form {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 8px 12px 10px;
    background: linear-gradient(180deg, rgba(5,6,22,0.95), rgba(4,4,18,0.98));
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: flex-end;
}

.vr-chat-form .vr-form-field {
    flex: 1;
}

.vr-chat-form textarea {
    width: 100%;
    min-height: 60px;
    max-height: 120px;
    resize: vertical;
    border-radius: 12px;
    border: 1px solid rgba(120, 105, 255, 0.6);
    background: radial-gradient(circle at 0 0, rgba(255, 219, 112, 0.05), transparent 60%),
                rgba(7, 8, 26, 0.96);
    color: #fff;
    padding: 8px 10px;
    font-size: 13px;
}

/* подправим кнопку отправки */

.vr-chat-form .vr-button {
    white-space: nowrap;
    padding: 8px 14px;
    border-radius: 999px;
    background: radial-gradient(circle at 0 0, #ffd47a, #ffb24c);
    color: #221131;
    font-weight: 600;
    box-shadow: 0 0 18px rgba(255, 200, 120, 0.85);
}
.vr-chat-form .vr-button:hover {
    filter: brightness(1.06);
}

.vr-header-icon {
    position: relative;
    border: none;
    background: radial-gradient(circle at 30% 0, rgba(255, 222, 152, 0.16), transparent 65%);
    color: #f8f6ff;
    cursor: pointer;
    font-size: 18px;
    padding: 6px;
    border-radius: 999px;
    transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.vr-header-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 14px rgba(255, 222, 152, 0.65);
    background: radial-gradient(circle at 30% 0, rgba(255, 222, 152, 0.26), transparent 70%);
}

.vr-header-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b7f, #ffb45a);
    color: #1b0c22;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 118, 140, 0.85);
}

.vr-attachments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.vr-attachment--image img {
  max-width: 140px;
  max-height: 140px;
  border-radius: 8px;
  object-fit: cover;
}

.vr-attachment--file {
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  font-size: 13px;
  text-decoration: none;
}

.vr-layout-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(220px, 1.5fr);
  gap: 20px;
}

.vr-layout-main {}
.vr-layout-sidebar {}

.vr-toggle-role {
  display: inline-flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}

.vr-toggle-btn {
  padding: 6px 14px;
  font-size: 14px;
  text-decoration: none;
  background: rgba(0,0,0,0.2);
  color: inherit;
}

.vr-toggle-btn.is-active {
  background: rgba(255,255,255,0.12);
  font-weight: 600;
}

.vr-nav-links-column {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vr-nav-links-column li + li {
  margin-top: 4px;
}

.vr-task-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  color: inherit;
  margin-bottom: 8px;
}

.vr-task-card:hover {
  background: rgba(255,255,255,0.06);
}

.vr-task-card-main {
  flex: 1 1 auto;
}

.vr-task-card-side {
  text-align: right;
  min-width: 120px;
}

.vr-task-price {
  font-weight: 600;
}

.vr-task-price--muted {
  opacity: 0.7;
}

.vr-task-created {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
}

/* === чат: аватарки и выравнивание === */

.vr-chat-layout {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 260px;
  max-height: calc(100vh - 260px);
}

.vr-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 6px;
  margin-bottom: 6px;
}

.vr-chat-peer-name {
  font-weight: 600;
  font-size: 14px;
}

.vr-chat-peer-status {
  font-size: 12px;
  color: var(--vr-text-muted);
  margin-top: 2px;
}

.online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 4px;
  background: #5cff9c;
  box-shadow: 0 0 8px rgba(92,255,156,0.9);
  vertical-align: middle;
}

/* список сообщений */
.vr-chat-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 8px;
}

.vr-chat-message {
  margin-bottom: 8px;
}

.vr-chat-message-inner {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* если сообщение моё — зеркалим, чтобы аватарка была справа */
.vr-chat-message.is-mine .vr-chat-message-inner {
  flex-direction: row-reverse;
}

.vr-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vr-chat-content {
  max-width: 100%;
}

/* сами пузырьки */
.vr-chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--vr-text-muted);
  margin-bottom: 4px;
}

.vr-chat-text {
  font-size: 14px;
  white-space: pre-wrap;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(16,17,54,0.95);
  border: 1px solid rgba(255,255,255,0.05);
}

/* мои сообщения – более тёплый фон */
.vr-chat-message.is-mine .vr-chat-text {
  background: radial-gradient(circle at 0 0, rgba(255,220,130,0.25), rgba(58,37,93,0.95));
  border-color: rgba(255,220,130,0.8);
}

/* форма под чат */
.vr-chat-form {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  align-items: flex-end;
}

/* === hover-анимация для vr-link === */

.vr-link {
  color: #ffe6a6;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.18s ease, border-color 0.18s ease, text-shadow 0.18s ease, transform 0.12s ease;
}

.vr-link:hover {
  color: #ffffff;
  border-color: rgba(255,230,166,0.7);
  text-shadow: 0 0 6px rgba(255,230,166,0.9);
  transform: translateY(-0.5px);
}

/* === ЧАТ: ОБНОВЛЁННЫЙ ВИД === */

/* общий контейнер */
.vr-chat-layout {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 220px;
  height: 100%;
}

/* заголовок в правой части модалки/страницы */
.vr-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 6px;
  margin-bottom: 4px;
}

.vr-chat-peer-name {
  font-weight: 600;
  font-size: 14px;
}

.vr-chat-peer-status {
  font-size: 12px;
  color: var(--vr-text-muted);
  margin-top: 2px;
}

/* индикатор онлайн */
.online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 4px;
  background: #5cff9c;
  box-shadow: 0 0 8px rgba(92,255,156,0.9);
  vertical-align: middle;
}

/* контейнер с сообщениями */
.vr-chat-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 8px;
}

/* ВАЖНО: убиваем старый огромный фон вокруг сообщения */
.vr-chat-message {
  margin-bottom: 8px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.vr-chat-message-inner {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* мои сообщения зеркалируем, чтобы пузырь уходил вправо */
.vr-chat-message.is-mine .vr-chat-message-inner {
  flex-direction: row-reverse;
}

/* аватарка */
.vr-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #ffe38d, #ffb35c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #2b2050;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255,209,124,0.7);
  overflow: hidden;
}

.vr-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vr-chat-content {
  max-width: 100%;
}

/* шапка сообщения */
.vr-chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--vr-text-muted);
  margin-bottom: 3px;
}

/* сам пузырёк */
.vr-chat-text {
  font-size: 14px;
  white-space: pre-wrap;
  padding: 9px 11px;
  border-radius: 14px;
  background: rgba(34,45,98,0.9);             /* СВЕТЛЕЕ */
  border: 1px solid rgba(255,255,255,0.03);
}

/* мои сообщения — тёплый подсвет */
.vr-chat-message.is-mine .vr-chat-text {
  background: rgba(255,214,140,0.18);
  border-color: rgba(255,214,140,0.8);
}

/* форма ввода под чат */
.vr-chat-form {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  align-items: flex-end;
}

/* поле для ввода тянется */
.vr-chat-form .vr-form-field textarea,
#vrChatForm textarea {
  flex: 1 1 auto;
  min-height: 60px;
  resize: vertical;
}

/* hover для ссылок в чате/шапке */
.vr-link {
  color: #ffe6a6;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color .15s ease, border-color .15s ease, text-shadow .15s ease, transform .1s ease;
}

.vr-link:hover {
  color: #ffffff;
  border-color: rgba(255,230,166,0.7);
  text-shadow: 0 0 6px rgba(255,230,166,0.9);
  transform: translateY(-0.5px);
}

/* индикатор непрочитанных в списке диалогов */
.vr-dialog-unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  padding: 0 5px;
  margin-left: 6px;
  border-radius: 999px;
  background: #ffb35c;
  color: #1c1235;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 0 8px rgba(255,179,92,0.8);
}


/* === МОДАЛКА ЧАТОВ — РАЗМЕР И ВНУТРЕННЯЯ ВЁРСТКА === */

.vr-modal-window--large {
  width: min(1100px, 98vw);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;              /* внешний скролл убираем */
}

.vr-modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.vr-modal-body {
  flex: 1 1 auto;
  padding: 0;                    /* без лишних отступов */
  overflow: hidden;              /* никаких скроллов здесь */
}

/* левая колонка + правая часть чата в модалке */
.vr-dialogs-layout {
  display: flex;
  height: 100%;
}

.vr-dialogs-list {
  width: 260px;
  border-right: 1px solid rgba(255,255,255,0.06);
  background: radial-gradient(circle at 0 0, #181b3b, #0f1227);
  overflow-y: auto;
}

.vr-dialogs-chat {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 0 0, #242b57, #11152b);
  overflow: hidden;              /* только сообщения скроллятся */
}

/* === ЧАТ ВНУТРИ ПРАВОЙ ЧАСТИ === */

.vr-chat-layout {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px 10px;
  height: 100%;
}

/* шапка чата */
.vr-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.vr-chat-peer-name {
  font-weight: 600;
  font-size: 14px;
}

.vr-chat-peer-status {
  font-size: 12px;
  color: var(--vr-text-muted);
  margin-top: 2px;
}

.online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-right: 4px;
  background: #64ff9b;
  box-shadow: 0 0 7px rgba(100,255,155,0.9);
  vertical-align: middle;
}

/* список сообщений: ЕДИНСТВЕННЫЙ скролл */
.vr-chat-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 6px;
}

/* отдельное сообщение — БЕЗ карточек/теней вокруг */
.vr-chat-message {
  margin-bottom: 10px;
  padding: 0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.vr-chat-message-inner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* мои сообщения уводим вправо */
.vr-chat-message.is-mine .vr-chat-message-inner {
  flex-direction: row-reverse;
}

/* аватарка */
.vr-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #ffe5a5, #ffc26a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #24163d;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(255,194,106,0.8);
  overflow: hidden;
}

.vr-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vr-chat-content {
  max-width: 100%;
}

/* имя + время */
.vr-chat-meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  color: var(--vr-text-muted);
  margin-bottom: 4px;
}

/* ПУЗЫРЁК — делаем светлее, ближе к уведомлениям */
.vr-chat-text {
  font-size: 14px;
  white-space: pre-wrap;
  padding: 9px 12px;
  border-radius: 14px;
  background: rgba(39, 49, 99, 0.9);          /* более светлый индиго */
  border: 1px solid rgba(255,255,255,0.05);
}

/* мои сообщения — тёплый акцент */
.vr-chat-message.is-mine .vr-chat-text {
  background: rgba(255, 223, 161, 0.25);
  border-color: rgba(255, 223, 161, 0.85);
}

/* форма ввода под чат */
.vr-chat-form {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  align-items: flex-end;
}

.vr-chat-form .vr-form-field {
  flex: 1 1 auto;
}

.vr-chat-form textarea,
#vrChatForm textarea {
  width: 100%;
  min-height: 60px;
  resize: vertical;
}

/* hover-ссылки, как в уведомлениях, чуть мягче */
.vr-link {
  color: #ffe6a6;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    text-shadow 0.15s ease,
    transform 0.1s ease;
}

.vr-link:hover {
  color: #ffffff;
  border-color: rgba(255,230,166,0.7);
  text-shadow: 0 0 6px rgba(255,230,166,0.9);
  transform: translateY(-0.5px);
}

.vr-dialog-unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  padding: 0 5px;
  margin-left: 6px;
  border-radius: 999px;
  background: #ffb35c;
  color: #1c1235;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 0 8px rgba(255,179,92,0.8);
}

/* === КНОПКА ЗАКРЫТИЯ МОДАЛКИ === */

.vr-modal-header button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255, 230, 166, 0.15);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.15s ease;
}

.vr-modal-header button:hover {
    background: rgba(255, 230, 166, 0.35);
    box-shadow: 0 0 12px rgba(255, 230, 166, 0.6);
    transform: scale(1.05);
}

.vr-modal-header button:active {
    transform: scale(0.92);
}

/* === ГЛОБАЛЬНЫЙ КАСТОМНЫЙ СКРОЛЛ === */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffe6a6, #ffb35c);
    border-radius: 8px;
    box-shadow: 0 0 6px rgba(255, 200, 120, 0.7);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffebb8, #ffc985);
}

/* маленькие кнопки */
.vr-button--sm {
  padding: 6px 16px;
  font-size: 13px;
  border-radius: 999px;
}

/* полоска-подтверждение */
.vr-task-confirm-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, rgba(0, 220, 255, 0.18), rgba(23, 30, 64, 0.95));
  box-shadow: 0 0 22px rgba(0, 220, 255, 0.18);
  font-size: 13px;
  color: #e7ecff;
  max-width: 600px;
}

.vr-task-confirm-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vr-task-confirm-sub {
  opacity: 0.7;
  font-size: 12px;
}

.vr-task-confirm-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3cffb7;
  box-shadow: 0 0 10px rgba(60, 255, 183, 0.8);
  margin-right: 6px;
}

/* пилюля "работа завершена" */
.vr-task-finished-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, #42ff9e, #5fffe4);
  color: #151827;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(95, 255, 220, 0.55);
}


/* строка статусов задачи */
.vr-task-status-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* маленькая кнопка */
.vr-button--sm {
  padding: 6px 16px;
  font-size: 13px;
  border-radius: 999px;
}

/* плашка "исполнитель всё сделал" */
.vr-task-confirm-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0,
               rgba(0, 220, 255, 0.18),
               rgba(23, 30, 64, 0.95));
  box-shadow: 0 0 22px rgba(0, 220, 255, 0.18);
  font-size: 13px;
  color: #e7ecff;
  max-width: 640px;
}

.vr-task-confirm-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vr-task-confirm-sub {
  opacity: 0.7;
  font-size: 12px;
}

.vr-task-confirm-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3cffb7;
  box-shadow: 0 0 10px rgba(60, 255, 183, 0.8);
  margin-right: 6px;
}

/* пилюля "работа завершена" */
.vr-task-finished-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, #42ff9e, #5fffe4);
  color: #151827;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(95, 255, 220, 0.55);
}

.vr-task-status-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

/* маленькая кнопка */
.vr-button--sm {
  padding: 6px 16px;
  font-size: 13px;
  border-radius: 999px;
}

/* плашка для подтверждения заказчиком */
.vr-task-confirm-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0,
               rgba(0, 220, 255, 0.18),
               rgba(23, 30, 64, 0.95));
  box-shadow: 0 0 22px rgba(0, 220, 255, 0.18);
  font-size: 13px;
  color: #e7ecff;
  max-width: 640px;
}

.vr-task-confirm-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vr-task-confirm-sub {
  opacity: 0.7;
  font-size: 12px;
}

.vr-task-confirm-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3cffb7;
  box-shadow: 0 0 10px rgba(60, 255, 183, 0.8);
  margin-right: 6px;
}

/* строка "работа завершена + оценка" */
.vr-task-finished-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vr-task-finished-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, #42ff9e, #5fffe4);
  color: #151827;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 0 18px rgba(95, 255, 220, 0.55);
}

.vr-task-review-note {
  font-size: 12px;
  opacity: 0.7;
}
/* Общий контейнер страницы авторизации */
.vr-auth-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.vr-auth-card-wide {
  width: 100%;
  max-width: 920px;
  border-radius: 24px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  overflow: hidden;
  background: radial-gradient(circle at 0 0,
              rgba(0, 220, 255, 0.18),
              rgba(16, 21, 51, 0.98));
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(0, 220, 255, 0.18);
}

/* Левая сторона: «промо» */
.vr-auth-left {
  padding: 28px 28px 28px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #e9efff;
}

.vr-auth-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(120, 214, 255, 0.6);
  box-shadow: 0 0 12px rgba(120, 214, 255, 0.6);
}

.vr-auth-title {
  font-size: 26px;
  line-height: 1.2;
  margin: 4px 0;
}

.vr-auth-text {
  font-size: 14px;
  opacity: 0.9;
}

.vr-auth-list {
  margin: 6px 0 0;
  padding-left: 0;
  list-style: none;
  font-size: 13px;
  opacity: 0.9;
}

.vr-auth-highlight {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(3, 248, 206, 0.12);
  border: 1px solid rgba(121, 255, 213, 0.45);
  font-size: 13px;
}

/* Правая сторона: форма */
.vr-auth-right {
  padding: 28px 28px 28px 28px;
  background: rgba(12, 16, 40, 0.94);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
}

.vr-auth-panel-title {
  font-size: 20px;
  margin-bottom: 4px;
}

.vr-auth-panel-subtitle {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 18px;
}

/* Текст внизу формы */
.vr-auth-footer-text {
  margin-top: 16px;
  font-size: 13px;
  opacity: 0.85;
}

/* Кнопка на всю ширину */
.vr-button--full {
  width: 100%;
  justify-content: center;
}

/* Красивые инпуты (если ещё не настроены) */
.vr-input,
.vr-form-field input,
.vr-form-field textarea,
.vr-form-field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  background: #fafafa;
  font-size: 15px;
  transition: all 0.25s ease;
  outline: none;
}

.vr-input:hover,
.vr-form-field input:hover,
.vr-form-field textarea:hover,
.vr-form-field select:hover {
  background: #ffffff;
  border-color: #c7c7c7;
}

.vr-input:focus,
.vr-form-field input:focus,
.vr-form-field textarea:focus,
.vr-form-field select:focus {
  background: #ffffff;
  border-color: #7b9fff;
  box-shadow: 0 0 0 3px rgba(123, 159, 255, 0.25);
}

/* Выбор роли — чипы */
.vr-role-toggle {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.vr-role-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.vr-role-chip input {
  display: none;
}

.vr-role-chip-label {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: #e4e8ff;
  opacity: 0.8;
}

.vr-role-chip:hover {
  border-color: rgba(121, 214, 255, 0.8);
}

.vr-role-chip input:checked + .vr-role-chip-label {
  background: linear-gradient(120deg, #42ff9e, #5fffe4);
  color: #141725;
  opacity: 1;
  box-shadow: 0 0 18px rgba(95, 255, 220, 0.6);
}

.vr-auth-badge--with-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(120, 214, 255, 0.6);
  box-shadow: 0 0 12px rgba(120, 214, 255, 0.6);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.vr-auth-badge--with-logo img {
  height: 16px;
}

.vr-user-avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #00bcd4, #006eff);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
}

.vr-user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vr-performers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.vr-performer-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
    border: 1px solid #eee;
}

.vr-performer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.vr-performer-avatar img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.vr-avatar-fallback {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bcd4, #006aff);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: #fff;
    font-size: 20px;
}

.vr-performer-info {
    flex: 1;
}

.vr-performer-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.vr-performer-rating {
    font-size: 14px;
    color: #666;
}

.vr-performer-category {
    font-size: 13px;
    color: #888;
}