/* Общие стили для тёмной темы */
body {
    background-color: #121212;
    color: #f1f1f1;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    position: relative;
  }
  
  /* Контейнер для частиц (на весь экран) */
  #particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
  }
  
  /* Центрированный блок */
  .container {
    position: relative;
    z-index: 1;
    background-color: rgba(30, 30, 30, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
  }

  /* Minimal modal styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
  }
  .modal-content {
    background-color: #1e1e1e;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    text-align: center;
    border-radius: 10px;
    color: #f1f1f1;
  }
  .close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }
  .close-btn:hover, .close-btn:focus {
    color: #fff;
    text-decoration: none;
  }
  .error-message {
    color: red;
    font-weight: bold;
  }
  .modal-buttons {
    margin-top: 20px;
  }
  .modal-buttons button {
    margin: 0 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  /* Картинка по центру */
  .container img {
    max-width: 50%;
    margin-bottom: 20px;
  }
  
  /* Стилизация формы */
  form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  form label {
    margin-top: 10px;
    width: 100%;
    text-align: left;
  }
  
  /* Поля для ввода email и выбора даты - одинаковые размеры */
  .email-input,
  .date-select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
  }
  
  /* Стилизация кнопки */
  form button {
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #3a3a3a;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
  }
  
  form button:hover {
    background-color: #555;
  }
  
  /* Стилизация ссылок */
  a {
    color: #03a9f4;
    text-decoration: none;
    margin-top: 15px;
    display: inline-block;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  /* Стилизация списка сообщений */
  ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
  }
  
  ul li {
    margin: 5px 0;
  }
  
@media(max-width: 725px){
  .container{
    position: absolute;top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 70%;
  }
}
