/* ==========================================================================
   MOREPLACE - Единый CSS Файл (Main.css)
   Версия: 3.0 | Рефакторинг: 2024
   Стиль: Ocean/Marine Theme - Единая стилистика для всех страниц
   ========================================================================== */
/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (ПЕРЕМЕННЫЕ)
   ========================================================================== */
:root {
  /* Цветовая палитра - Ocean Theme */
  --ocean-deep: #0a2647;
  --ocean-mid: #144272;
  --ocean-light: #205295;
  --ocean-accent: #2C74B3;
  --ocean-primary: #2362c9;
  --sea-foam: #64CCC5;
  --coral: #FF6B6B;
  --gold: #FFD93D;
  --sand: #F0A500;
  --wave-light: #87CEEB;
  --wave-dark: #1E3A8A;
  /* Нейтральные цвета */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  /* Семантические цвета */
  --success: #10b981;
  --success-light: #d1fae5;
  --success-dark: #065f46;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --warning-dark: #92400e;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --danger-dark: #991b1b;
  --info: #3b82f6;
  --info-light: #dbeafe;
  --info-dark: #1e40af;
  /* Градиенты */
  --gradient-ocean: linear-gradient(135deg, var(--ocean-deep), var(--ocean-accent), var(--sea-foam));
  --gradient-ocean-simple: linear-gradient(135deg, #1a3a6c 0%, #2a5ca8 100%);
  --gradient-wave: linear-gradient(135deg, var(--wave-light), var(--sea-foam));
  --gradient-gold: linear-gradient(135deg, #FFD93D, #FF9A3D);
  --gradient-coral: linear-gradient(135deg, #FF6B6B, #FF9A6B);
  --gradient-marine: linear-gradient(135deg, #2362c9, #4ecdc4);
  /* Радиусы */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 50%;
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-ocean: 0 4px 12px rgba(35, 98, 201, 0.3);
  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-loading: 1090;
}
/* ==========================================================================
   2. СБРОС И НОРМАЛИЗАЦИЯ
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  color: var(--gray-800);
  background-color: var(--gray-50);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
}
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 80%, rgba(100, 204, 197, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(44, 116, 179, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
input,
button,
textarea,
select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
a:hover {
  color: var(--ocean-accent);
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--ocean-accent), transparent);
  margin: 2rem 0;
}
/* ==========================================================================
   3. ТИПОГРАФИКА
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
}
h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -1px; }
h2 { font-size: 2.5rem; letter-spacing: -0.5px; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }
p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--gray-600);
}
h1.gradient,
h2.gradient,
h3.gradient,
h4.gradient,
h5.gradient,
h6.gradient,
.text-gradient-ocean,
.gradient-text {
  background: var(--gradient-ocean);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: gradientFlow 5s ease infinite;
}
::selection {
  background: rgba(44, 116, 179, 0.3);
  color: var(--ocean-deep);
}
::-moz-selection {
  background: rgba(44, 116, 179, 0.3);
  color: var(--ocean-deep);
}
/* ==========================================================================
   4. КОНТЕЙНЕРЫ И СЕТКА
   ========================================================================== */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}
.container-wide {
  max-width: 1400px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}
.container-narrow {
  max-width: 1000px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}
.container-marine {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}
.grid {
  display: grid;
  gap: 2rem;
}
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
.items-grid,
.cards-grid,
.companies-grid,
.reviews-grid,
.specialists-grid {
  display: grid;
  gap: 2rem;
}
/* ==========================================================================
   5. КНОПКИ
   ========================================================================== */
.btn-more,
.btn-marine {
  background: var(--gradient-ocean);
  border: none;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 1.125rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-ocean);
}
.btn-more:hover,
.btn-marine:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(35, 98, 201, 0.4);
  color: white;
}
.btn-more::before,
.btn-marine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}
.btn-more:hover::before,
.btn-marine:hover::before {
  left: 100%;
}
.btn-more:disabled,
.btn-marine:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-outline-more {
  border: 2px solid var(--ocean-accent);
  color: var(--ocean-accent);
  background: transparent;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all var(--transition-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-outline-more:hover {
  background: var(--ocean-accent);
  color: white;
  border-color: var(--ocean-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}
.btn-gradient-ocean {
  background: var(--gradient-ocean);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: 0 10px 20px rgba(44, 116, 179, 0.3);
}
.btn-gradient-ocean::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.7s ease;
}
.btn-gradient-ocean:hover::before {
  left: 100%;
}
.btn-gradient-ocean:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(44, 116, 179, 0.4), 0 5px 15px rgba(44, 116, 179, 0.2);
  color: white;
}
.btn-marine-light {
  background: var(--gradient-marine);
  box-shadow: 0 4px 6px rgba(35, 98, 201, 0.3);
}
.btn-marine-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(35, 98, 201, 0.4);
}
/* Кнопки действий */
.action-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  background: white;
  color: var(--gray-500);
  transition: all var(--transition-fast);
  font-size: 0.9rem;
  cursor: pointer;
}
.action-btn:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  color: var(--ocean-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.action-btn.delete:hover {
  color: var(--danger);
}
.btn-table-action {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  background: white;
  color: var(--gray-500);
  transition: all var(--transition-fast);
  cursor: pointer;
  font-size: 1rem;
}
.btn-table-action:hover {
  background: var(--gray-100);
  color: var(--ocean-primary);
  border-color: var(--gray-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-table-action.success {
  color: var(--success);
  border-color: var(--success);
}
.btn-table-action.success:hover {
  background: var(--success-light);
  color: var(--success-dark);
  border-color: var(--success-dark);
}
.btn-table-action.danger {
  color: var(--danger);
  border-color: var(--danger);
}
.btn-table-action.danger:hover {
  background: var(--danger-light);
  color: var(--danger-dark);
  border-color: var(--danger-dark);
}
/* Кнопки с иконками */
.btn-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.btn-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.7s ease;
}
.btn-icon:hover::before {
  left: 100%;
}
.btn-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(44, 116, 179, 0.3);
}
.btn-icon-sm {
  width: 36px;
  height: 36px;
  font-size: 0.875rem;
}
.btn-icon-lg {
  width: 56px;
  height: 56px;
  font-size: 1.25rem;
}
/* ==========================================================================
   6. КАРТОЧКИ
   ========================================================================== */
.card,
.card-marine {
  border: none;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  background: white;
  position: relative;
  overflow: hidden;
}
.card::before,
.card-marine::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-ocean);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}
.card:hover::before,
.card-marine:hover::before {
  transform: scaleX(1);
}
.card:hover,
.card-marine:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.card-marine {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-2xl);
  border: 2px solid transparent;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.card-marine:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-10px);
  border-color: var(--ocean-accent);
}
/* Stats Cards */
.stats-card,
.stat-card {
  background: linear-gradient(135deg, rgba(35, 98, 201, 0.05), rgba(78, 205, 196, 0.05));
  border: 1px solid rgba(35, 98, 201, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.stats-card::before,
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-marine);
  transition: all var(--transition-normal);
}
.stats-card:hover,
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -8px rgba(35, 98, 201, 0.25);
}
.stats-card:hover::before,
.stat-card:hover::before {
  height: 6px;
}
.stat-icon {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
  background: var(--gradient-marine);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ocean-accent);
  margin-bottom: 0.5rem;
  line-height: 1;
  display: block;
  font-family: 'Montserrat', sans-serif;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-card-change {
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  width: fit-content;
}
.stat-card-change.positive {
  color: var(--success);
  background: #ecfdf5;
}
.stat-card-change.negative {
  color: var(--danger);
  background: #fef2f2;
}
.stat-card-change.warning {
  color: var(--warning);
  background: #fffbeb;
}
/* Stat Card Icons */
.stat-card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-md);
}
.stat-card-icon.primary {
  background: linear-gradient(135deg, #2362c9, #4a7fd4);
  color: white;
}
.stat-card-icon.success {
  background: linear-gradient(135deg, #4ecdc4, #6fdad2);
  color: white;
}
.stat-card-icon.warning {
  background: linear-gradient(135deg, #ffd93d, #ffdf5f);
  color: var(--gray-800);
}
.stat-card-icon.danger {
  background: linear-gradient(135deg, #ff6b6b, #ff8585);
  color: white;
}
.stat-card-icon.info {
  background: linear-gradient(135deg, #4ecdc4, #6fdad2);
  color: white;
}
.stat-card-icon.purple {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  color: white;
}
/* Dashboard Cards */
.dashboard-card {
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}
.dashboard-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.dashboard-card .card-header {
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
}
.dashboard-card .card-body {
  padding: 1.5rem;
}
/* Content Cards */
.content-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--ocean-primary);
  transition: all var(--transition-normal);
}
.content-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.content-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}
.content-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.content-card-body {
  color: var(--gray-500);
  line-height: 1.7;
}
/* ==========================================================================
   7. ФОРМЫ И ЭЛЕМЕНТЫ УПРАВЛЕНИЯ
   ========================================================================== */
.form-label {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.form-label .required {
  color: var(--danger);
  font-size: 1.1rem;
}
.form-control,
.form-select,
.form-input,
.form-textarea {
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all var(--transition-normal);
  background: white;
  color: var(--gray-800);
}
.form-control:focus,
.form-select:focus,
.form-input:focus,
.form-textarea:focus {
  border-color: var(--ocean-primary);
  box-shadow: 0 0 0 0.25rem rgba(35, 98, 201, 0.25);
  outline: none;
}
.form-control[readonly] {
  background-color: var(--gray-50);
  color: var(--gray-600);
  cursor: not-allowed;
}
.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}
.form-floating textarea.form-control {
  min-height: 120px;
  resize: vertical;
}
.form-text {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}
.invalid-feedback {
  font-size: 0.875rem;
  color: var(--danger);
  margin-top: 0.25rem;
}
.form-control.glass-effect,
.form-select.glass-effect {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(44, 116, 179, 0.2);
}
/* Чекбоксы и радио */
.form-check-input:checked {
  background-color: var(--ocean-primary);
  border-color: var(--ocean-primary);
}
.form-check-input:checked + .form-check-label {
  color: var(--ocean-primary);
  font-weight: 500;
}
.form-check-input:focus {
  border-color: var(--ocean-primary);
  box-shadow: 0 0 0 0.25rem rgba(35, 98, 201, 0.25);
}
.form-check-input.is-invalid {
  border-color: var(--danger);
}
.form-check-input:focus-visible,
.form-select:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--ocean-primary);
  outline-offset: 2px;
}
.form-switch .form-check-input {
  width: 3em;
  height: 1.5em;
}
.form-check-label {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--gray-700);
  cursor: pointer;
}
.form-check-label strong {
  color: var(--ocean-primary);
}
/* Floating Label */
.form-floating {
  position: relative;
}
.form-floating .form-control {
  height: calc(3.5rem + 2px);
  padding: 1rem 0.75rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  backdrop-filter: blur(5px);
  padding-right: 3.5rem !important;
}
.form-floating .form-control:focus {
  background: white;
  border-color: var(--ocean-accent);
  box-shadow: 0 0 0 4px rgba(44, 116, 179, 0.1);
}
.form-floating label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem 0.75rem;
  pointer-events: none;
  border: 2px solid transparent;
  transform-origin: 0 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--gray-500);
  font-weight: 500;
}
.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
  color: var(--ocean-accent);
  background: white;
  padding: 0 0.5rem;
  margin-left: 0.25rem;
  height: auto;
}
/* Password Toggle */
.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  z-index: 5;
  transition: color var(--transition-normal);
  padding: 0.5rem;
}
.password-toggle:hover {
  color: var(--ocean-accent);
}
/* Password Strength */
#password-strength {
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
#password-strength::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  transition: all var(--transition-normal);
}
#password-strength.weak::before {
  background: #ef4444;
  width: 33%;
}
#password-strength.medium::before {
  background: #f59e0b;
  width: 66%;
}
#password-strength.strong::before {
  background: #10b981;
  width: 100%;
}
/* Форма поиска */
.search-form,
.search-box,
.chat-search,
.contact-search {
  position: relative;
  margin-bottom: 1.5rem;
}
.search-form .form-control,
.search-box input,
.chat-search input,
.contact-search input,
.search-input {
  padding-left: 3rem;
  padding-right: 3rem;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(44, 116, 179, 0.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  height: 48px;
}
.search-form .form-control:focus,
.search-box input:focus,
.chat-search input:focus,
.contact-search input:focus,
.search-input:focus {
  background: white;
  border-color: var(--ocean-accent);
  box-shadow: 0 0 0 4px rgba(44, 116, 179, 0.1);
}
.search-form .search-icon,
.search-box i,
.chat-search i,
.contact-search i {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
  font-size: 1.1rem;
}
.search-form .search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  transition: color 0.3s ease;
}
.search-form .search-clear:hover {
  color: var(--ocean-accent);
}
/* Фильтры */
.filter-group,
.specialists-filters,
.admin-filters {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(10, 38, 71, 0.1);
  border: 1px solid rgba(44, 116, 179, 0.1);
}
.filter-title,
.section-title {
  font-weight: 700;
  color: var(--ocean-deep);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(44, 116, 179, 0.1);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
}
.filter-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}
.reset-btn {
  padding: 0.625rem 1.5rem;
  border: 1px solid var(--gray-200);
  background: white;
  color: var(--gray-500);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all var(--transition-normal);
}
.reset-btn:hover {
  background: var(--gray-50);
  color: var(--gray-700);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}
/* ==========================================================================
   8. СТАТУСНЫЕ БЕЙДЖИ
   ========================================================================== */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.status-badge:hover {
  transform: scale(1.05);
}
.status-uploaded,
.status-draft,
.status-closed {
  background: linear-gradient(135deg, rgba(241, 245, 249, 0.8), rgba(226, 232, 240, 0.8));
  color: var(--gray-700);
  border: 1px solid rgba(203, 213, 225, 0.5);
}
.status-sms_sent,
.status-sent,
.status-pending {
  background: linear-gradient(135deg, rgba(255, 243, 205, 0.8), rgba(255, 236, 179, 0.8));
  color: #856404;
  border: 1px solid rgba(255, 193, 7, 0.3);
}
.status-signed,
.status-open,
.status-approved,
.status-published,
.status-completed {
  background: linear-gradient(135deg, rgba(212, 237, 218, 0.8), rgba(195, 230, 203, 0.8));
  color: #155724;
  border: 1px solid rgba(40, 167, 69, 0.3);
}
.status-rejected,
.status-terminated {
  background: linear-gradient(135deg, rgba(248, 215, 218, 0.8), rgba(245, 198, 203, 0.8));
  color: #721C24;
  border: 1px solid rgba(220, 53, 69, 0.3);
}
.status-active,
.status-filled {
  background: var(--info-light);
  color: var(--info-dark);
}
/* ==========================================================================
   9. ТАБЛИЦЫ
   ========================================================================== */
