﻿.search-form {
      display: flex;
      flex-direction: column;
      gap: 15px;
      max-width: 500px;
      width: 100%;
      padding: 20px;
      background-color: #ffffff;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
   text-align: right;  }

    /* Стиль текстового поля */
    .search-form input[type="text"],
  .search-form input[type="password"],  .search-form select {
      width: 70%;
      padding: 12px 15px;
      font-size: 16px;
      border: 1px solid #dcdcdc;
      border-radius: 8px;
      outline: none;
      transition: border-color 0.3s ease;
    }

    .search-form input[type="text"]:focus,
  .search-form input[type="password"]:focus,
  .search-form select:focus {
      border-color: #C2185B;
      box-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
    }

    /* Стиль для чекбоксов и радиокнопок */
    .search-form label {
      font-size: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .search-form input[type="checkbox"],
    .search-form input[type="radio"] {
      accent-color: #C2185B; /* Цвет чекбоксов и радиокнопок */
      width: 18px;
      height: 18px;
    }

    /* Стиль выпадающего списка */
    .search-form select {
      cursor: pointer;
      appearance: none;
      background-image: url('data:image/svg+xml,%3Csvg width="10" height="5" viewBox="0 0 10 5" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M1 1L5 4L9 1" stroke="%234A90E2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"%3E%3C/path%3E%3C/svg%3E');
      background-repeat: no-repeat;
      background-position: right 15px center;
    }

    /* Стиль кнопки */
    .search-button {
      padding: 12px;
      font-size: 16px;
      font-weight: bold;
      color: #fff;
      background-color: #C2185B;
      border: none;
      cursor: pointer;
      border-radius: 50px;
      transition: background-color 0.3s ease, box-shadow 0.3s ease;
      text-align: center;
    }

    .search-button:hover {
      background-color: #357abd;
      box-shadow: 0 4px 10px rgba(53, 122, 189, 0.3);
    }

    .search-button:active {
      transform: scale(0.98);
    }
  .search-form input, 
.search-form button {
    margin-left: auto; /* Перемещает элемент вправо */ 
} 

        body {
            font-family: Arial, sans-serif;
            background-color: #f9f9f9;
            color: #333;
            line-height: 1.6;
            margin: 0;
            padding: 0;
        }
        header, footer {
            background-color: #333;
            color: #fff;
            padding: 20px;
            text-align: center;
        }
        h1 {
            color: #E91E63;
        }
        .container {
            max-width: 800px;
            margin: auto;
            padding: 20px;
        }
        .section {
            margin-bottom: 40px;
        }
        .cta-button {
            display: inline-block;
            padding: 15px 30px;
            background-color: #E91E63;
            color: #fff;
            text-decoration: none;
            font-weight: bold;
            border-radius: 5px;
        }
        .cta-button:hover {
            background-color: #C2185B;
        }
        footer p {
            margin: 0;
            font-size: 0.9em;
        }
       .image-radius {
       border-radius: 10px;  /* Скругление углов изображения */
       border: 5px solid #fff; /* Цвет и ширину рамки */
       box-shadow: 2px 1px 5px #999999; /* Цвет и размер тени */
       }
/* Основной стиль для таблицы */
table {
  width: 80%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* Заголовок таблицы */
thead {
  background-color: #4a90e2;
  color: #fff;
}

thead th {
  padding: 12px 16px;
  font-weight: 600;
  text-align: left;
}

/* Стиль для ячеек тела таблицы */
tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

tbody tr:nth-child(even) {
  background-color: #f8f8f8;
}

tbody tr:hover {
  background-color: #FFEEEE;
}

tbody td {
  padding: 12px 16px;
}

/* Добавление закруглений для первой и последней ячейки строки */
tbody tr td:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

tbody tr td:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }

.responsive-table {
    width: 100%; /* Таблица занимает всю ширину экрана */
    border-collapse: collapse; /* Убираем лишние границы */
    margin: 10px 0; /* Добавляем отступы сверху и снизу */
    font-size: 16px; /* Оптимальный размер текста */
    text-align: left; /* Выравнивание текста */
}

.responsive-table td, .responsive-table th {
    border: 1px solid #ddd; /* Легкие границы для читаемости */
    padding: 8px; /* Отступы внутри ячеек */
    word-wrap: break-word; /* Перенос длинного текста */
}

.responsive-table img {
    max-width: 100%; /* Изображение адаптируется под ширину ячейки */
    height: auto; /* Сохраняем пропорции изображения */
}
@media screen and (max-width: 768px) {
    .responsive-table {
        font-size: 14px; /* Уменьшаем текст на мобильных */
    }

    .responsive-table td {
        display: block; /* Преобразуем таблицу в блочные элементы */
        width: 100%; /* Ячейки занимают всю ширину */
        text-align: center; /* Выравнивание текста по центру */
    }

    .responsive-table td img {
        margin: 0 auto; /* Центрируем изображение */
    }
}
  
  thead tr {
    display: none;
  }
  
  tbody tr {
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  tbody td {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    text-align: left;
  }

  tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #4a90e2;
    flex: 1;
    padding-right: 10px;
    text-transform: uppercase;
  }
}

    .search-container {

      display: flex;

      align-items: center;

      background-color: #fff;

      border-radius: 50px;

      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

      overflow: hidden;

      width: 100%;

      max-width: 500px;

    }

    /* Стиль поля ввода */

    .search-input {

      flex: 1;

      padding: 14px 20px;

      font-size: 16px;

      border: none;

      outline: none;

    }

    /* Стиль кнопки */
    
