        /* Стили для модального окна */
        body {
            background-image: url('/geneolog/image/derevo-fon-stil.jpg');
            background-size: cover;
    background-position: center;
    background-attachment: fixed;
        }

        #enter_box {
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
            text-align: center;
            width: 27%;
            border-radius: 15px;
            background-color: rgba(255, 255, 255, 0.5);
            margin-left: 10%;
            margin-top: 20%;
        }

        #enter_info {
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
            text-align: center;
            width: fit-content;
            border-radius: 15px;
            background-color: rgba(255, 255, 255, 0.5);
        }

        .modal {
            display: none;
            width: 275px;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: white;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0,0,0,0.3);
            z-index: 1000;
            text-align: center;
        }
        .overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 999;
        }
        .modal.active, .overlay.active {
            display: block;
        }

        /* Стиль текстового логин*/
#loginUsername {
  position: relative;
  top: -20px;
  left: 14px;
  z-index: 1;
  width: 230px;
  /* Ширина поля */
  height: 20px;
  /* Высота поля */
  font-size: 16px;
  /* Размер шрифта */
  border-radius: 25px;
  /* Скругление углов */
  border: 1px solid #ccc;
  /* Цвет границы */
  background-color: white;
  /* Фоновый цвет */
  color: black;
  /* Цвет текста */
  margin-left: -0.65rem;
  margin-bottom: 3%;
  text-align: center;
  margin-top: 0.25rem;
}

        /* Стиль текстового поля пароль*/
        #loginPassword {
  position: relative;
  top: -20px;
  left: 14px;
  z-index: 1;
  width: 230px;
  /* Ширина поля */
  height: 20px;
  /* Высота поля */
  font-size: 16px;
  /* Размер шрифта */
  border-radius: 25px;
  /* Скругление углов */
  border: 1px solid #ccc;
  /* Цвет границы */
  background-color: white;
  /* Фоновый цвет */
  color: black;
  /* Цвет текста */
  margin-left: -0.65rem;
  text-align: center;
  margin-top: 0.25rem;
}

        /* Стиль текстового поля логин при регистрации*/
        #regUsername {
            position: relative;
            top: 12px;
            left: 14px;
            z-index: 1;
            width: 230px;
            /* Ширина поля */
            height: 20px;
            /* Высота поля */
            font-size: 16px;
            /* Размер шрифта */
            border-radius: 25px;
            /* Скругление углов */
            border: 1px solid #ccc;
            /* Цвет границы */
            background-color: white;
            /* Фоновый цвет */
            color: black;
            /* Цвет текста */
            margin-left: -0.65rem;
            text-align: center;
            margin-top: 0.25rem;
            margin-bottom: 3%;
          }

        /* Стиль текстового поля пароль при регистрации*/
#regPassword {
  position: relative;
  top: 12px;
  left: 14px;
  z-index: 1;
  width: 230px;
  /* Ширина поля */
  height: 20px;
  /* Высота поля */
  font-size: 16px;
  /* Размер шрифта */
  border-radius: 25px;
  /* Скругление углов */
  border: 1px solid #ccc;
  /* Цвет границы */
  background-color: white;
  /* Фоновый цвет */
  color: black;
  /* Цвет текста */
  margin-left: -0.65rem;
  text-align: center;
  margin-top: 0.25rem;
  margin-bottom: 3%;
}

        /* Стиль текстового поля подтверждение пароля при регистрации*/
        #regConfirmPassword {
            width: 230px;
            /* Ширина поля */
            height: 20px;
            /* Высота поля */
            font-size: 16px;
            /* Размер шрифта */
            border-radius: 25px;
            /* Скругление углов */
            border: 1px solid #ccc;
            /* Цвет границы */
            background-color: white;
            /* Фоновый цвет */
            color: black;
            text-align: center;
          }

#loginUsername:focus, #loginPassword:focus, #regPassword:focus {
  outline: none;
  /* Убираем стандартную рамку браузера */
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  /* Добавляем тень при фокусировке */
  border: 1px solid rgba(81, 203, 238, 1);
  /* Изменяем цвет границы при фокусировке */
}

#info_password {
    cursor: help;
    margin-left: 6%;
    margin-top: 6%;
    padding: 2px;
    font-size: 13px;
}