.table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(44, 116, 179, 0.05);
  --bs-table-hover-bg: rgba(44, 116, 179, 0.1);
  margin-bottom: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.table th {
  font-weight: 700;
  color: var(--ocean-deep);
  border-bottom: 3px solid var(--ocean-accent);
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(44, 116, 179, 0.1), rgba(100, 204, 197, 0.1));
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}
.table td {
  border-top: 1px solid rgba(44, 116, 179, 0.1);
  vertical-align: middle;
  padding: 0.875rem 1.25rem;
  color: var(--gray-700);
}
.table tbody tr {
  transition: all 0.3s ease;
}
.table tbody tr:hover {
  transform: translateX(4px);
  box-shadow: inset 4px 0 0 var(--ocean-accent);
}
.table-hover tbody tr {
  transition: all var(--transition-fast);
}
.table-hover tbody tr:hover {
  background-color: var(--gray-50);
  transform: scale(1.005);
}
/* Admin Table */
.admin-table-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  border: 1px solid var(--gray-200);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}
.admin-table th {
  background: var(--gray-50);
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--gray-700);
  border-bottom: 3px solid var(--gray-200);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}
.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
  color: var(--gray-600);
}
.admin-table tr:hover {
  background: var(--gray-50);
}
/* ==========================================================================
   10. ПАГИНАЦИЯ
   ========================================================================== */
.pagination {
  --bs-pagination-color: var(--ocean-accent);
  --bs-pagination-hover-color: var(--ocean-deep);
  --bs-pagination-focus-color: var(--ocean-deep);
  --bs-pagination-active-bg: var(--ocean-accent);
  --bs-pagination-active-border-color: var(--ocean-accent);
  --bs-pagination-border-radius: var(--radius-md);
  gap: 0.5rem;
}
.page-link {
  border: 2px solid rgba(44, 116, 179, 0.2);
  padding: 0.625rem 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 44px;
  text-align: center;
  border-radius: var(--radius-md) !important;
  color: var(--ocean-primary);
  margin: 0 0.25rem;
}
.page-link:hover {
  border-color: var(--ocean-accent);
  background: rgba(44, 116, 179, 0.05);
  transform: translateY(-2px);
  background-color: var(--gray-100);
  border-color: var(--gray-300);
}
.page-item.active .page-link {
  background: var(--gradient-ocean);
  border-color: var(--ocean-accent);
  box-shadow: 0 4px 12px rgba(44, 116, 179, 0.2);
  transform: translateY(-2px);
  background-color: var(--ocean-primary);
  border-color: var(--ocean-primary);
  color: white;
}
.page-item.disabled .page-link {
  color: var(--gray-300);
  cursor: not-allowed;
}
/* ==========================================================================
   11. УВЕДОМЛЕНИЯ И АЛЕРТЫ
   ========================================================================== */
.alert {
  border-radius: var(--radius-lg);
  border: none;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  border-left: 4px solid;
}
.alert::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  pointer-events: none;
}
.alert-success {
  background: linear-gradient(135deg, rgba(212, 237, 218, 0.9), rgba(195, 230, 203, 0.9));
  color: #155724;
  border-left-color: #28a745;
}
.alert-info {
  background: linear-gradient(135deg, rgba(231, 241, 255, 0.9), rgba(207, 226, 255, 0.9));
  color: var(--ocean-deep);
  border-left-color: var(--ocean-accent);
}
.alert-warning {
  background: linear-gradient(135deg, rgba(255, 243, 205, 0.9), rgba(255, 236, 179, 0.9));
  color: #856404;
  border-left-color: #ffc107;
}
.alert-danger {
  background: linear-gradient(135deg, rgba(248, 215, 218, 0.9), rgba(245, 198, 203, 0.9));
  color: #721C24;
  border-left-color: #dc3545;
}
.alert-dismissible .btn-close {
  padding: 1.25rem 1rem;
  background: none;
}
/* Notifications Container */
.notifications-container {
  max-width: 900px;
  margin: 0 auto;
}
.notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.notifications-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.notifications-toolbar {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 0.5rem 1rem;
  border: none;
  background: none;
  color: var(--gray-500);
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}
.filter-tab:hover {
  color: var(--ocean-primary);
  background: var(--gray-100);
}
.filter-tab.active {
  color: var(--ocean-primary);
  background: #e0f2fe;
}
.filter-tab .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 0.75rem;
  padding: 2px 6px;
  min-width: 20px;
}
.notifications-list {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.notifications-list .notification-item {
  display: flex;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--transition-fast);
  position: relative;
}
.notifications-list .notification-item:hover {
  background: var(--gray-50);
}
.notifications-list .notification-item.unread {
  background: #f0f9ff;
  border-left: 4px solid var(--ocean-primary);
}
.notifications-list .notification-item:last-child {
  border-bottom: none;
}
.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.notification-icon.message {
  background: var(--info-light);
  color: #1d4ed8;
}
.notification-icon.contract {
  background: var(--success-light);
  color: #15803d;
}
.notification-icon.vacancy {
  background: var(--warning-light);
  color: var(--warning-dark);
}
.notification-icon.review {
  background: #fce7f3;
  color: #be185d;
}
.notification-icon.system {
  background: #f3f4f6;
  color: #374151;
}
.notification-content {
  flex: 1;
  min-width: 0;
}
.notification-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--gray-800);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.notification-text {
  color: var(--gray-600);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.notification-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}
.notification-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.notification-type {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.notification-type.message {
  background: var(--info-light);
  color: #1d4ed8;
}
.notification-type.contract {
  background: var(--success-light);
  color: #15803d;
}
.notification-type.vacancy {
  background: var(--warning-light);
  color: var(--warning-dark);
}
.notification-type.review {
  background: #fce7f3;
  color: #be185d;
}
.notification-type.system {
  background: #f3f4f6;
  color: #374151;
}
.notification-actions {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
  flex-shrink: 0;
}
/* ==========================================================================
   12. МОДАЛЬНЫЕ ОКНА
   ========================================================================== */
.modal-content {
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: 0 25px 50px -12px rgba(10, 38, 71, 0.25);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-ocean);
}
.modal-header {
  border-bottom: 1px solid rgba(44, 116, 179, 0.1);
  padding: 1.5rem 1.5rem 1rem;
  background: linear-gradient(135deg, rgba(44, 116, 179, 0.05), rgba(100, 204, 197, 0.05));
}
.modal-body {
  padding: 1.5rem;
}
.modal-footer {
  border-top: 1px solid rgba(44, 116, 179, 0.1);
  padding: 1rem 1.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(44, 116, 179, 0.02), rgba(100, 204, 197, 0.02));
}
/* ==========================================================================
   13. ТАБЫ И НАВИГАЦИЯ
   ========================================================================== */
.nav-pills {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  border: 1px solid rgba(44, 116, 179, 0.1);
}
.nav-pills .nav-link {
  border-radius: var(--radius-md);
  padding: 0.75rem 1.5rem;
  margin: 0 0.25rem;
  color: var(--gray-700);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.nav-pills .nav-link:hover {
  background: rgba(44, 116, 179, 0.1);
  color: var(--ocean-accent);
  transform: translateY(-2px);
}
.nav-pills .nav-link.active {
  background: var(--gradient-ocean);
  color: white;
  box-shadow: 0 8px 20px rgba(44, 116, 179, 0.3);
  transform: translateY(-2px);
}
.nav-pills .nav-link.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 2s infinite;
}
.nav-tabs {
  border-bottom: 3px solid var(--gray-200);
}
.nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--gray-500);
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  transition: all var(--transition-normal);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.nav-tabs .nav-link:hover {
  color: var(--ocean-primary);
  border-bottom-color: var(--gray-300);
  background: var(--gray-50);
}
.nav-tabs .nav-link.active {
  color: var(--ocean-primary);
  border-bottom-color: var(--ocean-primary);
  background: transparent;
  position: relative;
}
.nav-tabs .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-marine);
}
/* Content Tabs */
.content-tabs .nav-tabs {
  border-bottom: 3px solid rgba(44, 116, 179, 0.1);
  gap: 0.5rem;
}
.content-tabs .nav-tabs .nav-link {
  border: none;
  color: var(--gray-600);
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.content-tabs .nav-tabs .nav-link:hover {
  color: var(--ocean-accent);
  background: rgba(44, 116, 179, 0.05);
  transform: translateY(-2px);
}
.content-tabs .nav-tabs .nav-link.active {
  color: var(--ocean-accent);
  background: white;
  border-bottom: 3px solid var(--ocean-accent);
  box-shadow: 0 -4px 12px rgba(44, 116, 179, 0.1);
}
.content-tabs .nav-tabs .nav-link.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(44, 116, 179, 0.1), transparent);
  animation: shine 2s infinite;
}
/* ==========================================================================
   14. ШАГИ (STEPS)
   ========================================================================== */
.steps-indicator {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 3rem 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  text-align: center;
}
.step.active .step-number {
  background: var(--gradient-ocean);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(44, 116, 179, 0.3);
}
.step.completed .step-number {
  background: var(--gradient-ocean);
  color: white;
  box-shadow: 0 4px 12px rgba(44, 116, 179, 0.2);
}
.step-number {
  width: 64px;
  height: 64px;
  color: var(--gray-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: white;
  border: 3px solid var(--gray-200);
  font-family: 'Montserrat', sans-serif;
}
.step-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  text-align: center;
  font-weight: 500;
  transition: color 0.3s ease;
}
.step.active .step-label {
  color: var(--ocean-accent);
  font-weight: 600;
}
/* Registration Steps */
.registration-steps .step {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(44, 116, 179, 0.1);
  transition: all var(--transition-normal);
}
.registration-steps .step:hover {
  transform: translateX(5px);
  border-color: var(--ocean-accent);
}
/* ==========================================================================
   15. КАРТОЧКИ ВЫБОРА РОЛИ
   ========================================================================== */
.role-card {
  display: block;
  padding: 2.5rem 2rem;
  border: 2px solid rgba(44, 116, 179, 0.2);
  border-radius: var(--radius-xl);
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  background: white;
  position: relative;
  overflow: hidden;
}
.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-ocean);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}
.role-card:hover {
  border-color: var(--ocean-accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(10, 38, 71, 0.15);
}
.role-card:hover::before {
  transform: scaleX(1);
}
.role-card input[type="radio"]:checked + &,
.role-card.selected {
  border-color: var(--ocean-accent);
  background: linear-gradient(135deg, rgba(44, 116, 179, 0.05), rgba(100, 204, 197, 0.05));
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(44, 116, 179, 0.1);
}
.role-card input[type="radio"]:checked + &::before,
.role-card.selected::before {
  transform: scaleX(1);
}
.role-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-ocean);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}
.role-content h6 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ocean-deep);
}
/* ==========================================================================
   16. АККОРДЕОНЫ
   ========================================================================== */
.accordion {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(44, 116, 179, 0.1);
  overflow: hidden;
}
.accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(44, 116, 179, 0.1);
}
.accordion-item:last-child {
  border-bottom: none;
}
.accordion-item:hover {
  background-color: var(--gray-50);
}
.accordion-button {
  background: linear-gradient(135deg, rgba(44, 116, 179, 0.05), rgba(100, 204, 197, 0.05));
  color: var(--ocean-deep);
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  transition: all 0.3s ease;
  border: none;
  box-shadow: none;
  text-align: left;
}
.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(44, 116, 179, 0.1), rgba(100, 204, 197, 0.1));
  color: var(--ocean-accent);
  box-shadow: inset 0 -1px 0 rgba(44, 116, 179, 0.1);
}
.accordion-button:focus {
  border-color: var(--ocean-accent);
  box-shadow: 0 0 0 3px rgba(44, 116, 179, 0.1);
  outline: none;
}
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232362c9'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-body {
  padding: 1.5rem;
  color: var(--gray-700);
  background: white;
  line-height: 1.6;
}
/* More Accordion (FAQ) */
.more-accordion {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 38, 71, 0.1);
}
.more-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid rgba(44, 116, 179, 0.1);
  background: transparent;
}
.more-accordion .accordion-item:last-child {
  border-bottom: none;
}
.more-accordion .accordion-button {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ocean-deep);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.25rem 1.5rem;
  transition: all var(--transition-normal);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.more-accordion .accordion-button:not(.collapsed) {
  background: var(--gradient-ocean);
  color: white;
  box-shadow: 0 4px 15px rgba(44, 116, 179, 0.2);
}
.more-accordion .accordion-button:not(.collapsed)::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 2s infinite;
}
.more-accordion .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(44, 116, 179, 0.1);
  border-color: var(--ocean-accent);
}
.more-accordion .accordion-body {
  padding: 2rem;
  background: white;
  color: var(--gray-700);
  line-height: 1.7;
  border-top: 1px solid rgba(44, 116, 179, 0.1);
}
/* ==========================================================================
   17. ХЛЕБНЫЕ КРОШКИ
   ========================================================================== */
.breadcrumb {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  border: 1px solid rgba(44, 116, 179, 0.1);
  margin-bottom: 2rem;
}
.breadcrumb-item a {
  color: var(--ocean-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.breadcrumb-item a:hover {
  color: var(--ocean-deep);
}
.breadcrumb-item.active {
  color: var(--gray-700);
  font-weight: 600;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: var(--gray-400);
  font-weight: bold;
}
/* Admin Breadcrumb */
.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.95rem;
}
.admin-breadcrumb-item {
  display: flex;
  align-items: center;
}
.admin-breadcrumb-item a {
  color: var(--ocean-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-normal);
}
.admin-breadcrumb-item a:hover {
  color: #1a4a9c;
  text-decoration: underline;
}
.admin-breadcrumb-item.active {
  color: var(--gray-500);
  font-weight: 500;
}
.admin-breadcrumb-separator {
  color: var(--gray-300);
  margin: 0 0.5rem;
}
/* ==========================================================================
   18. АВАТАРЫ
   ========================================================================== */
.avatar,
.user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gradient-ocean);
  color: white;
  font-weight: 600;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
}
.avatar::after,
.user-avatar::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
}
.avatar:hover,
.user-avatar:hover {
  transform: translateY(-2px);
}
.avatar-sm,
.user-avatar-sm { width: 32px; height: 32px; font-size: 0.875rem; }
.avatar-md,
.user-avatar-md { width: 48px; height: 48px; font-size: 1rem; }
.avatar-lg,
.user-avatar-lg { width: 80px; height: 80px; font-size: 1.5rem; }
.avatar-xl,
.user-avatar-xl { width: 120px; height: 120px; font-size: 2rem; }
.avatar img,
.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  border: 3px solid transparent;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.user-avatar.online img {
  border-color: var(--sea-foam);
  box-shadow: 0 0 0 3px rgba(100, 204, 197, 0.2);
}
.user-avatar.offline img {
  border-color: var(--gray-300);
}
.user-avatar.away img {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 217, 61, 0.2);
}
/* Profile Avatar */
.profile-avatar {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  display: inline-block;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 10px 25px rgba(10, 38, 71, 0.2);
  transition: all 0.3s ease;
}
.profile-avatar:hover img {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(44, 116, 179, 0.3);
}
.profile-avatar-upload,
.avatar-upload-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-ocean);
  color: white;
  border: 3px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(44, 116, 179, 0.3);
}
.profile-avatar-upload:hover,
.avatar-upload-btn:hover {
  background: var(--ocean-accent);
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 6px 20px rgba(44, 116, 179, 0.4);
}
/* ==========================================================================
   19. РЕЙТИНГИ
   ========================================================================== */
