﻿/* Стили для временной шкалы */
.timeline {
    display: flex;
    width: 100%;
    height: 50px;
    background-color: #e9e9e9;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.segment {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    font-size: 15px;
    transition: transform 0.2s, filter 0.2s;
    white-space: nowrap;      /* чтобы текст не переносился */
}

.segment:hover {
    filter: brightness(1.1);
    transform: scaleY(1.05);
    cursor: help;
}

/* Цвета сегментов по смыслу */
.segment-time-1 { background-color: #2e7d32; } /* первые сутки */
.segment-time-2 { background-color: #f57c00; } /* 2-3 сутки */
.segment-time-3 { background-color: #c62828; } /* позднее обращение */


    .contacts-000 {
      background-color: #f8f9fa;
      padding: 20px;
      border-radius: 8px;
      margin: 20px 0;
    }
    .related-links-000 {
      margin: 30px 0;
      padding: 15px;
      background-color: #e9f2ff;
      border-radius: 8px;
    }

/* Навигация кластера */
.cluster-nav {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cluster-nav h2 {
  color: #ffffff;
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 600;
}

.cluster-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cluster-nav-list li {
  margin: 0;
}

.cluster-nav-list a {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-block;
  font-size: 14px;
}

.cluster-nav-list a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.cluster-nav-list strong {
  color: #ffffff;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  display: inline-block;
  font-size: 14px;
}

@media (max-width: 768px) {
  .cluster-nav-list {
    flex-direction: column;
  }
}

/* Дисклеймер */
.disclaimer {
  border-left: 4px solid #2196F3;
  background: #E3F2FD;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.disclaimer .alert-icon {
  font-size: 24px;
  margin-right: 10px;
}

.disclaimer h4 {
  color: #1976D2;
  margin: 0 0 8px 0;
  font-size: 16px;
}

.disclaimer p {
  color: #424242;
  margin: 0;
  line-height: 1.6;
}