/* AURA Admin v2 — розовое золото, светлая/тёмная тема от системы. Старый admin.css не трогаем. */
@import url('https://fonts.bunny.net/css?family=cinzel:400,500,600|inter:300,400,500,600&subset=latin,cyrillic&display=swap');

:root {
  color-scheme: dark light;
  --bg:        #0c0808;
  --bg2:       #141010;
  --bg3:       #1c1616;
  --border:    rgba(212, 154, 132, 0.18);
  --border2:   rgba(212, 154, 132, 0.32);
  --accent:    #d49a84;
  --accent2:   #f4d3c4;
  --accent-bg: rgba(212, 154, 132, 0.1);
  --accent-bg2:rgba(212, 154, 132, 0.18);
  --accent-gradient: linear-gradient(135deg, #c58670, #965b49);
  --text:      #f0ede8;
  --text2:     #b8b3b1;
  --text3:     #7a7573;
  --green:     #6ee7a0;
  --green-bg:  rgba(110, 231, 160, 0.1);
  --red:       #f87171;
  --red-bg:    rgba(248, 113, 113, 0.1);
  --blue:      #7eb8ff;
  --blue-bg:   rgba(126, 184, 255, 0.1);
  --sidebar-w: 240px;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg:        #faf7f5;
    --bg2:       #ffffff;
    --bg3:       #f3eeeb;
    --border:    rgba(140, 90, 70, 0.16);
    --border2:   rgba(140, 90, 70, 0.28);
    --accent:    #b87862;
    --accent2:   #8c5342;
    --accent-bg: rgba(180, 120, 95, 0.12);
    --accent-bg2:rgba(180, 120, 95, 0.2);
    --text:      #2a2220;
    --text2:     #5c5552;
    --text3:     #8a8380;
    --green:     #15803d;
    --green-bg:  rgba(21, 128, 61, 0.1);
    --red:       #dc2626;
    --red-bg:    rgba(220, 38, 38, 0.08);
    --blue:      #2563eb;
    --blue-bg:   rgba(37, 99, 235, 0.08);
    --shadow-card: 0 8px 28px rgba(42, 28, 22, 0.08);
  }
}

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

html {
  font-size: 15px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  -webkit-font-smoothing: antialiased;
}

/* ── SIDEBAR ── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0; top: 0; bottom: 0;
  z-index: 100;
  transition: transform 0.3s ease;
}

.sidebar-logo {
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--border);
}

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

.logo-icon {
  display: none;
}

.logo-text {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--accent2);
  letter-spacing: 0.12em;
}

.logo-sub {
  font-size: 11px;
  color: var(--text3);
  margin-top: 1px;
  font-family: 'Inter', system-ui, sans-serif;
}

.sidebar-nav {
  flex: 1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.nav-section {
  font-size: 10px;
  font-weight: 600;
  color: var(--text3);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 12px 10px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.nav-item:hover {
  background: var(--bg3);
  color: var(--text);
}

.nav-item.active {
  background: var(--accent-bg);
  color: var(--accent);
  position: relative;
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
}

.nav-icon {
  width: 18px; height: 18px;
  opacity: 0.7;
  flex-shrink: 0;
}

.nav-item.active .nav-icon { opacity: 1; }

.nav-badge {
  margin-left: auto;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 20px;
  font-family: 'JetBrains Mono', monospace;
}

/* Sidebar footer */
.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
}

.master-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}

.master-card:hover { background: var(--border); }

.master-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8b5e2a);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  color: var(--bg);
  flex-shrink: 0;
}

.master-info { flex: 1; min-width: 0; }

.master-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.master-plan {
  font-size: 11px;
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
}

/* ── MAIN ── */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  height: 60px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
  letter-spacing: 0.01em;
}

.topbar-date {
  font-size: 12px;
  color: var(--text3);
  font-family: 'JetBrains Mono', monospace;
}

.mobile-menu-btn {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg3);
  color: var(--text);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.mobile-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
}