.rating-stars,
.stars {
  color: var(--gold);
  display: inline-flex;
  gap: 0.125rem;
  font-size: 1.125rem;
}
.rating-number {
  font-weight: 700;
  color: var(--ocean-deep);
  margin-left: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}
.rating-input {
  cursor: pointer;
}
.rating-input i {
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.rating-input i:hover,
.rating-input i:hover ~ i,
.rating-input i.active {
  color: var(--gold);
  transform: scale(1.2);
}
.rating-input i.fas {
  color: var(--gold);
}
/* ==========================================================================
   20. ЧАТЫ И СООБЩЕНИЯ
   ========================================================================== */
.chat-container {
  height: calc(100vh - 220px);
  display: flex;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  background: white;
  margin-top: 2rem;
}
.chat-sidebar {
  width: 380px;
  border-right: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  background: var(--gray-50);
  transition: width var(--transition-normal);
}
.chat-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  background: white;
}
.chat-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}
.chat-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: white;
  border: 1px solid var(--gray-100);
}
.chat-item:hover {
  background: var(--gray-100);
  border-color: var(--gray-300);
  transform: translateX(4px);
}
.chat-item.active {
  background: #e0f2fe;
  border-color: var(--ocean-primary);
  box-shadow: 0 4px 6px rgba(35, 98, 201, 0.1);
}
.chat-avatar {
  position: relative;
  margin-right: 12px;
  flex-shrink: 0;
}
.chat-avatar img,
.chat-avatar div {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  background: var(--gradient-marine);
}
.chat-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  border: 2px solid white;
}
.chat-status.online {
  background: var(--success);
  box-shadow: 0 0 0 2px #d1fae5;
}
.chat-status.offline {
  background: var(--gray-400);
}
.chat-content {
  flex: 1;
  min-width: 0;
}
.chat-name {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}
.chat-preview {
  font-size: 0.875rem;
  color: var(--gray-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}
.chat-time {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 2px;
}
.chat-unread {
  background: #0ea5e9;
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
  font-weight: 600;
}
/* Chat Main */
.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: white;
  position: relative;
}
.chat-topbar {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
}
.chat-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  color: var(--gray-800);
}
.chat-meta {
  font-size: 0.875rem;
  color: var(--gray-500);
}
.chat-actions {
  display: flex;
  gap: 8px;
}
/* Chat Messages */
.chat-messages,
.chat-message {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  background: var(--gray-50);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.message-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.message {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 18px;
  position: relative;
  word-wrap: break-word;
  animation: fadeInMessage 0.3s ease;
}
.message.received {
  background: white;
  border: 1px solid var(--gray-200);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.message.sent {
  background: linear-gradient(135deg, #2362c9, #4a7fd4);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 4px rgba(35, 98, 201, 0.2);
}
.message-content {
  line-height: 1.5;
  font-size: 0.95rem;
}
.message-time {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 4px;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 4px;
}
.message.sent .message-time {
  color: rgba(255, 255, 255, 0.8);
}
.message-status {
  font-size: 0.75rem;
  margin-left: 4px;
}
/* Typing Indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  align-self: flex-start;
  margin-bottom: 8px;
  animation: fadeInMessage 0.3s ease;
}
.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--gray-400);
  animation: typing 1.4s infinite;
}
.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}
/* Chat Input */
.chat-input {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  background: white;
  position: sticky;
  bottom: 0;
  z-index: 10;
}
.message-input {
  border-radius: 24px;
  border: 1px solid var(--gray-200);
  padding: 12px 20px;
  resize: none;
  min-height: 48px;
  max-height: 120px;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}
.message-input:focus {
  border-color: var(--ocean-primary);
  box-shadow: 0 0 0 3px rgba(35, 98, 201, 0.1);
  outline: none;
}
.input-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.attachment-btn,
.emoji-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  background: white;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.attachment-btn:hover,
.emoji-btn:hover {
  background: var(--gray-100);
  color: var(--ocean-primary);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}
.send-btn {
  background: var(--ocean-primary);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 24px;
  font-weight: 500;
  transition: all var(--transition-fast);
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.send-btn:hover {
  background: #1a4a9c;
  transform: translateY(-2px);
  box-shadow: var(--shadow-ocean);
}
.send-btn:disabled {
  background: var(--gray-400);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
/* WebSocket Status */
.ws-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-500);
}
.ws-indicator {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  display: inline-block;
}
.ws-indicator.connected {
  background: var(--success);
  animation: pulse 2s infinite;
}
.ws-indicator.disconnected {
  background: var(--danger);
}
/* System Messages */
.loading-messages {
  text-align: center;
  padding: 2rem;
  color: var(--gray-400);
}
.system-message {
  text-align: center;
  padding: 8px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  color: var(--gray-500);
  margin: 8px 0;
  max-width: 400px;
  align-self: center;
}
/* ==========================================================================
   21. ОТЗЫВЫ
   ========================================================================== */
/* Review Card */
.review-card {
  border: 2px solid transparent;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.9);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.5s ease;
  backdrop-filter: blur(10px);
}
.review-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-marine);
  transition: all var(--transition-normal);
}
.review-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
  border-color: var(--ocean-accent);
}
.review-card:hover::before {
  width: 8px;
}
.review-card.negative::before {
  background: linear-gradient(180deg, #ff6b6b, #c92a2a);
}
.review-card.positive::before {
  background: var(--gradient-marine);
}
.review-card.neutral::before {
  background: linear-gradient(180deg, var(--gold), #e67700);
}
.review-card:nth-child(odd) {
  animation-delay: 0.1s;
}
.review-card:nth-child(even) {
  animation-delay: 0.2s;
}
/* Review Header */
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--gray-100);
}
.review-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}
.author-avatar {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  background: var(--gradient-marine);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.75rem;
  flex-shrink: 0;
  border: 3px solid white;
  box-shadow: var(--shadow-ocean);
}
.author-avatar.anonymous {
  background: linear-gradient(135deg, var(--gray-500), var(--gray-400));
}
.author-info {
  flex: 1;
}
.author-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}
.author-meta {
  font-size: 0.9rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.review-rating {
  text-align: right;
  min-width: 120px;
}
.review-stars {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.25rem;
}
.rating-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ocean-primary);
  line-height: 1;
}
/* Review Body */
.review-body {
  margin-bottom: 2rem;
}
.review-text {
  line-height: 1.8;
  color: var(--gray-700);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--ocean-primary);
}
.review-text::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 4rem;
  color: rgba(35, 98, 201, 0.1);
  font-family: Georgia, serif;
}
/* Company Reply */
.company-reply {
  background: #f0f9ff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
  border-left: 4px solid var(--ocean-primary);
  position: relative;
}
.company-reply::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-marine);
}
.reply-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--ocean-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.reply-text {
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 1rem;
}
.reply-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--gray-300);
}
/* Review Footer */
.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gray-100);
}
.review-company {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--ocean-primary);
  font-size: 1.1rem;
}
.review-date {
  color: var(--gray-500);
  font-size: 0.95rem;
}
/* Review Actions */
.review-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.review-actions .btn {
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.review-actions .btn:hover {
  transform: translateY(-2px);
}
/* ==========================================================================
   22. ПРОФИЛЬ И ДАШБОРД
   ========================================================================== */
/* Sidebar */
.profile-sidebar,
.dashboard-sidebar,
.admin-sidebar,
.settings-sidebar {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.profile-sidebar .card-body,
.dashboard-sidebar .card-body {
  padding: 2rem;
}
.profile-sidebar .card-footer,
.dashboard-sidebar .card-footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 0;
}
/* Profile Stats */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.profile-stats .stat-item {
  text-align: center;
}
.profile-stats .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient-marine);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.25rem;
}
/* Profile Navigation */
.profile-sidebar .nav-pills .nav-link,
.settings-nav .nav-link {
  color: var(--gray-600);
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  font-weight: 500;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  text-decoration: none;
}
.profile-sidebar .nav-pills .nav-link:hover,
.settings-nav .nav-link:hover {
  background: var(--gray-50);
  color: var(--ocean-primary);
  transform: translateX(4px);
}
.profile-sidebar .nav-pills .nav-link.active,
.settings-nav .nav-link.active {
  background: linear-gradient(135deg, #e7f1ff, #dbeafe);
  color: var(--ocean-primary);
  font-weight: 600;
  border-left: 3px solid var(--ocean-primary);
  box-shadow: 0 4px 6px rgba(35, 98, 201, 0.1);
}
.profile-sidebar .nav-pills .nav-link i,
.settings-nav .nav-link i {
  width: 20px;
  text-align: center;
}
/* Profile Content */
.profile-content {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: none;
  overflow: hidden;
}
.profile-content .card-header {
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
}
.profile-content .card-body {
  padding: 2rem;
}
/* Profile Form */
.profile-form {
  max-width: 800px;
}
/* Profile Tabs */
.profile-tab {
  display: none;
  animation: fadeInSmall 0.5s ease;
}
.profile-tab.active {
  display: block;
}
/* Dashboard Sidebar Navigation */
.dashboard-sidebar .list-group-item {
  border: none;
  border-left: 4px solid transparent;
  padding: 0.875rem 1.25rem;
  color: var(--gray-600);
  transition: all var(--transition-normal);
  border-radius: var(--radius-md);
  margin-bottom: 4px;
}
.dashboard-sidebar .list-group-item:hover {
  background-color: var(--gray-50);
  color: var(--ocean-primary);
  border-left-color: var(--ocean-primary);
  transform: translateX(4px);
}
.dashboard-sidebar .list-group-item.active {
  background-color: #e7f1ff;
  color: var(--ocean-primary);
  font-weight: 600;
  border-left-color: var(--ocean-primary);
}
.dashboard-sidebar .list-group-item .badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  font-weight: 700;
}
/* Quick Stats */
.quick-stats,
.quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
/* Activity Timeline */
.activity-timeline {
  position: relative;
  padding-left: 2.5rem;
}
.activity-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-marine);
  border-radius: 3px;
}
.activity-item {
  position: relative;
  padding-bottom: 1.75rem;
  padding-left: 1.75rem;
}
.activity-item:last-child {
  padding-bottom: 0;
}
.activity-item::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--ocean-primary);
  border: 4px solid white;
  box-shadow: 0 0 0 4px #e7f1ff;
  transition: all var(--transition-normal);
}
.activity-item:hover::before {
  transform: scale(1.2);
  box-shadow: 0 0 0 6px #dbeafe;
}
.activity-item.success::before {
  background: var(--success);
  box-shadow: 0 0 0 4px var(--success-light);
}
.activity-item.warning::before {
  background: var(--warning);
  box-shadow: 0 0 0 4px var(--warning-light);
}
.activity-item.danger::before {
  background: var(--danger);
  box-shadow: 0 0 0 4px var(--danger-light);
}
.activity-time {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.375rem;
  font-weight: 600;
}
.activity-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--gray-800);
  margin-bottom: 0.375rem;
}
.activity-description {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.activity-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.activity-badge {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 1rem;
  background: var(--gray-100);
  color: var(--gray-600);
  font-weight: 600;
}
/* Recommendations */
.recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.recommendation-item {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gray-50), var(--gray-200));
  border: 1px solid var(--gray-300);
  transition: all var(--transition-normal);
  cursor: pointer;
}
.recommendation-item:hover {
  background: white;
  border-color: var(--gray-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.recommendation-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: var(--gradient-marine);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(35, 98, 201, 0.3);
}
.recommendation-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}
.recommendation-description {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
  line-height: 1.6;
}
/* Quick Actions */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0.75rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: white;
  color: var(--gray-600);
  text-decoration: none;
  transition: all var(--transition-normal);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.quick-action-btn:hover {
  background: linear-gradient(135deg, var(--gray-50), var(--gray-200));
  border-color: var(--gray-300);
  color: var(--ocean-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(35, 98, 201, 0.15);
}
.quick-action-btn i {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  transition: all var(--transition-normal);
}
.quick-action-btn:hover i {
  transform: scale(1.2) rotate(5deg);
}
.quick-action-btn span {
  font-size: 0.875rem;
  text-align: center;
  line-height: 1.4;
  font-weight: 600;
}
/* ==========================================================================
   23. АДМИН ПАНЕЛЬ
   ========================================================================== */
.admin-sidebar {
  position: sticky;
  top: 90px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: none;
  overflow: hidden;
  background: var(--gradient-ocean-simple);
  color: white;
}
.admin-user {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 3px solid var(--sea-foam);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.admin-user h6 {
  color: white;
  margin-bottom: 0.25rem;
}
.admin-user .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}
.admin-nav {
  margin-top: 1.5rem;
  padding: 0 1rem;
}
.admin-nav .nav-link {
  display: flex;
  align-items: center;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-normal);
  margin-bottom: 0.5rem;
  text-decoration: none;
  font-weight: 500;
}
.admin-nav .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: translateX(4px);
}
.admin-nav .nav-link.active {
  background: var(--gradient-marine);
  color: white;
  box-shadow: var(--shadow-ocean);
}
.admin-nav .nav-link i {
  width: 24px;
  text-align: center;
  font-size: 1.1rem;
}
.admin-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 1rem;
}
.admin-info .info-item {
  margin-bottom: 1rem;
}
.admin-info .info-item:last-child {
  margin-bottom: 0;
}
.admin-info .info-item small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.admin-info .info-item .fw-bold,
.admin-info .info-item div {
  color: white;
  font-size: 1.125rem;
}
/* Admin Header */
.admin-header {
  background: white;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border-bottom: 3px solid var(--ocean-primary);
}
#admin-section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
/* Admin Content */
.admin-content {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  min-height: 500px;
  background: white;
}
.admin-content .card-body {
  padding: 2rem;
}
/* Admin Forms */
.admin-form {
  max-width: 800px;
  margin: 0 auto;
}
.admin-form-section {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--gray-200);
}
.admin-form-section h5 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0f2fe;
}
.form-group-admin {
  margin-bottom: 1.5rem;
}
.form-group-admin label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.95rem;
}
.form-group-admin .form-control,
.form-group-admin .form-select {
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  font-size: 1rem;
  transition: all var(--transition-normal);
  background: white;
  color: var(--gray-800);
}
.form-group-admin .form-control:focus,
.form-group-admin .form-select:focus {
  border-color: var(--ocean-primary);
  box-shadow: 0 0 0 3px rgba(35, 98, 201, 0.1);
  outline: none;
}
.form-group-admin .form-text {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
/* Chart Cards */
.chart-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid var(--gray-200);
}
.chart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gray-200);
}
.chart-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chart-container {
  position: relative;
  height: 300px;
}
/* System Metrics */
.system-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.metric-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
}
.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.metric-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.metric-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ocean-primary);
  flex-shrink: 0;
}
.metric-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0;
}
.metric-card-body {
  margin-bottom: 1rem;
}
.metric-progress {
  height: 10px;
  background: var(--gray-200);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.metric-progress-bar {
  height: 100%;
  border-radius: 5px;
  background: var(--gradient-marine);
  transition: width var(--transition-normal);
}
.metric-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--gray-500);
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-200);
}
/* Admin Filters */
.admin-filters {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
/* Admin Pagination */
.admin-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.pagination-info {
  text-align: center;
  color: var(--gray-500);
  margin-top: 1rem;
  font-size: 0.95rem;
}
/* Empty State Admin */
.empty-state-admin {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
}
.empty-state-admin .empty-state-icon {
  font-size: 3.5rem;
  color: var(--gray-300);
  margin-bottom: 1.25rem;
}
/* ==========================================================================
   24. СПЕЦИАЛИСТЫ
   ========================================================================== */
/* Specialists Hero */
.specialists-hero {
  background: var(--gradient-ocean-simple);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 4rem;
}
.specialists-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,');
  background-size: cover;
  opacity: 0.5;
}
.specialists-hero h1 {
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.specialists-hero .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
/* Specialist Card */
.specialist-card {
  background: white;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.specialist-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px -4px rgba(35, 98, 201, 0.2);
  border-color: var(--gray-300);
}
.specialist-header {
  padding: 1.5rem 1.5rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.specialist-avatar {
  position: relative;
  flex-shrink: 0;
}
.specialist-avatar img,
.specialist-avatar div {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
}
.specialist-avatar div {
  background: var(--gradient-marine);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
}
.verified-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--success);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.specialist-info {
  flex: 1;
  min-width: 0;
}
.specialist-name {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--gray-800);
  line-height: 1.3;
}
.specialist-title {
  color: var(--ocean-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.specialist-rating {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.5rem;
}
.specialist-body {
  padding: 1.25rem 1.5rem;
  flex: 1;
}
.specialist-description {
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.specialist-expertise {
  margin-bottom: 1.25rem;
}
.expertise-title {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.expertise-tag {
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--transition-normal);
}
.expertise-tag:hover {
  background: #bae6fd;
  transform: translateY(-2px);
}
.specialist-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gray-50);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.specialist-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.specialist-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  transition: color var(--transition-normal);
}
.specialist-contact .contact-item:hover {
  color: var(--ocean-primary);
}
.specialist-contact .contact-item i {
  width: 18px;
  color: var(--gray-500);
  font-size: 1rem;
}
.specialist-actions {
  display: flex;
  gap: 0.5rem;
  min-width: fit-content;
}
/* Add Specialist Form */
.add-specialist-form {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}
.form-section {
  margin-bottom: 2.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-200);
}
.form-section:last-child {
  margin-bottom: 0;
}
.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e0f2fe;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.cases-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.case-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.case-item input {
  flex: 1;
  min-width: 0;
}
.remove-case {
  width: 42px;
  height: 42px;
  border: 2px solid #fca5a5;
  background: #fee2e2;
  color: var(--danger);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 1.1rem;
}
.remove-case:hover {
  background: #fecaca;
  border-color: #f87171;
  transform: scale(1.1);
}
.add-case {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ocean-primary);
  background: none;
  border: none;
  padding: 0.5rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
}
.add-case:hover {
  color: #1a4a9c;
  text-decoration: underline;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}
