:root {
  --bg-900: #080f1d; --bg-800: #0a172b; --bg-700: #102544; --bg-600: #18345c;
  --bordeaux-dark:  #76253f; --bordeaux: #a43150; --bordeaux-grad: #b33a59;
  --bordeaux-light: #c15b75; --bordeaux-error: #e05b78;
  --blue-border: #304463; --blue-btn: #2e4664; --blue-video-1: #234a8a; --blue-video-2: #2d5fb5;
  --green-btn-1: #245e49; --green-btn-2: #307a5b; --green-status: #22c55e;
  --red-1: #591d35; --red-2: #76233f;
  --text-primary: #f4f6fa; --text-secondary: #a9b4c7; --text-muted: #71839d; --text-placeholder: #53647c;
  --status-online: #22c55e;
  --radius-sm: 6px; --radius-md: 14px; --radius-lg: 24px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; min-height: 100%;
  font-family: Arial, Helvetica, sans-serif; color: var(--text-primary);
  background: radial-gradient(circle at 50% 0%, rgba(164, 49, 80, .18), transparent 60%), linear-gradient(180deg, var(--bg-600) 0%, var(--bg-700) 30%, var(--bg-800) 65%, var(--bg-900) 100%);
  background-attachment: fixed; -webkit-font-smoothing: antialiased;
}
a { color: var(--bordeaux-light); }
input, textarea, select, button { font-family: inherit; }
.container { max-width: 480px; margin: 0 auto; padding: 16px; }

.card {
  background: linear-gradient(180deg, rgba(16, 31, 55, .85), rgba(10, 24, 44, .95));
  border: 1px solid rgba(48, 68, 99, .6); border-radius: var(--radius-md); padding: 16px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .55);
}

.btn {
  display: block; width: 100%; padding: 14px 16px; border: none;
  border-radius: var(--radius-sm); color: var(--text-primary);
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
  transition: transform .07s, opacity .15s;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn--sos { background: linear-gradient(180deg, var(--bordeaux-grad), var(--bordeaux-dark)); border: 1px solid var(--bordeaux); box-shadow: 0 0 35px rgba(124, 28, 55, .45); font-size: 18px; padding: 18px; }
.btn--primary { background: linear-gradient(180deg, var(--bordeaux), var(--bordeaux-dark)); border: 1px solid var(--bordeaux-grad); }
.btn--green   { background: linear-gradient(180deg, var(--green-btn-2), var(--green-btn-1)); border: 1px solid #3c8d69; }
.btn--history { background: linear-gradient(180deg, var(--blue-video-2), var(--blue-video-1)); border: 1px solid var(--blue-border); color: var(--text-primary); margin-top: 16px; }
.btn--ghost   { background: rgba(48, 68, 99, .25); border: 1px solid var(--blue-border); }

.row { display: flex; gap: 8px; }
.row > * { flex: 1; }
.field { margin: 12px 0; }
.field label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; background: rgba(13, 31, 53, .8);
  border: 1px solid var(--blue-border); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 15px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--bordeaux); box-shadow: 0 0 0 3px rgba(164, 49, 80, .25); }

.title { text-align: center; letter-spacing: 6px; font-weight: 900; font-size: 22px; margin: 8px 0 2px; text-transform: uppercase; }
.subtitle { text-align: center; color: var(--text-secondary); letter-spacing: 1.5px; font-size: 12px; margin-bottom: 16px; }

/* Единый мелкий серый текст */
.muted, .hint-text, #srvStatus {
  color: #71839d !important;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.4;
}

.topbar { display: flex; align-items: center; justify-content: flex-end; padding: 12px 16px; border-bottom: 1px solid rgba(48, 68, 99, .5); background: rgba(8, 15, 29, .7); position: sticky; top: 0; z-index: 10; }
.topbar .user-name { color: var(--bordeaux-light); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }

/* Контейнеры для эмблемы */
.sos-header { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 10px 0 16px; }
.login-emblem-wrap { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 24px; width: 100%; }