.mobile-sidebar-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.page-content {
  padding: 28px;
  flex: 1;
}

/* ── CARDS ── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.card-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── METRIC CARDS ── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
  animation: fadeUp 0.4s ease both;
}

.metric-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}

.metric-card:nth-child(1) { animation-delay: 0ms; }
.metric-card:nth-child(2) { animation-delay: 60ms; }
.metric-card:nth-child(3) { animation-delay: 120ms; }
.metric-card:nth-child(4) { animation-delay: 180ms; }

.metric-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.metric-label {
  font-size: 12px;
  color: var(--text3);
  font-weight: 500;
}

.metric-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--accent);
}

.metric-icon.metric-icon--blue { color: var(--blue); }
.metric-icon.metric-icon--green { color: var(--green); }

.aura-icon { display: block; flex-shrink: 0; }

.card-title .aura-icon-title {
  width: 15px;
  height: 15px;
  vertical-align: -2px;
  margin-right: 6px;
  color: var(--accent);
  display: inline-block;
}

.dash-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dash-quick-btn .aura-icon {
  color: var(--accent);
}

.btn .aura-icon {
  display: inline-block;
  vertical-align: -3px;
  margin-right: 4px;
}

.empty-state-icon,
.empty-day-icon {
  font-size: 0;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-icon .aura-icon,
.empty-day-icon .aura-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  opacity: 0.45;
}

.chat-preview-avatar .aura-icon {
  width: 22px;
  height: 22px;
  color: var(--accent2);
}

.style-option-icon .aura-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1px;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
  margin-bottom: 6px;
}

.metric-sub {
  font-size: 12px;
  color: var(--text3);
}

.metric-sub .up { color: var(--green); }
.metric-sub .down { color: var(--red); }

/* ── SKELETON ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg3) 25%, var(--border) 50%, var(--bg3) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── TIMELINE ── */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color 0.15s;
  animation: fadeUp 0.3s ease both;
}

.timeline-item:hover { border-color: var(--border2); }

.timeline-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  width: 48px;
  flex-shrink: 0;
}

.timeline-bar {
  width: 3px;
  border-radius: 3px;
  align-self: stretch;
  min-height: 32px;
  flex-shrink: 0;
}

.timeline-info { flex: 1; min-width: 0; }

.timeline-client {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.timeline-service {
  font-size: 12px;
  color: var(--text2);
  margin-top: 2px;
}

.timeline-actions {
  display: flex;
  gap: 6px;
}

/* ── BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.badge-green { background: var(--green-bg); color: var(--green); }
.badge-red   { background: var(--red-bg);   color: var(--red); }
.badge-gold  { background: var(--accent-bg); color: var(--accent); }
.badge-blue  { background: var(--blue-bg);   color: var(--blue); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 0 16px rgba(212, 154, 132, 0.25);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg3); color: var(--text); border-color: var(--border2); }

.btn-danger {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid transparent;
}
.btn-danger:hover { border-color: var(--red); }

.btn-sm { padding: 5px 10px; font-size: 12px; }

/* ── TABLES ── */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

thead th {
  text-align: left;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
  vertical-align: middle;
}

tbody tr:last-child td { border-bottom: none; }

tbody tr:hover td { background: var(--bg3); color: var(--text); }

/* ── FORMS ── */
.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 16px;
  font-family: 'Inter', system-ui, sans-serif;
  transition: border-color 0.15s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-input::placeholder { color: var(--text3); }

textarea.form-input { resize: vertical; min-height: 100px; }

.toggle {
  position: relative;
  display: inline-block;
  width: 40px; height: 22px;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border2);
  border-radius: 22px;
  cursor: pointer;
  transition: 0.2s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 3px;
  background: var(--text3);
  border-radius: 50%;
  transition: 0.2s;
}