.specialists-pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
/* ==========================================================================
   25. FAQ И КОНТАКТЫ
   ========================================================================== */
/* FAQ Hero */
.faq-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray-50) 0%, #e0f2fe 50%, #f0f9ff 100%);
  padding-top: 100px;
}
.faq-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 3rem;
}
.faq-stats .stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  flex: 1;
  min-width: 120px;
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.faq-stats .stat-item:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: var(--ocean-accent);
}
.faq-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ocean-accent);
  margin-bottom: 0.5rem;
  line-height: 1;
  display: block;
  min-height: 2.5rem;
  font-family: 'Montserrat', sans-serif;
}
/* Search Card */
.search-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(10, 38, 71, 0.1);
  border: 1px solid rgba(44, 116, 179, 0.1);
  position: relative;
  overflow: hidden;
}
.search-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-ocean);
}
.search-header {
  text-align: center;
}
.search-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}
.search-suggestions {
  animation: fadeInFaq 0.5s ease;
}
.search-suggestions .badge {
  transition: all var(--transition-normal);
  cursor: pointer;
}
.search-suggestions .badge:hover {
  background: var(--ocean-accent) !important;
  color: white !important;
  transform: translateY(-2px);
}
/* Categories Scroll */
.categories-scroll {
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--ocean-accent) rgba(44, 116, 179, 0.1);
}
.categories-scroll::-webkit-scrollbar {
  height: 6px;
}
.categories-scroll::-webkit-scrollbar-track {
  background: rgba(44, 116, 179, 0.1);
  border-radius: 3px;
}
.categories-scroll::-webkit-scrollbar-thumb {
  background: var(--gradient-ocean);
  border-radius: 3px;
}
.btn-category {
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.btn-category:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(44, 116, 179, 0.2);
}
.btn-category.active {
  background: var(--gradient-ocean) !important;
  color: white !important;
  border-color: transparent !important;
  box-shadow: 0 8px 20px rgba(44, 116, 179, 0.3);
}
.btn-category.active:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 25px rgba(44, 116, 179, 0.4);
}
/* FAQ Controls */
.faq-controls {
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(44, 116, 179, 0.1);
}
.faq-category {
  animation: slideInUp 0.6s ease forwards;
  opacity: 0;
}
.faq-category:nth-child(1) { animation-delay: 0.1s; }
.faq-category:nth-child(2) { animation-delay: 0.2s; }
.faq-category:nth-child(3) { animation-delay: 0.3s; }
.faq-category:nth-child(4) { animation-delay: 0.4s; }
.faq-category:nth-child(5) { animation-delay: 0.5s; }
.category-header {
  padding: 1rem;
  background: linear-gradient(135deg, rgba(44, 116, 179, 0.05), rgba(100, 204, 197, 0.05));
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--ocean-accent);
}
.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-family: 'Montserrat', sans-serif;
}
/* FAQ Answer */
.faq-answer p {
  margin-bottom: 1rem;
}
.faq-list {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}
.faq-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
}
.faq-list li i {
  margin-top: 0.25rem;
}
.faq-note {
  background: rgba(44, 116, 179, 0.05);
  border-left: 3px solid var(--ocean-accent);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
}
.faq-warning {
  background: rgba(255, 193, 7, 0.1);
  border-left: 3px solid var(--gold);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
}
/* FAQ Contact */
.faq-contact .contact-card {
  background: linear-gradient(135deg, rgba(44, 116, 179, 0.05), rgba(100, 204, 197, 0.05));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(44, 116, 179, 0.2);
}
.contact-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}
.contact-subtitle {
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}
.contact-info {
  margin-top: 2rem;
}
.info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}
#no-results-message {
  animation: fadeInFaq 0.5s ease;
  border-left: 4px solid var(--info);
}
/* Contact Page */
.page-header {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: url('data:image/svg+xml;utf8,');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.5;
}
.contact-info-card {
  border-radius: var(--radius-2xl);
  position: sticky;
  top: 100px;
  transition: transform var(--transition-normal);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}
.contact-info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.contact-info-card .card-title {
  color: var(--gray-800);
  font-weight: 600;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
}
.contact-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}
.contact-item:hover {
  transform: translateX(4px);
}
.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-marine);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 4px 6px rgba(35, 98, 201, 0.2);
}
.contact-item h5 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}
.contact-item a {
  color: var(--ocean-primary);
  font-weight: 500;
  transition: color var(--transition-normal);
  text-decoration: none;
}
.contact-item a:hover {
  color: #1a4a9c;
  text-decoration: underline;
}
.contact-item p {
  margin-bottom: 0.25rem;
}
/* Social Links */
.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all var(--transition-normal);
  text-decoration: none;
  border: 2px solid transparent;
}
.social-link:hover {
  background: var(--ocean-primary);
  color: white;
  transform: translateY(-3px);
  border-color: var(--ocean-primary);
  box-shadow: var(--shadow-ocean);
}
/* Contact Form Card */
.contact-form-card {
  border-radius: var(--radius-2xl);
  transition: transform var(--transition-normal);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}
.contact-form-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.contact-form-card .card-title {
  color: var(--gray-800);
  font-weight: 600;
  margin-bottom: 1rem;
}
/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
}
/* Report Form Animation */
#reportFormContainer {
  animation: slideIn 0.5s ease;
}
/* ==========================================================================
   26. УСЛОВИЯ И ПОЛИТИКА
   ========================================================================== */
/* Hero Sections */
.terms-hero,
.privacy-hero {
  background: var(--gradient-ocean);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}
.terms-hero::before,
.privacy-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,');
  background-size: cover;
  opacity: 0.5;
}
.terms-hero h1,
.privacy-hero h1 {
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-weight: 700;
  margin-bottom: 1rem;
}
.terms-hero .lead,
.privacy-hero .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.last-updated {
  background: rgba(255, 255, 255, 0.15);
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
  margin-top: 1.5rem;
}
/* Table of Contents */
.toc-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  height: fit-content;
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}
.toc-card .card-header {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border-bottom: none;
  padding: 1.25rem 1.5rem;
}
.toc-list-wrapper {
  max-height: calc(100vh - 300px);
  overflow-y: auto;
  padding-right: 0.5rem;
}
.toc-list-wrapper::-webkit-scrollbar {
  width: 6px;
}
.toc-list-wrapper::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: 3px;
}
.toc-list-wrapper::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}
.toc-list-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc-list li {
  margin-bottom: 0.5rem;
  position: relative;
}
.toc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  background: var(--gray-300);
  border-radius: var(--radius-full);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.toc-list li:hover::before {
  opacity: 1;
}
.toc-link {
  color: var(--gray-600);
  text-decoration: none;
  display: block;
  padding: 0.625rem 0.75rem 0.625rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  font-size: 0.95rem;
  line-height: 1.5;
}
.toc-link:hover {
  background: var(--gray-50);
  color: var(--ocean-primary);
  transform: translateX(4px);
}
.toc-link.active {
  background: linear-gradient(135deg, #e7f1ff, #dbeafe);
  color: var(--ocean-primary);
  font-weight: 600;
  border-left: 3px solid var(--ocean-primary);
  box-shadow: 0 2px 8px rgba(35, 98, 201, 0.1);
}
/* Terms Content */
.terms-content,
.privacy-content {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  line-height: 1.8;
}
.term-section,
.privacy-section {
  scroll-margin-top: 120px;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 2px solid var(--gray-100);
  animation: fadeInUp 0.6s ease;
}
.privacy-section {
  position: relative;
}
.privacy-section::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--ocean-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.privacy-section:hover::before {
  opacity: 1;
}
.term-section:last-child,
.privacy-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.term-section h2,
.privacy-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.privacy-title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 28px;
  background: var(--gradient-ocean);
  border-radius: 4px;
}
.term-section h2 i {
  color: var(--ocean-primary);
  font-size: 1.5rem;
}
.term-section h3,
.privacy-body h5 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--gray-700);
  margin: 1.5rem 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.term-section h3 i {
  color: var(--sea-foam);
  font-size: 1.25rem;
}
.term-section p,
.privacy-body p,
.privacy-body li {
  margin-bottom: 1rem;
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.7;
}
.term-section strong,
.privacy-body strong {
  color: var(--gray-800);
  font-weight: 700;
}
.term-section ul,
.privacy-body ul {
  margin: 1rem 0;
  padding-left: 2rem;
}
.term-section li {
  margin-bottom: 0.75rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.privacy-body ul {
  list-style-type: none;
  padding-left: 1.75rem;
}
.privacy-body ul li {
  margin-bottom: 0.625rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.25rem;
}
.privacy-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ocean-primary);
  font-weight: bold;
  font-size: 0.875rem;
}
.term-section a,
.privacy-body a {
  color: var(--ocean-primary);
  text-decoration: underline;
  transition: color var(--transition-normal);
}
.term-section a:hover,
.privacy-body a:hover {
  color: #1a4a9c;
}
/* Terms Agreement */
.terms-agreement {
  border-radius: var(--radius-xl);
  border: 2px solid var(--gray-200);
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
  transition: all var(--transition-normal);
}
.terms-agreement:hover {
  border-color: var(--gray-300);
  box-shadow: 0 8px 16px rgba(35, 98, 201, 0.1);
}
#acceptTermsBtn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-ocean);
}
#acceptTermsBtn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(35, 98, 201, 0.4);
}
#acceptTermsBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
#acceptTermsBtn:disabled:hover {
  box-shadow: var(--shadow-ocean);
}
/* Related Links */
.related-links h5 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.related-link-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
  background: white;
  box-shadow: var(--shadow-sm);
}
.related-link-card:hover {
  border-color: var(--ocean-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -4px rgba(35, 98, 201, 0.2);
  text-decoration: none !important;
}
.related-link-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(35, 98, 201, 0.1), rgba(78, 205, 196, 0.1));
  border-radius: var(--radius-full);
}
.related-link-card h6 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}
.related-link-card p {
  margin-bottom: 0;
  color: var(--gray-500);
  font-size: 0.95rem;
}
/* Privacy Settings */
.privacy-settings {
  background: linear-gradient(135deg, var(--gray-50), var(--gray-200));
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.privacy-settings:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.privacy-settings h3 {
  color: var(--gray-800);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
#saveSettingsBtn,
#exportDataBtn {
  padding: 0.875rem 1.75rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
#saveSettingsBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(35, 98, 201, 0.3);
}
#exportDataBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(78, 205, 196, 0.3);
}
/* Privacy Settings Grid */
.privacy-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.privacy-item {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
}
.privacy-item:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}
.privacy-item-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.privacy-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--ocean-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}
.privacy-item-title {
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
  font-size: 1.125rem;
}
.privacy-item-description {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
/* Active Sessions */
.sessions-list {
  margin-top: 1.5rem;
}
.session-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  margin-bottom: 0.75rem;
  transition: all var(--transition-normal);
}
.session-item:hover {
  background: var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.session-item.current {
  background: #e0f2fe;
  border-left: 4px solid var(--ocean-primary);
}
.session-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--ocean-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}
.session-info {
  flex: 1;
}
.session-device {
  font-weight: 500;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}