/* --- ПУЛЬСАЦИЯ ТУМАНА (ТУДА-ОБРАТНО) --- */
@keyframes fogPulse {
  0% { box-shadow: 0 0 10px rgba(164, 49, 80, 0.3), inset 0 0 5px rgba(164, 49, 80, 0.1); }
  50% { box-shadow: 0 0 30px rgba(224, 91, 120, 0.9), inset 0 0 20px rgba(224, 91, 120, 0.5); }
  100% { box-shadow: 0 0 10px rgba(164, 49, 80, 0.3), inset 0 0 5px rgba(164, 49, 80, 0.1); }
}

/* Эмблема (Логотип) */
.emblem-pulse {
  position: relative; width: 100px; height: 100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 49, 80, .15), rgba(10, 24, 44, 0.9));
  border: 1px solid var(--bordeaux);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  animation: fogPulse 3s ease-in-out infinite;
  overflow: hidden; /* Обрезает картинку по кругу */
}
/* Картинка внутри теперь меньше (75%), чтобы влезала целиком */
.emblem-pulse img { width: 80%; height: 80%; object-fit: contain; }
.emblem-placeholder { font-size: 36px; font-weight: 900; color: var(--bordeaux-light); }

/* --- 112 (КРАСНЫЙ ТЕКСТ) --- */
@keyframes textGlowPulse {
  0% { text-shadow: 0 0 10px rgba(164, 49, 80, 0.4); transform: scale(1); }
  50% { text-shadow: 0 0 30px rgba(224, 91, 120, 0.9), 0 0 50px rgba(164, 49, 80, 0.6); transform: scale(1.03); }
  100% { text-shadow: 0 0 10px rgba(164, 49, 80, 0.4); transform: scale(1); }
}
.text-112 {
  font-size: 56px; font-weight: 900; letter-spacing: 6px;
  background: linear-gradient(45deg, #76253f, #e05b78, #c15b75, #a43150, #76253f);
  background-size: 300% 300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite, textGlowPulse 3s ease-in-out infinite;
}
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* --- КРУГЛЫЕ КНОПКИ (УМЕНЬШЕННЫЕ) --- */
.media-grid-circle { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; padding: 0 40px; /* Чуть сузили контейнер, чтобы кнопки стали меньше */ }
.btn-circle {
  position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 49, 80, .15), rgba(10, 24, 44, 0.95));
  border: 1px solid var(--bordeaux);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform 0.1s; padding: 10px;
  animation: fogPulse 3s ease-in-out infinite;
  max-width: 100px; /* Ограничиваем максимальный размер */
  margin: 0 auto;
}
.btn-circle:active { transform: scale(0.95); }
.btn-circle .label {
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-align: center;
  background: linear-gradient(45deg, #76253f, #e05b78, #c15b75, #a43150, #76253f);
  background-size: 300% 300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease infinite;
}
.btn-circle.recording { 
  border-color: #ef4444; 
  animation: fogPulseRed 1s ease-in-out infinite; 
}
@keyframes fogPulseRed {
  0% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 30px rgba(239, 68, 68, 0.9); }
  100% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }
}