.toggle input:checked + .toggle-slider { background: var(--accent); }
.toggle input:checked + .toggle-slider::before {
  transform: translateX(18px);
  background: var(--bg);
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 28px;
  width: 100%;
  max-width: 480px;
  transform: translateY(16px);
  transition: transform 0.2s;
}

.modal-overlay.open .modal { transform: translateY(0); }

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
}

/* ── TABS ── */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg3);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.tab {
  flex: 1;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text3);
  cursor: pointer;
  border: none;
  background: none;
  font-family: 'Inter', system-ui, sans-serif;
  transition: all 0.15s;
  text-align: center;
}

.tab.active {
  background: var(--bg2);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ── CHAT PREVIEW ── */
.chat-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 360px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-preview-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg2);
}

.chat-preview-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8b5e2a);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

.chat-preview-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  animation: fadeUp 0.25s ease;
}

.chat-msg-bot {
  background: var(--bg3);
  color: var(--text);
  border-radius: 14px 14px 14px 4px;
  align-self: flex-start;
  white-space: pre-line;
}

.chat-msg-user {
  background: var(--accent);
  color: var(--bg);
  border-radius: 14px 14px 4px 14px;
  align-self: flex-end;
}

.chat-preview-input {
  padding: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
}

.chat-preview-input input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  color: var(--text);
  font-size: 16px;
  font-family: 'Inter', system-ui, sans-serif;
}
.chat-preview-input input:focus { outline: none; border-color: var(--accent); }

/* ── SCHEDULE GRID ── */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.schedule-day {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  transition: border-color 0.15s;
}

.schedule-day.working {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.schedule-day-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.schedule-day.working .schedule-day-name { color: var(--accent); }

.schedule-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text2);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── GRID UTILS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

/* ── TOAST ── */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 500;
}

.toast {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text);
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeUp 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.toast-success { border-left: 3px solid var(--green); }
.toast-error   { border-left: 3px solid var(--red); }
.toast-info    { border-left: 3px solid var(--accent); }

/* ── EMPTY STATE ── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  color: var(--text3);
  gap: 12px;
}

.empty-state-text { font-size: 14px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main { margin-left: 0; }
  .topbar { padding: 0 12px; }
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

/* ── SERVICES TABLE ── */
.service-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.service-row:last-child { border-bottom: none; }

.service-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.service-meta {
  font-size: 12px;
  color: var(--text3);
  font-family: 'JetBrains Mono', monospace;
  min-width: 72px;
  text-align: right;
  white-space: nowrap;
}

/* AI style selector */
.style-options {
  display: flex;
  gap: 10px;
}

.style-option {
  flex: 1;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}

.style-option:hover { border-color: var(--border2); }

.style-option.selected {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.style-option-icon { font-size: 20px; margin-bottom: 6px; }

.style-option-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
}

.style-option.selected .style-option-label { color: var(--accent); }

/* ── AUTH (вход / регистрация) ── */
.auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

.auth-brand {
  text-align: center;
  margin-bottom: 28px;
}

.auth-brand h1 {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent2);
  margin-bottom: 8px;
}

.auth-brand p {
  font-size: 14px;
  color: var(--text2);
}

.auth-form .form-group { margin-bottom: 14px; }

.auth-form .btn { width: 100%; justify-content: center; margin-top: 6px; }

.auth-link {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.15s, color 0.15s;
}

.auth-link:hover {
  border-color: var(--border2);
  color: var(--text);
}

.auth-msg {
  font-size: 13px;
  text-align: center;
  margin-top: 12px;
}

.auth-msg.error { color: var(--red); }
.auth-msg.ok { color: var(--green); }

.auth-divider {
  text-align: center;
  font-size: 12px;
  color: var(--text3);
  margin: 16px 0;
}

.auth-hidden { display: none !important; }

.btn-telegram {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid #2aabee;
  background: rgba(42, 171, 238, 0.12);
  color: #5ebef0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

#telegram-check-btn {
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  font-size: 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text2);
  cursor: pointer;
}