.session-details {
  font-size: 0.875rem;
  color: var(--gray-500);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.session-meta {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}
.session-actions {
  margin-left: 1rem;
  flex-shrink: 0;
}
/* Notifications Settings */
.notifications-settings {
  max-width: 700px;
}
.notification-category {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.notification-category:last-child {
  border-bottom: none;
}
.category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1.5rem;
}
.notification-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.notification-item:last-child {
  border-bottom: none;
}
.notification-label {
  flex: 1;
}
.notification-name {
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}
.notification-description {
  color: var(--gray-500);
  font-size: 0.875rem;
}
/* Settings Empty State */
.settings-empty-state {
  text-align: center;
  padding: 4rem 2rem;
}
.settings-empty-icon {
  font-size: 4rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}
.settings-empty-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}
.settings-empty-text {
  color: var(--gray-400);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
/* Settings Modal */
.settings-modal .modal-content {
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.settings-section {
  margin-bottom: 2rem;
}
.settings-section:last-child {
  margin-bottom: 0;
}
.settings-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.settings-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.settings-modal .setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.settings-modal .setting-item:hover {
  background: var(--gray-50);
}
.setting-label {
  flex: 1;
}
.setting-name {
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--gray-700);
}
.setting-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
}
.setting-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.setting-select {
  padding: 0.5rem;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  background: white;
  min-width: 120px;
}
.setting-select:focus {
  border-color: var(--ocean-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(35, 98, 201, 0.1);
}
/* Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-300);
  transition: 0.4s;
  border-radius: 28px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: var(--radius-full);
}
input:checked + .slider {
  background-color: var(--ocean-primary);
}
input:focus + .slider {
  box-shadow: 0 0 1px var(--ocean-primary);
}
input:checked + .slider:before {
  transform: translateX(24px);
}
/* ==========================================================================
   27. О НАС И КОМАНДА
   ========================================================================== */
/* About Hero */
.about-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(10, 38, 71, 0.9), rgba(44, 116, 179, 0.8));
  position: relative;
  overflow: hidden;
  color: white;
}
.about-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
}
/* Mission Stats */
.mission-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(44, 116, 179, 0.1);
  box-shadow: 0 15px 35px rgba(10, 38, 71, 0.15);
}
.mission-stats .stat-item {
  text-align: center;
  padding: 1.5rem;
  transition: all var(--transition-normal);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.mission-stats .stat-item:hover {
  background: linear-gradient(135deg, rgba(44, 116, 179, 0.05), rgba(100, 204, 197, 0.05));
  transform: translateY(-5px);
}
.mission-stats .stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-ocean);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}
.mission-stats .stat-item:hover::before {
  transform: scaleX(1);
}
/* Value Cards */
.value-card,
.team-card,
.benefit-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  backdrop-filter: blur(10px);
}
.value-card:hover,
.team-card:hover,
.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--ocean-accent);
}
.value-card::before,
.team-card::before,
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-ocean);
}
.value-icon,
.team-avatar,
.benefit-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-ocean);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2.5rem;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px rgba(44, 116, 179, 0.3);
}
.value-card:hover .value-icon,
.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(10deg);
}
.value-card h4,
.team-card h4,
.benefit-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ocean-deep);
}
.value-card p,
.team-card p,
.benefit-card p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.value-meta,
.team-meta,
.benefit-meta {
  margin-top: 1.5rem;
}
/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--ocean-deep), var(--sea-foam), var(--ocean-deep));
  transform: translateX(-50%);
  border-radius: 2px;
}
.timeline-item {
  display: flex;
  margin-bottom: 3rem;
  position: relative;
}
.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}
.timeline-item:nth-child(even) {
  justify-content: flex-end;
}
.timeline-date {
  position: absolute;
  top: 0;
  width: 140px;
  text-align: center;
  padding: 1rem;
  z-index: 2;
}
.timeline-item:nth-child(odd) .timeline-date {
  left: calc(50% + 2rem);
}
.timeline-item:nth-child(even) .timeline-date {
  right: calc(50% + 2rem);
}
.timeline-date .year {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ocean-accent);
  font-family: 'Montserrat', sans-serif;
}
.timeline-date .label {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}
.timeline-content {
  width: calc(50% - 6rem);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-normal);
}
.timeline-content:hover {
  transform: translateY(-5px);
}
.timeline-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-ocean);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(44, 116, 179, 0.3);
}
.timeline-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ocean-deep);
}
.timeline-content p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.timeline-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
/* Team Cards */
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}
.team-avatar::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
}
.team-info h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ocean-deep);
}
.team-position {
  color: var(--ocean-accent);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.team-bio {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}
.team-mini {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  transition: all var(--transition-normal);
}
.team-mini:hover {
  transform: translateX(10px);
}
.team-mini-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--ocean-accent), var(--sea-foam));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}
.team-mini-info h6 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ocean-deep);
}
.team-mini-info .text-muted {
  font-size: 0.875rem;
}
/* Compass */
.compass-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 2rem auto;
}
.compass {
  width: 100%;
  height: 100%;
  border: 4px solid var(--ocean-accent);
  border-radius: var(--radius-full);
  position: relative;
  background: radial-gradient(circle, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 20px 40px rgba(44, 116, 179, 0.1), inset 0 0 60px rgba(44, 116, 179, 0.1);
  animation: compassSpin 60s linear infinite;
}
.compass-rose {
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-radius: var(--radius-full);
  background: conic-gradient(from 0deg, #FF6B6B 0deg 90deg, #64CCC5 90deg 180deg, #2C74B3 180deg 270deg, #FFD93D 270deg 360deg);
  opacity: 0.3;
}
.compass-needle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: var(--coral);
  animation: needlePulse 2s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.direction {
  position: absolute;
  font-weight: bold;
  color: var(--ocean-deep);
  font-size: 1.2rem;
}
.direction:nth-child(1) { top: 10%; left: 50%; transform: translateX(-50%); }
.direction:nth-child(2) { top: 50%; right: 10%; transform: translateY(-50%); }
.direction:nth-child(3) { bottom: 10%; left: 50%; transform: translateX(-50%); }
.direction:nth-child(4) { top: 50%; left: 10%; transform: translateY(-50%); }
/* ==========================================================================
   28. ГЛАВНАЯ СТРАНИЦА (INDEX)
   ========================================================================== */
/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray-50) 0%, #e0f2fe 50%, #f0f9ff 100%);
  padding-top: 76px;
}
/* Navbar */
.more-navbar {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(15px);
  border-bottom: 2px solid rgba(44, 116, 179, 0.1);
  transition: all var(--transition-normal);
}
.more-navbar.scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 8px 32px rgba(10, 38, 71, 0.15);
}
.more-logo {
  width: 40px;
  height: 40px;
  background: var(--gradient-ocean);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
}
.more-logo::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: logo-shine 3s infinite linear;
}
.more-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
}
/* Ocean Background */
.ocean-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}
.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
}
.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, rgba(135, 206, 235, 0.3) 0%, rgba(100, 204, 197, 0.4) 50%, rgba(44, 116, 179, 0.3) 100%);
  animation: waveMove 20s linear infinite;
  transform-origin: center bottom;
}
.wave-1 {
  height: 120px;
  opacity: 0.7;
  animation-delay: 0s;
  animation-duration: 25s;
}
.wave-2 {
  height: 100px;
  opacity: 0.5;
  animation-delay: -5s;
  animation-duration: 20s;
}
.wave-3 {
  height: 80px;
  opacity: 0.3;
  animation-delay: -10s;
  animation-duration: 15s;
}
/* Ship Animation */
.ship-animation {
  position: absolute;
  top: 30%;
  right: 10%;
  animation: shipSail 30s linear infinite;
  font-size: 4rem;
  color: var(--ocean-accent);
  opacity: 0.7;
  filter: drop-shadow(0 5px 15px rgba(44, 116, 179, 0.3));
}
/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.hero-stats .stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  flex: 1;
  min-width: 150px;
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.hero-stats .stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.7s ease;
}
.hero-stats .stat-item:hover::before {
  left: 100%;
}
.hero-stats .stat-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px rgba(10, 38, 71, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.hero-stats .stat-item .stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--ocean-accent);
  margin-bottom: 0.5rem;
  line-height: 1;
  display: block;
  min-height: 3.5rem;
  font-family: 'Montserrat', sans-serif;
}
.hero-stats .stat-item .stat-label {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* Floating Cards */
.floating-cards {
  position: relative;
  width: 100%;
  height: 500px;
  perspective: 1000px;
}
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  width: 280px;
  animation: cardFloat 8s ease-in-out infinite;
  transition: all var(--transition-normal);
  border: 1px solid rgba(44, 116, 179, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(44, 116, 179, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
}
.floating-card:hover {
  transform: translateY(-10px) rotateY(10deg);
  box-shadow: 0 30px 60px rgba(44, 116, 179, 0.2), 0 10px 20px rgba(0, 0, 0, 0.1);
}
.floating-card-1 {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
  z-index: 3;
}
.floating-card-2 {
  top: 40%;
  right: 10%;
  animation-delay: 2s;
  z-index: 2;
}
.floating-card-3 {
  bottom: 10%;
  left: 20%;
  animation-delay: 4s;
  z-index: 1;
}
/* How It Works Section */
.section-how-it-works {
  background: white;
  position: relative;
  overflow: hidden;
}
.section-how-it-works::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(100, 204, 197, 0.1) 0%, transparent 50%),
  radial-gradient(circle at 80% 20%, rgba(44, 116, 179, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.section-title-underline {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-ocean);
  border-radius: 2px;
}
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  position: relative;
}

.step .step-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: var(--gradient-ocean);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all var(--transition-normal);
}