/* Кружочки прикрепленных файлов */
.media-preview-circle { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.preview-item { 
  position: relative; width: 52px; height: 52px; border-radius: 50%; 
  border: 2px solid var(--bordeaux); overflow: hidden; 
  background: radial-gradient(circle, rgba(164, 49, 80, .2), rgba(10, 24, 44, 0.95)); 
  display: flex; align-items: center; justify-content: center;
  animation: fogPulse 3s ease-in-out infinite;
}
.preview-item img, .preview-item video { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.preview-item .icon-text { font-size: 20px; }
/* Крестик теперь внутри круга, чтобы не обрезался */
.preview-item .remove { 
  position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; 
  border-radius: 50%; background: #e05b78; color: white; border: none; 
  font-size: 12px; line-height: 1; cursor: pointer; 
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}

/* Модальное окно */
.modal-overlay { position: fixed; inset: 0; background: rgba(8, 15, 29, 0.85); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 16px; opacity: 0; transition: opacity 0.2s ease; }
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content { background: linear-gradient(180deg, rgba(16, 31, 55, 0.95), rgba(10, 24, 44, 0.98)); border: 1px solid var(--bordeaux); border-radius: var(--radius-lg); width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; padding: 20px; box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 25px rgba(164, 49, 80, 0.3); position: relative; transform: translateY(20px); transition: transform 0.2s ease; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close { z-index: 2; position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--text-secondary); font-size: 24px; cursor: pointer; line-height: 1; padding: 4px; }
.modal-title { font-size: 16px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--bordeaux-light); margin-bottom: 16px; text-align: center; }

/* ==========================================
   ХОЛОДНЫЙ БЕЛО-ГОЛУБОЙ ТЕКСТ (ПУЛЬСАЦИЯ)
   ========================================== */
@keyframes coldPulse {
  0% { text-shadow: 0 0 10px rgba(168, 216, 255, 0.3); }
  50% { text-shadow: 0 0 25px rgba(168, 216, 255, 0.9), 0 0 40px rgba(126, 180, 255, 0.6); }
  100% { text-shadow: 0 0 10px rgba(168, 216, 255, 0.3); }
}

.cold-text-title {
  color: #e8f4ff;
  text-shadow: 0 0 10px rgba(168, 216, 255, 0.3);
  animation: coldPulse 3s ease-in-out infinite;
}

/* Заголовок окна обращения (пульсирует, как логотип) */
.pulse-title {
  animation: textGlowPulse 3s ease-in-out infinite;
}

/* Кнопки в один ряд */
.media-grid-circle {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 8px !important;
  padding: 0 !important;
}
.btn-circle {
  max-width: none !important;
  padding: 6px !important;
}
.btn-circle .label {
  font-size: 11px !important;
  letter-spacing: 1px !important;
}

/* Увеличенное поле описания */
#evNote {
  min-height: 140px !important;
  font-size: 14px !important;
}

/* Крестики (смещены глубже в центр) */
.preview-item .remove {
  top: 4px !important;
  right: 4px !important;
}

/* Выравнивание окна входа */
.login-top-spacer { margin-top: 80px; }
.login-bottom-spacer { margin-bottom: 10px; }

/* ==========================================
   ФИНАЛЬНЫЕ ШТРИХИ: СГЛАЖИВАНИЕ И КРЕСТИКИ
   ========================================== */

/* Глобальное сглаживание шрифтов и элементов */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Плавность для кнопок */
button, .btn, .btn-circle {
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  -webkit-tap-highlight-color: transparent; /* Убирает синюю рамку при нажатии на телефоне */
}

/* Крестики прикрепленных файлов (максимально в центр) */
.preview-item {
  overflow: visible; /* Разрешаем крестику выходить за край, если нужно */
}
.preview-item .remove {
  position: absolute;
  top: 2px !important;
  right: 2px !important;
  width: 20px !important; 
  height: 20px !important;
  font-size: 14px !important;
  border: 2px solid #0a182c !important; /* Темная окантовка, чтобы сливалось с фоном */
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  z-index: 100;
}
/* Саму картинку внутри круга сделаем чуть меньше, чтобы крестик не перекрывал лицо/объект */
.preview-item img, .preview-item video {
  width: 85% !important;
  height: 85% !important;
  border-radius: 50%;
}

/* ==========================================
   ФИНАЛЬНЫЕ ШТРИХИ: СГЛАЖИВАНИЕ И КРЕСТИКИ
   ========================================== */

/* Глобальное сглаживание шрифтов и элементов */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Плавность для кнопок */
button, .btn, .btn-circle {
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  -webkit-tap-highlight-color: transparent; /* Убирает синюю рамку при нажатии на телефоне */
}

/* Крестики прикрепленных файлов (максимально в центр) */
.preview-item {
  overflow: visible; /* Разрешаем крестику выходить за край, если нужно */
}
.preview-item .remove {
  position: absolute;
  top: 2px !important;
  right: 2px !important;
  width: 20px !important; 
  height: 20px !important;
  font-size: 14px !important;
  border: 2px solid #0a182c !important; /* Темная окантовка, чтобы сливалось с фоном */
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
  z-index: 100;
}
/* Саму картинку внутри круга сделаем чуть меньше, чтобы крестик не перекрывал лицо/объект */
.preview-item img, .preview-item video {
  width: 85% !important;
  height: 85% !important;
  border-radius: 50%;
}

