/* Базовые стили и центрирование */
body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0f0f0f;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #f8fafc;
}

/* панелька-контейнер для всех элементов */
.panel {
  background-color: #171717;
  backdrop-filter: blur(12px);
  border: 1px solid #000000;
  border-radius: 8px;
  padding: 36px 28px;
  width: 100%;
  max-width: 360px;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.3),
    0 10px 10px -5px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Главный заголовок сайта */
h1 {
  font-size: 26px;
  font-weight: 700;
  color: #b1b5ba;
  margin: 0 0 6px 0;
  text-align: center;
  letter-spacing: 0.5px;
}

/* Заголовок приветствия */
.hello {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 24px;
  color: #94a3b8;
  text-align: center;
}

/* Контейнер формы */
.input-code {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

/* Поле ввода */
.input-code input[type="text"] {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  background-color: #1e1f20;
  border: 2px solid #1e1f20;
  color: #f8fafc;
  border-radius: 8px;
  outline: none;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-sizing: border-box;
}

.input-code input[type="text"]::placeholder {
  color: #808080;
}

/* Обертка формы */
.entered {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin: 0;
}

/* Красивое позиционирование капчи */
.cf-turnstile {
  display: flex;
  width: 100%;
  border: none !important;
  transform-origin: center;
}

/* Кнопка отправки */
#enter {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #b1b5ba;
  background-color: #1e1f20;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.1s ease;
}

#enter:hover {
  background-color: #0f0f0f;
}

#enter:active {
  transform: scale(0.99);
}