.step-icon {
  margin: 0 auto 2rem;
  width: 100px;
  height: 100px;
}
.icon-wrapper {
  width: 100%;
  height: 100%;
  background: var(--gradient-ocean);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  transition: all var(--transition-normal);
  box-shadow: 0 10px 30px rgba(44, 116, 179, 0.3);
}
.icon-wrapper:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 15px 40px rgba(44, 116, 179, 0.4);
}
.step-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--ocean-deep);
}
.step-content p {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.step-meta {
  margin-bottom: 1.5rem;
}
.step-link {
  color: var(--ocean-accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-normal);
}
.step-link:hover {
  color: var(--ocean-deep);
  gap: 1rem;
}
/* Companies Grid */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}
.company-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-ocean);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}
.company-card:hover::before {
  transform: scaleX(1);
}
.company-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--ocean-accent);
}
.company-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.company-logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  background: var(--gradient-ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(44, 116, 179, 0.3);
  position: relative;
  overflow: hidden;
}
.company-logo::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  animation: logo-shine 3s infinite linear;
}
.company-info h4 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ocean-deep);
}
.company-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  margin-top: 0.5rem;
}
.company-details {
  margin-bottom: 1.5rem;
}
.company-details p {
  margin-bottom: 0.5rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
/* Benefits Section */
.bg-wave {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-200) 100%);
  position: relative;
  overflow: hidden;
}
.bg-wave::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 C 20 0, 40 20, 60 10 S 80 0, 100 10 L 100 20 L 0 20 Z' fill='%232C74B3' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-size: 100px 20px;
  opacity: 0.5;
  pointer-events: none;
}
.benefit-mini {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}
.benefit-mini:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.benefit-mini i {
  font-size: 1.5rem;
}
.benefit-mini span {
  font-weight: 500;
  color: var(--ocean-deep);
}
/* CTA Section */
.bg-cta {
  background: var(--gradient-ocean);
  position: relative;
  overflow: hidden;
}
.bg-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
  radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
  pointer-events: none;
}
.cta-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  padding: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}
.cta-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.cta-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
.cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.trust-item {
  display: flex;
  align-items: center;
  color: white;
  font-weight: 500;
}
/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}
.reviews-grid .review-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.reviews-grid .review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-ocean);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}
.reviews-grid .review-card:hover::before {
  transform: scaleX(1);
}
.reviews-grid .review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--ocean-accent);
}
.reviews-grid .review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--gradient-ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}
.reviewer-info {
  flex: 1;
}
.reviewer-info h5 {
  margin: 0;
  color: var(--ocean-deep);
  font-weight: 600;
}
.reviews-grid .rating {
  color: var(--gold);
  margin-top: 0.25rem;
}
.reviews-grid .review-date {
  font-size: 0.875rem;
  color: var(--gray-500);
}
.reviews-grid .review-body {
  margin-bottom: 1.5rem;
}
.reviews-grid .review-body p {
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}
.reviews-grid .review-footer {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.company-badge,
.position-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.company-badge {
  background: rgba(44, 116, 179, 0.1);
  color: var(--ocean-accent);
}
.position-badge {
  background: rgba(100, 204, 197, 0.1);
  color: var(--sea-foam);
}
/* ==========================================================================
   29. АВТОРИЗАЦИЯ
   ========================================================================== */
/* Auth Page */
.auth-page {
  background: linear-gradient(135deg, var(--gray-50) 0%, #e0f2fe 50%, #f0f9ff 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.auth-section {
  padding-top: 76px;
  padding-bottom: 2rem;
  flex: 1;
  position: relative;
  min-height: calc(100vh - 76px);
}
.auth-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}
/* Auth Info */
.auth-info-wrapper {
  padding-right: 3rem;
}
.auth-info-content {
  padding: 3rem;
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(10, 38, 71, 0.15);
  background: rgba(255, 255, 255, 0.1);
}
.auth-info-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.auth-info-text {
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
}
/* Auth Features */
.auth-features {
  margin-bottom: 2.5rem;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.9);
}
.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(44, 116, 179, 0.2);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.feature-content h5 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--ocean-deep);
}
/* Auth Stats */
.auth-stats .stat-card {
  padding: 1rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.9);
}
.auth-stats .stat-card:hover {
  transform: translateY(-3px);
}
.auth-stats .stat-number {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.25rem;
  font-family: 'Montserrat', sans-serif;
}
/* Auth Forms */
.auth-forms-wrapper {
  position: relative;
}
.auth-card {
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(10, 38, 71, 0.15);
  margin-bottom: 2rem;
  display: none;
  background: rgba(255, 255, 255, 0.95);
}
.auth-card.active {
  display: block;
  animation: fadeInUp 0.6s ease;
}
.auth-card-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.auth-card-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
/* Auth Tabs */
.auth-tabs {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(44, 116, 179, 0.1);
}
.auth-tabs button {
  border: none;
  background: none;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  color: var(--gray-700);
  font-weight: 500;
  transition: all var(--transition-normal);
  cursor: pointer;
  flex: 1;
}
.auth-tabs button:hover {
  background: rgba(44, 116, 179, 0.1);
  color: var(--ocean-accent);
}
.auth-tabs button.active {
  background: var(--gradient-ocean);
  color: white;
  box-shadow: 0 4px 12px rgba(44, 116, 179, 0.3);
}
/* Auth Form Content */
.auth-form-content {
  animation: fadeIn 0.5s ease;
}
/* Auth Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(44, 116, 179, 0.2), transparent);
}
.auth-divider span {
  padding: 0 1.5rem;
  background: white;
}
/* Social Login */
.social-login {
  margin-top: 1.5rem;
}
/* Auth Steps */
.auth-step {
  display: none;
}
.auth-step.active {
  display: block;
  animation: slideIn 0.5s ease;
}
.step-actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(44, 116, 179, 0.1);
}
/* Auth Messages */
#auth-messages {
  margin-bottom: 1.5rem;
}
.auth-message {
  padding: 1rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  animation: slideInDown 0.3s ease;
}
.auth-message.success {
  background: linear-gradient(135deg, rgba(212, 237, 218, 0.9), rgba(195, 230, 203, 0.9));
  color: #155724;
  border-left: 4px solid #28a745;
}
.auth-message.error {
  background: linear-gradient(135deg, rgba(248, 215, 218, 0.9), rgba(245, 198, 203, 0.9));
  color: #721C24;
  border-left: 4px solid var(--danger);
}
.auth-message.info {
  background: linear-gradient(135deg, rgba(231, 241, 255, 0.9), rgba(207, 226, 255, 0.9));
  color: var(--ocean-deep);
  border-left: 4px solid var(--ocean-accent);
}
/* Forgot Password */
.forgot-password {
  color: var(--ocean-accent);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.forgot-password:hover {
  text-decoration: underline;
  color: var(--ocean-deep);
}
/* Button Spinner */
.btn-spinner {
  display: inline-flex;
  align-items: center;
}
/* Role Selection */
.role-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.role-features {
  margin-top: 1rem;
}
/* ==========================================================================
   30. ПУСТЫЕ СОСТОЯНИЯ И ЗАГРУЗКА
   ========================================================================== */
/* Empty States */
.empty-state,
.empty-reviews,
.empty-specialists,
.empty-notifications {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(241, 245, 249, 0.8));
  border-radius: var(--radius-xl);
  border: 2px dashed rgba(44, 116, 179, 0.2);
  backdrop-filter: blur(10px);
  color: var(--gray-500);
}
.empty-state-icon,
.empty-reviews-icon,
.empty-icon,
.settings-empty-icon {
  font-size: 4rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  opacity: 0.7;
  animation: float 3s ease-in-out infinite;
}
.empty-state-title,
.empty-reviews-title,
.empty-title,
.settings-empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
}
.empty-state-text,
.empty-reviews-text,
.empty-state-description,
.empty-text,
.settings-empty-text {
  color: var(--gray-600);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.empty-state .btn {
  padding: 0.875rem 2rem;
  font-size: 1.05rem;
}
/* Loading */
.spinner-more {
  color: var(--ocean-accent);
  animation: spin 1s linear infinite;
}
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 38, 71, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}
.loading-spinner {
  text-align: center;
  padding: 3rem 2rem;
}
.loading-spinner .spinner-border {
  width: 3.5rem;
  height: 3.5rem;
  border-width: 0.375rem;
}
.loading-indicator {
  text-align: center;
  padding: 3rem;
}
/* Skeletons */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--radius-2xl);
}
.shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}
.placeholder-line {
  height: 12px;
  background: #e0e0e0;
  border-radius: 6px;
  margin-bottom: 8px;
}
/* Loader */
.loader-content {
  text-align: center;
  color: white;
}
.more-loader {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto;
}
.more-loader .wave {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  animation: loaderWave 2s ease-in-out infinite;
}
.more-loader .wave:nth-child(2) {
  animation-delay: 0.5s;
}
.more-loader .wave:nth-child(3) {
  animation-delay: 1s;
}
.more-loader .anchor {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
  animation: anchorBounce 2s ease-in-out infinite;
}
/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--ocean-accent);
  border-radius: 15px;
  margin: 0 auto;
  position: relative;
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.1);
}
.wheel {
  width: 4px;
  height: 8px;
  background: var(--ocean-accent);
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}
/* Bubbles */
.bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.bubble {
  position: absolute;
  bottom: -100px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  opacity: 0;
}
.bubble:nth-child(1) { width: 20px; height: 20px; left: 10%; animation-delay: 0s; }
.bubble:nth-child(2) { width: 30px; height: 30px; left: 20%; animation-delay: 1s; }
.bubble:nth-child(3) { width: 25px; height: 25px; left: 30%; animation-delay: 2s; }
.bubble:nth-child(4) { width: 35px; height: 35px; left: 40%; animation-delay: 3s; }
.bubble:nth-child(5) { width: 20px; height: 20px; left: 50%; animation-delay: 4s; }
.bubble:nth-child(6) { width: 30px; height: 30px; left: 60%; animation-delay: 5s; }
.bubble:nth-child(7) { width: 25px; height: 25px; left: 70%; animation-delay: 6s; }
.bubble:nth-child(8) { width: 35px; height: 35px; left: 80%; animation-delay: 7s; }
.bubble:nth-child(9) { width: 20px; height: 20px; left: 90%; animation-delay: 8s; }
/* ==========================================================================
   31. СКРОЛЛБАРЫ И ТУЛТИПЫ
   ========================================================================== */