/* ==========================================
   КРАСИВОЕ УВЕДОМЛЕНИЕ ОБ ОШИБКЕ (ТОСТ)
   ========================================== */
.toast-container {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Чтобы не блокировать кнопки */
  z-index: 9999;
}

.toast-error {
  background: linear-gradient(180deg, rgba(118, 37, 63, 0.95), rgba(89, 29, 53, 0.95));
  border: 1px solid var(--bordeaux-error);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(224, 91, 120, 0.4);
  animation: toastFadeInOut 3s ease-in-out forwards;
  backdrop-filter: blur(4px);
  max-width: 90%;
}

@keyframes toastFadeInOut {
  0% { opacity: 0; transform: scale(0.9) translateY(10px); }
  15% { opacity: 1; transform: scale(1) translateY(0); }
  85% { opacity: 1; transform: scale(1) translateY(0); }
  100% { opacity: 0; transform: scale(0.9) translateY(-10px); }
}

/* Кнопка диктовки */
.voice-input-btn {
  background: rgba(48, 68, 99, 0.4);
  border: 1px solid var(--blue-border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  transition: all 0.2s;
}
.voice-input-btn.active {
  background: rgba(164, 49, 80, 0.2);
  border-color: var(--bordeaux);
  color: var(--bordeaux-light);
  box-shadow: 0 0 15px rgba(164, 49, 80, 0.4);
}
.voice-input-btn:active { transform: scale(0.97); }

/* ==========================================
   СТИЛЬНАЯ КНОПКА ДИКТОВКИ
   ========================================== */
.btn-dictate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  margin-top: 8px;
  background: transparent;
  border: 1px solid rgba(224, 91, 120, 0.4);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Переливающийся фон */
.btn-dictate::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(118, 37, 63, 0.2), rgba(224, 91, 120, 0.4), rgba(118, 37, 63, 0.2));
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  z-index: 0;
}

.btn-dictate:active { transform: scale(0.98); }

.btn-dictate .dictate-text {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bordeaux-light);
}

/* Кружок с микрофоном */
.btn-dictate .dictate-icon {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 24, 44, 0.8);
  border: 1px solid var(--bordeaux-error);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(224, 91, 120, 0.5);
}

/* Сам микрофон (красный) */
.btn-dictate .dictate-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--bordeaux-error);
  animation: fogPulseRed 2s ease-in-out infinite;
}

/* Состояние записи */
.btn-dictate.active {
  border-color: #ef4444;
}
.btn-dictate.active::before {
  background: linear-gradient(45deg, rgba(239, 68, 68, 0.3), rgba(239, 68, 68, 0.6), rgba(239, 68, 68, 0.3));
}

/* Красивое уведомление об ошибке (Тост) */
.toast-error {
  background: linear-gradient(180deg, rgba(118, 37, 63, 0.95), rgba(89, 29, 53, 0.95));
  border: 1px solid var(--bordeaux-error);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(224, 91, 120, 0.4);
  animation: toastFadeInOut 3s ease-in-out forwards;
  backdrop-filter: blur(4px);
  max-width: 90%;
}



/* ==========================================
   СИНИЙ СКРОЛЛБАР И КРАСНЫЕ КРЕСТИКИ
   ========================================== */





/* ==========================================
   ТЕМНО-СИНИЕ КНОПКИ И СКРОЛЛБАР
   ========================================== */
.btn--blue, .btn--history {
  background: linear-gradient(180deg, #102544, #0a172b) !important;
  border: 1px solid #304463 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 4px 10px rgba(0,0,0,0.5) !important;
  color: var(--text-primary) !important;
}

#myList::-webkit-scrollbar { width: 6px; }
#myList::-webkit-scrollbar-track { background: #080f1d; border-radius: 10px; }
#myList::-webkit-scrollbar-thumb { 
  background: #102544 !important; 
  border: 1px solid #304463;
  border-radius: 10px; 
  box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}