.search-button {

      padding: 14px 24px;

      font-size: 16px;

      font-weight: bold;

      color: #fff;

      background-color: #E91E63;

      border: none;

      cursor: pointer;

      transition: background-color 0.3s ease;

      border-radius: 0 50px 50px 0;

    }


    .search-button:hover {

      background-color: #C2185B;

    }

    .search-container2 {

      display: flex;

      align-items: center;

      background-color: #fff;

      border-radius: 10px;

      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

      overflow: hidden;

      width: 100%;

      max-width: 500px;

    }



.search-form2 {
      display: flex;
      flex-direction: column;
      gap: 15px;
      max-width: 500px;
      width: 100%;
      padding: 20px;
      background-color: #ffffff;
      border-radius: 12px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }
  
.select-gradient {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border: none;
    border-radius: 8px;
    appearance: none;
    outline: none;
    transition: box-shadow 0.3s ease;
  }
  .select-gradient:focus {
    box-shadow: 0 0 5px rgba(53, 122, 189, 0.5);
  }

  .select-bordered {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    border: 2px solid #4a90e2;
    border-radius: 8px;
    appearance: none;
    outline: none;
    transition: box-shadow 0.3s ease;
  }
  .select-bordered:focus {
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
  }

  .select-transparent {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    border-radius: 4px;
    appearance: none;
    outline: none;
    transition: background 0.3s ease;
  }
  .select-transparent:hover {
    background: rgba(255, 255, 255, 0.9);
  }

    /* Контейнер для select элементов */
    .select-group {
      display: flex;
      gap: 15px;
      margin-bottom: 20px; /* Отступ снизу для кнопки */
    }

    /* Стили для select */
    .search-form select {
      flex: 1; /* Растягивает select на равные части */
      padding: 10px;
      font-size: 16px;
      border: 1px solid #dcdcdc;
      border-radius: 8px;
      outline: none;
      transition: border-color 0.3s ease;
    }

    .search-button2 {

      padding: 12px;

      font-size: 16px;

      font-weight: bold;

      color: #fff;

      background-color: #E91E63;
      border: none;

      cursor: pointer;

      border-radius: 5px;

      transition: background-color 0.3s ease, box-shadow 0.3s ease;

      text-align: center;

    }

    .search-button2:hover {

      background-color: #C2185B;

      box-shadow: 0 4px 10px rgba(53, 122, 189, 0.3);

    }

    

    .search-button:active {

      transform: scale(0.98);

    }

/* Основной стиль ссылки */
a.stylish-link {
    color: #E91E63; /* Цвет текста (синий) */
    text-decoration: none; /* Убираем стандартное подчеркивание */
    font-weight: 600; /* Полужирный шрифт для выделения */
    transition: color 0.3s ease, text-decoration 0.3s ease; /* Плавный переход для цвета и подчеркивания */
    border-bottom: 2px solid transparent; /* Нижняя граница, создающая эффект подчеркивания */
}

a.stylish-link:hover {
    color: #C2185B; /* Меняем цвет на зеленоватый при наведении */
    border-bottom: 2px solid #C2185B; /* Появляется зеленоватое подчеркивание */
   
}

/* Для устройств с сенсорными экранами */
a.stylish-link:active {
    color: #C2185B; /* Цвет изменяется на красный при нажатии */
}