/* Scrollbars */
.scrollable {
  scrollbar-width: thin;
  scrollbar-color: var(--ocean-accent) rgba(44, 116, 179, 0.1);
}
.scrollable::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.scrollable::-webkit-scrollbar-track {
  background: rgba(44, 116, 179, 0.1);
  border-radius: 3px;
}
.scrollable::-webkit-scrollbar-thumb {
  background: var(--gradient-ocean);
  border-radius: 3px;
}
.scrollable::-webkit-scrollbar-thumb:hover {
  background: var(--ocean-accent);
}
/* Tooltips */
.tooltip-inner {
  background: var(--ocean-deep);
  color: white;
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: var(--ocean-deep);
}
.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: var(--ocean-deep);
}
.bs-tooltip-start .tooltip-arrow::before {
  border-left-color: var(--ocean-deep);
}
.bs-tooltip-end .tooltip-arrow::before {
  border-right-color: var(--ocean-deep);
}
/* Popovers */
.popover {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(44, 116, 179, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(10, 38, 71, 0.15);
}
.popover-header {
  background: linear-gradient(135deg, rgba(44, 116, 179, 0.1), rgba(100, 204, 197, 0.1));
  border-bottom: 1px solid rgba(44, 116, 179, 0.1);
  font-weight: 700;
  color: var(--ocean-deep);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.popover-body {
  color: var(--gray-700);
}
/* ==========================================================================
   32. УТИЛИТАРНЫЕ КЛАССЫ
   ========================================================================== */
/* Visibility */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.d-grid { display: grid; }
/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
/* Margins (auto) */
.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
/* Background */
.bg-light { background-color: var(--gray-50) !important; }
.bg-gradient-ocean { background: var(--gradient-ocean) !important; }
.bg-gradient-marine { background: var(--gradient-ocean); }
.bg-gradient-marine-light { background: var(--gradient-marine); }
/* Marine Gradient */
.marine-gradient {
  background: var(--gradient-ocean-simple);
}
/* Text Accent */
.text-accent {
  color: var(--sea-foam) !important;
}
/* Focus */
:focus-visible {
  outline: 2px solid var(--ocean-accent);
  outline-offset: 4px;
  border-radius: 4px;
}
button:focus:not(:focus-visible) {
  outline: none;
}
/* Fade In */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Effects */
.glow {
  filter: drop-shadow(0 0 10px rgba(44, 116, 179, 0.3));
}
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.hover-lift {
  transition: transform var(--transition-base);
}
.hover-lift:hover {
  transform: translateY(-2px);
}
/* Glass Effect */
.glass-effect {
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(10, 38, 71, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.glass-effect-dark {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
/* ==========================================================================
   33. АНИМАЦИИ
   ========================================================================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInSmall {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes waveMove {
  0% { transform: translateX(0) translateZ(0) scaleY(1); }
  50% { transform: translateX(-25%) translateZ(0) scaleY(0.85); }
  100% { transform: translateX(-50%) translateZ(0) scaleY(1); }
}
@keyframes shipSail {
  0% { transform: translateX(100%) translateY(0); }
  25% { transform: translateX(50%) translateY(-20px); }
  50% { transform: translateX(0) translateY(0); }
  75% { transform: translateX(-50%) translateY(20px); }
  100% { transform: translateX(-100%) translateY(0); }
}
@keyframes compassSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes needlePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}
@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(2deg);
  }
  66% {
    transform: translateY(-10px) rotate(-2deg);
  }
}
@keyframes logo-shine {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes fadeInMessage {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}
@keyframes fadeInFaq {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-15px);
  }
}
@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes loaderWave {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }
}
@keyframes anchorBounce {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  25% { transform: translate(-50%, -50%) rotate(10deg); }
  75% { transform: translate(-50%, -50%) rotate(-10deg); }
}
@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}
@keyframes ctaGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes bubbleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% { opacity: 0.5; }
  50% { opacity: 0.7; }
  90% { opacity: 0.2; }
  100% {
    transform: translateY(-100px) scale(1.2);
    opacity: 0;
  }
}
@keyframes loadingDots {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.8); opacity: 0.5; }
}
@keyframes compassWobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
}
@keyframes rainbowBorder {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes pageLoad {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}
@keyframes shipRock {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
}
@keyframes slowRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* ==========================================================================
   34. МЕДИА ЗАПРОСЫ (АДАПТИВНОСТЬ)
   ========================================================================== */
@media (min-width: 640px) {
  .container { max-width: 640px; }
}
@media (min-width: 768px) {
  .container { max-width: 768px; }
  .container-fluid { padding-left: 2rem; padding-right: 2rem; }
}
@media (min-width: 1024px) {
  .container { max-width: 1024px; }
}
@media (min-width: 1200px) {
  .container { max-width: 1280px; }
  .container-fluid { padding-left: 3rem; padding-right: 3rem; }
  .container-wide { max-width: 1400px; }
}
@media (min-width: 1920px) {
  .container-wide { max-width: 1800px; }
  .hero-title { font-size: 4.5rem !important; }
  .section-title { font-size: 3.5rem; }
  .section-subtitle { font-size: 1.5rem; }
  .cards-grid,
  .companies-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem;
  }
}
@media (max-width: 1200px) {
  .floating-cards {
    height: 400px;
  }
  .floating-card {
    width: 240px;
  }
  .quick-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 992px) {
  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .review-rating {
    text-align: left;
    width: 100%;
    margin-top: 1rem;
  }
  .review-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .filter-card {
    position: static;
    margin-bottom: 2rem;
  }
  .profile-sidebar,
  .dashboard-sidebar,
  .admin-sidebar,
  .settings-sidebar {
    position: static;
    margin-bottom: 2rem;
  }
  .profile-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-info-card {
    position: static;
    margin-bottom: 2rem;
  }
  .page-header .display-4 {
    font-size: 2.5rem;
  }
  .toc-card {
    position: static;
    margin-bottom: 2rem;
    max-height: 400px;
  }
  .toc-list-wrapper {
    max-height: 300px;
  }
  .terms-content,
  .privacy-content {
    padding: 1.75rem;
  }
  .term-section h2,
  .privacy-title {
    font-size: 1.625rem;
  }
  .term-section h3,
  .privacy-body h5 {
    font-size: 1.25rem;
  }
  .related-link-card {
    margin-bottom: 1rem;
  }
  .settings-sidebar {
    width: 100%;
  }
  .settings-container {
    flex-direction: column;
  }
  .privacy-settings-grid {
    grid-template-columns: 1fr;
  }
  .timeline::before {
    left: 30px;
  }
  .timeline-item {
    flex-direction: column;
    margin-left: 60px;
    width: calc(100% - 60px);
  }
  .timeline-date {
    position: relative;
    width: auto;
    left: auto !important;
    right: auto !important;
    margin-bottom: 1rem;
    align-self: flex-start;
  }
  .timeline-content {
    width: 100%;
  }
  .mission-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .timeline-item:nth-child(odd) .timeline-date,
  .timeline-item:nth-child(even) .timeline-date {
    left: 0;
    right: auto;
  }
  .specialists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .specialists-filters {
    position: static;
    margin-bottom: 2rem;
  }
  .chat-container {
    height: calc(100vh - 200px);
    flex-direction: column;
  }
  .chat-sidebar {
    width: 100%;
    height: 350px;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
  }
  .chat-main {
    flex: 1;
  }
  .message {
    max-width: 85%;
  }
  .chat-topbar {
    padding: 0.75rem 1rem;
  }
  #close-chat {
    display: block;
  }
  .faq-hero {
    min-height: 50vh;
    padding-top: 90px;
  }
  .search-card {
    padding: 1.5rem;
  }
  .more-accordion .accordion-button {
    padding: 1rem;
    font-size: 1rem;
  }
  .more-accordion .accordion-body {
    padding: 1.5rem;
  }
  .faq-stats .stat-item {
    min-width: 100px;
    padding: 1rem 0.5rem;
  }
  .faq-stats .stat-number {
    font-size: 2rem;
  }
  .privacy-hero h1 {
    font-size: 2.25rem;
  }
  .privacy-hero .lead {
    font-size: 1.1rem;
  }
  .toc-card {
    padding: 1.25rem;
  }
  .toc-list li {
    padding-left: 1rem;
    font-size: 0.95rem;
  }
  .hero-section {
    min-height: auto;
    padding: 100px 0;
  }
  .steps-timeline {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .steps-timeline::before {
    display: none;
  }
  .step {
    border-left: 4px solid var(--ocean-accent);
    padding-left: 2rem;
    text-align: left;
  }
  .step-icon {
    margin-left: 0;
  }
  .companies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ship-animation {
    display: none;
  }
  .auth-section {
    padding-top: 86px;
  }
  .auth-info-wrapper {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  .auth-info-content {
    padding: 2rem;
  }
  .auth-card {
    padding: 2rem;
  }
  .role-selection {
    grid-template-columns: 1fr;
  }
  .quick-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-tabs .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  .admin-nav .nav-link span {
    display: none;
  }
  .admin-nav .nav-link i {
    margin-right: 0;
    font-size: 1.25rem;
  }
  .admin-user h6,
  .admin-info {
    display: none;
  }
  .notifications-header {
    flex-direction: column;
    align-items: stretch;
  }
  .notifications-stats {
    justify-content: center;
  }
  .stat-card {
    min-width: 100px;
    padding: 0.75rem 1rem;
  }
  .stat-value {
    font-size: 1.5rem;
  }
  .filter-options {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-options .form-select {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem !important;
  }
  .stat-value {
    font-size: 1.75rem;
  }
  .review-card {
    padding: 1.5rem;
  }
  .author-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  .author-name {
    font-size: 1.1rem;
  }
  .rating-value {
    font-size: 1.75rem;
  }
  .profile-sidebar {
    margin-bottom: 1.5rem;
  }
  .profile-avatar {
    width: 120px;
    height: 120px;
  }
  .profile-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .profile-stats .stat-value {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.75rem;
  }
  .profile-actions {
    flex-direction: column;
  }
  .profile-actions .btn {
    width: 100%;
  }
  .company-details-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 1.5rem !important;
  }
  .contact-item {
    padding: 1rem 0;
  }
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
  .accordion-button {
    font-size: 1rem;
    padding: 1rem 1.25rem;
  }
  .terms-hero h1,
  .privacy-hero h1 {
    font-size: 2.25rem !important;
  }
  .terms-hero .lead,
  .privacy-hero .lead {
    font-size: 1.1rem;
  }
  .last-updated {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  .terms-content,
  .privacy-content {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }
  .term-section,
  .privacy-section {
    margin-bottom: 2rem;
    padding-bottom: 1.75rem;
  }
  .term-section h2,
  .privacy-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }
  .term-section h3,
  .privacy-body h5 {
    font-size: 1.125rem;
    margin: 1.25rem 0 0.75rem;
  }
  .terms-agreement {
    border-radius: var(--radius-lg);
  }
  .contact-info {
    border-radius: var(--radius-lg);
  }
  .related-links h5 {
    font-size: 1.375rem;
    margin-bottom: 1.5rem;
  }
  .related-link-card .icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.75rem;
  }
  .setting-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .setting-actions {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }
  .setting-actions .btn {
    width: 100%;
  }
  .session-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .session-icon {
    margin-bottom: 1rem;
  }
  .session-actions {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }
  .session-actions .btn {
    width: 100%;
  }
  .settings-actions {
    flex-direction: column;
  }
  .settings-actions .btn {
    width: 100%;
  }
  .about-hero {
    min-height: 50vh;
    padding: 4rem 0;
  }
  .about-hero h1 {
    font-size: 2.5rem !important;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    margin-left: 40px;
    width: calc(100% - 40px);
  }
  .value-card,
  .team-card,
  .benefit-card {
    padding: 1.5rem;
  }
  .value-icon,
  .team-avatar,
  .benefit-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  .team-avatar {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }
  .mission-stats .stat-number {
    font-size: 2rem;
  }
  .specialists-hero {
    padding: 3rem 1.5rem 2.5rem;
  }
  .specialists-hero h1 {
    font-size: 2.25rem !important;
  }
  .specialists-hero .lead {
    font-size: 1.1rem;
  }
  .specialists-grid {
    grid-template-columns: 1fr;
  }
  .specialist-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .specialist-avatar {
    margin-bottom: 1rem;
  }
  .specialist-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions button {
    width: 100%;
  }
  .filter-actions {
    flex-direction: column;
  }
  .filter-actions button {
    width: 100%;
  }
  .chat-container {
    height: calc(100vh - 180px);
  }
  .chat-sidebar {
    height: 300px;
  }
  .message-input {
    font-size: 0.9rem;
  }
  .chat-title {
    font-size: 1rem;
  }
  .input-actions {
    gap: 8px;
  }
  .attachment-btn,
  .emoji-btn {
    width: 36px;
    height: 36px;
  }
  .faq-hero {
    padding: 80px 0 2rem;
    min-height: auto;
  }
  .faq-hero .hero-title {
    font-size: 2.5rem !important;
  }
  .categories-scroll {
    justify-content: flex-start;
  }
  .btn-category {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  .faq-controls {
    flex-direction: column;
    gap: 1rem;
  }
  .faq-controls .d-flex {
    width: 100%;
    justify-content: center;
  }
  .faq-contact .d-flex {
    flex-direction: column;
    gap: 1rem;
  }
  .faq-contact .btn {
    width: 100%;
    max-width: 300px;
  }
  .contact-info .row {
    flex-direction: column;
    gap: 0.5rem;
  }
  .privacy-hero {
    padding: 3rem 0;
  }
  .privacy-title {
    font-size: 1.625rem;
  }
  .privacy-body h5 {
    font-size: 1rem;
  }
  .contact-item {
    margin-bottom: 0.75rem;
    padding: 1rem;
  }
  .privacy-settings {
    padding: 1.75rem !important;
  }
  .privacy-settings .btn {
    width: 100%;
    margin-bottom: 0.75rem;
    justify-content: center;
  }
  .last-updated {
    font-size: 0.875rem;
    padding: 0.4rem 0.8rem;
  }
  .toc-card {
    margin-bottom: 1.5rem;
  }
  .hero-title {
    font-size: 2.5rem !important;
  }
  .cta-title {
    font-size: 2.5rem;
  }
  .companies-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    min-width: 100%;
    margin-bottom: 1rem;
  }
  .hero-stats {
    flex-direction: column;
  }
  .floating-cards {
    height: 300px;
    margin-top: 3rem;
  }
  .floating-card {
    width: 200px;
    padding: 1rem;
  }
  .compass-container {
    width: 200px;
    height: 200px;
  }
  .auth-section {
    padding-top: 76px;
    padding-bottom: 1rem;
  }
  .auth-info-title {
    font-size: 2rem;
  }
  .auth-card {
    padding: 1.5rem;
  }
  .auth-tabs button {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  .quick-stats {
    grid-template-columns: 1fr;
  }
  .activity-timeline {
    padding-left: 1.75rem;
  }
  .activity-item {
    padding-left: 1.25rem;
  }
  .table-responsive {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
  }
  .quick-actions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .recommendation-item {
    padding: 1rem;
  }
  .quick-stats-grid {
    grid-template-columns: 1fr;
  }
  .content-card-header {
    flex-direction: column;
    gap: 1rem;
  }
  .filter-row {
    grid-template-columns: 1fr;
  }
  .filter-actions {
    flex-direction: column;
  }
  .filter-actions .btn {
    width: 100%;
  }
  .table-actions {
    flex-direction: column;
  }
  #admin-section-title {
    font-size: 1.5rem;
  }
  .notification-item {
    flex-direction: column;
    padding: 1rem;
  }
  .notification-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .notification-actions {
    margin-left: 0;
    margin-top: 1rem;
    justify-content: flex-end;
  }
  .pagination-numbers {
    display: none;
  }
}
@media (max-width: 576px) {
  .profile-avatar {
    width: 100px;
    height: 100px;
  }
  .profile-stats {
    padding-top: 1rem;
  }
  .profile-stats .stat-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
  }
  .profile-stats .stat-item:last-child {
    border-bottom: none;
  }
  .profile-stats .stat-value {
    font-size: 1.375rem;
    margin-bottom: 0;
  }
  .profile-content .card-body {
    padding: 1.5rem;
  }
  .page-header .display-4 {
    font-size: 2rem;
  }
  .page-header .lead {
    font-size: 1rem;
  }
  .btn-marine {
    width: 100%;
  }
  .social-link {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }
  .terms-hero h1,
  .privacy-hero h1 {
    font-size: 2rem !important;
  }
  .last-updated {
    display: block;
    width: 100%;
  }
  .toc-list li a {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem 0.5rem 1.25rem;
  }
  #acceptTermsBtn {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
  .contact-info .row {
    flex-direction: column;
  }
  .contact-info .col-md-6 {
    width: 100%;
    margin-bottom: 1rem;
  }
  .contact-info .col-md-6:last-child {
    margin-bottom: 0;
  }
  .settings-content .card-body {
    padding: 1.5rem;
  }
  .notification-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .notification-item .form-switch {
    margin-top: 0.5rem;
  }
  .system-status .row {
    flex-direction: column;
    text-align: center;
  }
  .system-status-indicator {
    margin-top: 1rem;
  }
  .timeline-content {
    padding: 1.5rem;
  }
  .timeline-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  .timeline-content h4 {
    font-size: 1.25rem;
  }
  .team-mini {
    padding: 1rem;
  }
  .team-mini-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
  .specialists-hero h1 {
    font-size: 2rem !important;
  }
  .stats-card .row {
    flex-direction: column;
  }
  .stat-item {
    margin-bottom: 1.5rem;
  }
  .stat-item:last-child {
    margin-bottom: 0;
  }
  .empty-specialists {
    padding: 3rem 1.5rem;
  }
  .empty-icon {
    font-size: 3.5rem;
  }
  .empty-title {
    font-size: 1.5rem;
  }
  .chat-container {
    height: calc(100vh - 160px);
  }
  .chat-sidebar {
    height: 280px;
  }
  .chat-search input {
    font-size: 0.875rem;
  }
  .send-btn {
    padding: 6px 16px;
    font-size: 0.875rem;
  }
  .message {
    max-width: 90%;
  }
  .search-card {
    padding: 1.25rem;
  }
  .search-title {
    font-size: 1.5rem;
  }
  .search-input {
    font-size: 0.9rem;
  }
  .faq-stats {
    flex-direction: column;
    gap: 1rem;
  }
  .faq-stats .stat-item {
    min-width: 100%;
  }
  .more-accordion .accordion-body {
    padding: 1.25rem;
  }
  .faq-contact .contact-card {
    padding: 1.5rem !important;
  }
  .contact-title {
    font-size: 1.75rem;
  }
  .privacy-hero {
    padding: 2.5rem 0 !important;
  }
  .privacy-hero h1 {
    font-size: 1.75rem;
  }
  .privacy-hero .lead {
    font-size: 1rem;
    padding: 0 1rem;
  }
  .summary-card {
    padding: 1.25rem !important;
  }
  .privacy-body ul {
    padding-left: 1.25rem;
  }
  .privacy-body li {
    font-size: 0.9rem;
    padding-left: 1rem;
  }
  .form-check {
    padding: 0.875rem;
  }
  .form-check-label small {
    font-size: 0.8125rem;
  }
  .privacy-title {
    font-size: 1.5rem;
  }
  .privacy-section {
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
  }
  .cta-card {
    padding: 2rem;
  }
  .benefit-card {
    padding: 1.5rem;
  }
  .step-content h3 {
    font-size: 1.5rem;
  }
  .company-card {
    padding: 1.5rem;
  }
  .cta-actions {
    flex-direction: column;
    gap: 1rem;
  }
  .cta-actions .btn {
    width: 100%;
  }
  .auth-info-content {
    padding: 1.5rem;
  }
  .auth-card {
    padding: 1.25rem;
  }
  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .feature-icon {
    margin: 0 auto;
  }
  .auth-stats .col-4 {
    padding: 0 0.25rem;
  }
  .auth-stats .stat-card {
    padding: 0.75rem 0.5rem;
  }
  .auth-stats .stat-number {
    font-size: 1.25rem;
  }
  .step-actions {
    flex-direction: column;
    gap: 1rem;
  }
  .step-actions .btn {
    width: 100%;
  }
  .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-tabs .nav-link {
    white-space: nowrap;
    padding: 0.625rem 1rem;
  }
  .action-buttons {
    justify-content: center;
  }
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-card {
    padding: 1.25rem;
  }
  .stat-card-value {
    font-size: 1.75rem;
  }
  .admin-header {
    padding: 1rem;
  }
  #admin-section-title {
    font-size: 1.375rem;
  }
  .admin-content .card-body {
    padding: 1.25rem;
  }
  .stat-card {
    padding: 1.25rem;
  }
  .stat-card-value {
    font-size: 1.75rem;
  }
  .filter-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-tab {
    width: 100%;
    justify-content: center;
  }
  .notification-title {
    font-size: 1rem;
  }
  .notification-text {
    font-size: 0.875rem;
  }
  .notification-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .action-btn {
    width: 28px;
    height: 28px;
  }
}
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.75rem !important;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .stat-item {
    min-width: 100%;
  }
  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  .navbar-brand {
    font-size: 0.9rem;
  }
}
/* ==========================================================================
   35. СПЕЦИАЛЬНЫЕ МЕДИА ЗАПРОСЫ (ДОСТУПНОСТЬ)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .card:hover { transform: translateY(-6px); }
  .nav-link:hover { transform: translateY(-1px); }
  .sidebar-item:hover { transform: translateX(4px); }
  .list-group-item:hover { transform: translateX(4px); }
}
@media (hover: none) and (pointer: coarse) {
  .btn:active { transform: scale(0.98); }
  .card:active { transform: scale(0.99); }
  .nav-link:active { transform: scale(0.98); }
  .btn,
  .nav-link,
  .sidebar-item,
  .list-group-item {
    min-height: 44px;
  }
  .form-control,
  .form-select {
    min-height: 44px;
  }
  .checkbox-label,
  .radio-label {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .more-logo { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)); }
  .company-logo { filter: drop-shadow(0 4px 8px rgba(44, 116, 179, 0.2)); }
  .btn-gradient-ocean {
    background-image: var(--gradient-ocean);
    background-size: 200% auto;
  }
}
@media (prefers-reduced-data: reduce) {
  .wave-animation,
  .floating-cards,
  .hero-visual,
  .ship-animation,
  .bubbles {
    display: none;
  }
  .bg-image { background-image: none !important; }
  .gradient-text,
  .text-gradient-ocean {
    background: var(--ocean-accent) !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    color: var(--ocean-accent) !important;
    animation: none !important;
  }
  .btn-gradient-ocean {
    background: var(--ocean-accent) !important;
    animation: none !important;
  }
  .more-logo::after,
  .company-logo::after {
    animation: none !important;
    display: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-section,
  .more-hero,
  .floating-card,
  .wave,
  .compass,
  .spin-slow,
  .pulse,
  .neon-text,
  .gradient-text,
  .floating-element,
  .stat-number.counter-animated {
    animation: none !important;
  }
  .floating-card {
    position: static;
    margin: 1rem 0;
  }
}
@media (prefers-contrast: high) {
  :root {
    --ocean-deep: #000080;
    --ocean-accent: #0000CD;
    --sea-foam: #008080;
    --coral: #CD0000;
    --gold: #CD7F00;
  }
  .btn-more,
  .btn-gradient-ocean {
    border: 2px solid #0000CD;
  }
  .btn-outline-more { border: 2px solid #0000CD; }
  .card { border: 2px solid #0000CD; }
  .form-control,
  .form-select { border: 2px solid #0000CD; }
  .form-control:focus,
  .form-select:focus { border: 3px solid #0000CD; }
  .table th { border-bottom: 3px solid #0000CD; }
  .table td { border-top: 2px solid #0000CD; }
}
/* ==========================================================================
   36. СТИЛИ ДЛЯ ПЕЧАТИ
========================================================================== */
@media print {
  /* Общие стили */
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  /* Скрыть элементы */
  .navbar,
  .hero-actions,
  .cta-actions,
  .scroll-indicator,
  footer,
  .btn,
  .sidebar,
  .toolbar .btn,
  .no-print,
  .more-navbar,
  .chat-sidebar,
  .chat-input,
  .chat-actions,
  .filter-group,
  .filter-actions,
  .admin-sidebar,
  .dashboard-sidebar,
  .profile-sidebar,
  .settings-sidebar,
  .notifications-toolbar,
  .notification-actions,
  .pagination,
  .page-actions,
  .profile-actions,
  .review-actions,
  .specialist-actions,
  .action-buttons,
  .quick-actions-grid,
  .avatar-upload-btn,
  .profile-avatar-upload,
  .password-toggle,
  .search-clear,
  .add-case,
  .remove-case,
  .ws-status,
  .typing-indicator,
  .attachment-btn,
  .emoji-btn,
  .send-btn,
  .mobile-menu,
  .bubbles,
  .ship-animation,
  .floating-cards,
  .wave-container,
  .compass-container,
  .scroll-indicator,
  .loading-overlay {
    display: none !important;
  }
  /* Основной контент */
  .main-content {
    padding-top: 0 !important;
  }
  .container-wide,
  .container-narrow {
    max-width: 100% !important;
    padding: 0 !important;
  }
  /* Карточки */
  .card,
  .card-marine,
  .dashboard-card,
  .content-card,
  .review-card,
  .company-card,
  .specialist-card,
  .stat-card,
  .stats-card,
  .metric-card,
  .chart-card,
  .privacy-settings,
  .toc-card,
  .contact-info-card,
  .contact-form-card,
  .terms-content,
  .privacy-content,
  .profile-content,
  .admin-content,
  .notifications-list,
  .chat-container,
  .search-card,
  .more-accordion,
  .accordion,
  .value-card,
  .team-card,
  .benefit-card,
  .mission-stats,
  .terms-agreement,
  .contact-info,
  .related-link-card,
  .summary-card,
  .form-section,
  .add-specialist-form,
  .empty-state,
  .empty-reviews,
  .empty-specialists,
  .empty-notifications,
  .settings-empty-state,
  .empty-state-admin {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    break-inside: avoid;
  }
  /* Таблицы */
  .table,
  .admin-table {
    border: 1px solid #e2e8f0;
    break-inside: avoid;
  }
  .table th,
  .table td,
  .admin-table th,
  .admin-table td {
    border: 1px solid #e2e8f0;
  }
  /* Заголовки */
  h1, h2, h3, h4, h5, h6 {
    break-after: avoid;
    color: #000 !important;
  }
  /* Разрывы страниц */
  .page-break {
    page-break-before: always;
  }
  .no-break {
    break-inside: avoid;
  }
  .term-section,
  .privacy-section,
  .review-card,
  .company-card,
  .specialist-card {
    page-break-inside: avoid;
    break-inside: avoid;
  }
  /* Ссылки */
  a {
    color: #000 !important;
    text-decoration: underline !important;
  }
  a[href]::after {
    content: " (" attr(href) ")";
  }
  /* Градиентный текст */
  .text-gradient-ocean,
  .gradient-text,
  .gradient {
    color: #000 !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
  }
  /* Страницы */
  .page-header {
    background: white !important;
    padding: 2rem 0 !important;
    color: #000 !important;
  }
  .page-header::before {
    display: none;
  }
  .page-title {
    color: #000 !important;
    text-shadow: none !important;
  }
  .page-subtitle {
    color: #333 !important;
    opacity: 1;
  }
  /* Hero секции */
  .hero-section,
  .about-hero,
  .specialists-hero,
  .faq-hero,
  .terms-hero,
  .privacy-hero,
  .auth-page,
  .auth-section {
    background: white !important;
    min-height: auto !important;
    padding: 2rem 0 !important;
  }
  .hero-title,
  .about-hero h1,
  .specialists-hero h1,
  .faq-hero h1,
  .terms-hero h1,
  .privacy-hero h1 {
    color: #000 !important;
    text-shadow: none !important;
  }
  .hero-subtitle,
  .about-hero .hero-subtitle,
  .specialists-hero .lead,
  .faq-hero .lead,
  .terms-hero .lead,
  .privacy-hero .lead {
    color: #333 !important;
  }
  /* Формы */
  .form-control,
  .form-select,
  .form-input,
  .form-textarea {
    border: 1px solid #e2e8f0 !important;
    background: white !important;
  }
  /* Auth */
  .auth-card,
  .auth-info-content {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  .auth-divider {
    color: #666 !important;
  }
  .auth-divider::before,
  .auth-divider::after {
    background: #e2e8f0 !important;
  }
  /* Dashboard */
  .dashboard-container,
  .profile-container {
    background: white !important;
  }
  .dashboard-sidebar,
  .profile-sidebar,
  .settings-sidebar,
  .admin-sidebar {
    display: none !important;
  }
  .dashboard-content,
  .profile-content {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  /* Admin */
  .admin-header {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  .admin-table-container {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  /* Notifications */
  .notifications-container {
    max-width: 100% !important;
  }
  .notifications-list {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  /* Chats */
  .chat-container {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
    height: auto !important;
  }
  .chat-main {
    background: white !important;
  }
  .message {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  .message.sent {
    background: #f1f5f9 !important;
    color: #000 !important;
  }
  .message.received {
    background: white !important;
    color: #000 !important;
  }
  /* FAQ */
  .more-accordion,
  .accordion {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  .accordion-button {
    background: white !important;
    color: #000 !important;
  }
  .accordion-button:not(.collapsed) {
    background: #f1f5f9 !important;
  }
  .accordion-body {
    background: white !important;
    color: #333 !important;
  }
  /* Timeline */
  .timeline::before {
    background: #e2e8f0 !important;
  }
  .timeline-content {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  /* Stats */
  .stat-number,
  .stat-value,
  .profile-stat-number {
    color: #000 !important;
  }
  .stat-label,
  .profile-stat-label {
    color: #666 !important;
  }
  /* Reviews */
  .review-text {
    background: #f1f5f9 !important;
    color: #333 !important;
    border-left-color: #2362c9 !important;
  }
  .review-text::before {
    color: rgba(35, 98, 201, 0.1) !important;
  }
  .company-reply {
    background: #f0f9ff !important;
    border-left-color: #2362c9 !important;
  }
  /* Specialists */
  .specialist-card {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  .specialist-header {
    background: #f1f5f9 !important;
    border-bottom-color: #e2e8f0 !important;
  }
  .specialist-footer {
    background: #f1f5f9 !important;
    border-top-color: #e2e8f0 !important;
  }
  /* Companies */
  .company-card {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  .company-logo {
    background: #f1f5f9 !important;
    color: #333 !important;
  }
  /* Contacts */
  .contact-info-card,
  .contact-form-card {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  .contact-item {
    border-bottom-color: #e2e8f0 !important;
  }
  .contact-icon {
    background: #f1f5f9 !important;
    color: #333 !important;
    box-shadow: none !important;
  }
  /* Privacy Settings */
  .privacy-settings {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  .privacy-item {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
  }
  .session-item {
    background: #f1f5f9 !important;
  }
  .session-item.current {
    background: #e0f2fe !important;
    border-left-color: #2362c9 !important;
  }
  /* Terms Agreement */
  .terms-agreement {
    background: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    box-shadow: none !important;
  }
  #acceptTermsBtn {
    box-shadow: none !important;
  }
  /* Last Updated */
  .last-updated {
    background: #f1f5f9 !important;
    color: #666 !important;
    border-color: #e2e8f0 !important;
  }
  /* TOC */
  .toc-card {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  .toc-card .card-header {
    background: #f1f5f9 !important;
    border-bottom: none !important;
  }
  .toc-link {
    color: #333 !important;
  }
  .toc-link.active {
    background: #e0f2fe !important;
    color: #2362c9 !important;
    border-left-color: #2362c9 !important;
  }
  /* Related Links */
  .related-link-card {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  .related-link-card .icon {
    background: #f1f5f9 !important;
  }
  /* Form Sections */
  .form-section {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
  }
  .form-section::before {
    display: none;
  }
  .section-title {
    border-bottom-color: #e2e8f0 !important;
  }
  /* Empty States */
  .empty-state,
  .empty-reviews,
  .empty-specialists,
  .empty-notifications,
  .settings-empty-state,
  .empty-state-admin {
    background: #f1f5f9 !important;
    border: 2px dashed #e2e8f0 !important;
  }
  .empty-icon,
  .empty-state-icon {
    color: #999 !important;
  }
  .empty-title,
  .empty-state-title {
    color: #333 !important;
  }
  .empty-text,
  .empty-state-text {
    color: #666 !important;
  }
  /* Status Badges */
  .status-badge {
    border: 1px solid #e2e8f0 !important;
  }
  .status-uploaded,
  .status-draft,
  .status-closed {
    background: #f1f5f9 !important;
    color: #333 !important;
  }
  .status-sms_sent,
  .status-sent,
  .status-pending {
    background: #fef3c7 !important;
    color: #92400e !important;
  }
  .status-signed,
  .status-open,
  .status-approved,
  .status-published,
  .status-completed {
    background: #d1fae5 !important;
    color: #065f46 !important;
  }
  .status-rejected,
  .status-terminated {
    background: #fee2e2 !important;
    color: #991b1b !important;
  }
  .status-active,
  .status-filled {
    background: #dbeafe !important;
    color: #1e40af !important;
  }
  /* Alerts */
  .alert {
    border: 1px solid #e2e8f0 !important;
    border-left-width: 4px !important;
  }
  .alert-success {
    background: #d1fae5 !important;
    color: #065f46 !important;
    border-left-color: #10b981 !important;
  }
  .alert-info {
    background: #dbeafe !important;
    color: #1e40af !important;
    border-left-color: #3b82f6 !important;
  }
  .alert-warning {
    background: #fef3c7 !important;
    color: #92400e !important;
    border-left-color: #f59e0b !important;
  }
  .alert-danger {
    background: #fee2e2 !important;
    color: #991b1b !important;
    border-left-color: #ef4444 !important;
  }
  /* Pagination */
  .pagination .page-link {
    border: 1px solid #e2e8f0 !important;
    color: #333 !important;
  }
  .pagination .page-item.active .page-link {
    background: #2362c9 !important;
    border-color: #2362c9 !important;
    color: white !important;
  }
  /* Modal */
  .modal-content {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  .modal-header {
    background: #f1f5f9 !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }
  .modal-footer {
    background: #f1f5f9 !important;
    border-top: 1px solid #e2e8f0 !important;
  }
  /* Nav */
  .nav-pills,
  .nav-tabs {
    background: transparent !important;
    border: none !important;
  }
  .nav-pills .nav-link,
  .nav-tabs .nav-link {
    color: #333 !important;
    border: 1px solid #e2e8f0 !important;
  }
  .nav-pills .nav-link.active,
  .nav-tabs .nav-link.active {
    background: #2362c9 !important;
    color: white !important;
    border-color: #2362c9 !important;
  }
  .step-number {
    background: white !important;
    border: 2px solid #e2e8f0 !important;
    color: #333 !important;
  }
  .step.active .step-number,
  .step.completed .step-number {
    background: #2362c9 !important;
    border-color: #2362c9 !important;
    color: white !important;
  }
  .step-label {
    color: #666 !important;
  }
  /* Role Cards */
  .role-card {
    border: 2px solid #e2e8f0 !important;
    background: white !important;
  }
  .role-icon {
    background: #f1f5f9 !important;
    color: #333 !important;
  }
  .role-content h6 {
    color: #333 !important;
  }
  /* Profile */
  .profile-avatar {
    border: none !important;
  }
  .profile-avatar img {
    border: 2px solid #e2e8f0 !important;
    box-shadow: none !important;
  }
  .profile-stats {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
  }
  .profile-stat-number {
    color: #2362c9 !important;
  }
  .profile-stat-label {
    color: #666 !important;
  }
  /* Activity Timeline */
  .activity-timeline::before {
    background: #e2e8f0 !important;
  }
  .activity-item::before {
    background: #2362c9 !important;
    border-color: white !important;
    box-shadow: 0 0 0 4px #e0f2fe !important;
  }
  .activity-title {
    color: #333 !important;
  }
  .activity-description {
    color: #666 !important;
  }
  .activity-badge {
    background: #f1f5f9 !important;
    color: #666 !important;
  }
  /* Recommendations */
  .recommendation-item {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
  }
  .recommendation-icon {
    background: #f1f5f9 !important;
    color: #2362c9 !important;
    box-shadow: none !important;
  }
  .recommendation-title {
    color: #333 !important;
  }
  .recommendation-description {
    color: #666 !important;
  }
  /* Quick Actions */
  .quick-action-btn {
    border: 1px solid #e2e8f0 !important;
    background: white !important;
    color: #333 !important;
    box-shadow: none !important;
  }
  /* Charts */
  .chart-card,
  .metric-card {
    box-shadow: none !important;
    border: 1px solid #e2e8f0 !important;
  }
  .chart-card-header,
  .metric-card-header {
    border-bottom: 1px solid #e2e8f0 !important;
  }
  .metric-progress {
    background: #e2e8f0 !important;
  }
  .metric-progress-bar {
    background: #2362c9 !important;
  }
  /* Breadcrumbs */
  .breadcrumb {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
  }
  .breadcrumb-item a {
    color: #2362c9 !important;
  }
  .breadcrumb-item.active {
    color: #333 !important;
  }
  /* Body */
  body {
    background: white !important;
    color: #000 !important;
  }
  body::before {
    display: none;
  }
  /* Container */
  .container,
  .container-wide,
  .container-narrow,
  .container-fluid,
  .container-marine {
    max-width: 100% !important;
    padding: 0 1rem !important;
  }
  /* Sections */
  section {
    padding: 2rem 0 !important;
  }
  .section-title {
    color: #000 !important;
  }
  .section-subtitle {
    color: #666 !important;
  }
  /* Footer */
  .page-footer {
    display: none !important;
  }
}
/* ==========================================================================
КОНЕЦ ФАЙЛА - MOREPLACE MAIN.CSS
Версия: 3.0 | Рефакторинг: 2024
Все стили унифицированы под единую морскую тематику
========================================================================== */