#myList { scrollbar-width: thin; scrollbar-color: #102544 #080f1d; }

/* КРАСНЫЕ КРЕСТИКИ */
.modal-close { 
  color: #e05b78 !important; 
  text-shadow: 0 0 10px rgba(224, 91, 120, 0.8) !important; 
  font-weight: bold !important;
}
.preview-item .remove { 
  background: #080f1d !important; 
  border: 1px solid #e05b78 !important; 
  color: #e05b78 !important; 
  font-size: 16px !important; 
  width: 24px !important; height: 24px !important; 
  top: -6px !important; right: -6px !important; 
  border-radius: 50%; 
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 10px rgba(224, 91, 120, 0.4) !important;
}

/* === ЖЕСТКИЕ СТИЛИ (ПЕРЕБИВАЮТ ВСЁ) === */
.btn--blue, #btnRefresh, .btn--history {
  background: linear-gradient(180deg, #102544, #0a172b) !important;
  border: 1px solid #304463 !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5) !important;
  color: #f4f6fa !important;
}
#myList::-webkit-scrollbar { width: 6px; }
#myList::-webkit-scrollbar-track { background: #080f1d; }
#myList::-webkit-scrollbar-thumb { background: #102544 !important; border: 1px solid #304463; }
.modal-close { color: #e05b78 !important; font-weight: bold !important; }
.preview-item .remove { background: #080f1d !important; border: 1px solid #e05b78 !important; color: #e05b78 !important; }


/* === НОВАЯ ЗЕЛЕНАЯ КНОПКА (В СТИЛЕ ДИКТОВКИ) === */
.btn-green-glow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  margin-top: 24px;
  border: 1px solid var(--green-status);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(90deg, rgba(36,94,73,0.4), rgba(34,197,94,0.6), rgba(36,94,73,0.4));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.3);
  transition: transform 0.2s;
}
.btn-green-glow:active { transform: scale(0.98); }


/* === ХОЛОДНЫЙ ТУМАН НА КНОПКАХ === */
.btn--sos .btn-text, .cold-pulse-text {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(168, 216, 255, 0.3);
  animation: coldPulse 3s ease-in-out infinite;
}

/* ТЕМНО-СИНИЙ ТЕКСТ С ТЕНЯМИ (ДЛЯ КНОПОК) */
.dark-blue-text {
  color: #102544 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.2) !important;
  font-weight: 900 !important;
}

/* Строка статуса и кнопки выйти */
.status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
}
.status-row .logout-link {
  color: #e05b78 !important;
  text-decoration: none;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(224, 91, 120, 0.6);
  animation: textGlowPulse 3s ease-in-out infinite;
}


/* ==========================================
   ИСПРАВЛЕНИЕ КЛИКОВ И ТЕМНО-СИНИЙ ТУМАН
   ========================================== */

/* Чтобы клики по тексту внутри кнопок проходили на саму кнопку */
.btn span, .btn--history span, .btn--blue span {
  pointer-events: none !important;
}

/* Темно-синий переливающийся туман для текста */
.dark-blue-fog {
  color: #102544 !important;
  text-shadow: 0 0 10px rgba(45, 95, 181, 0.8), 0 0 20px rgba(45, 95, 181, 0.4) !important;
  animation: blueFogPulse 3s ease-in-out infinite !important;
  font-weight: 900 !important;
}

@keyframes blueFogPulse {
  0% { text-shadow: 0 0 10px rgba(45, 95, 181, 0.4); }
  50% { text-shadow: 0 0 20px rgba(45, 95, 181, 0.9), 0 0 30px rgba(45, 95, 181, 0.6); }
  100% { text-shadow: 0 0 10px rgba(45, 95, 181, 0.4); }
}

/* Статус "На модерации" тоже делаем темно-синим */
.status-pending-fog {
  color: #93c5fd !important; /* Светло-синий, чтобы читалось на темном фоне */
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.8) !important;
  animation: blueFogPulse 3s ease-in-out infinite !important;
}
