html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to bottom, #cfdaf6, #c3e4f7 60%, #ffffff);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Небо, веселка, туман */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.rainbow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 200%;
  border-radius: 50%;
  background: conic-gradient(
    rgba(255, 0, 0, 0.25),
    rgba(255, 165, 0, 0.25),
    rgba(255, 255, 0, 0.25),
    rgba(0, 128, 0, 0.25),
    rgba(0, 0, 255, 0.25),
    rgba(75, 0, 130, 0.25),
    rgba(238, 130, 238, 0.25)
  );
  filter: blur(200px);
  opacity: 0.6;
}

.fog {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 45vh;
  background: radial-gradient(ellipse at bottom, rgba(255,255,255,0.8), transparent 70%);
  filter: blur(35px);
  opacity: 0.6;
}

/* Форма */
form {
  background: rgba(255,255,255,0.95);
  padding: 40px;
  border-radius: 12px;
  max-width: 600px;
  margin: 100px auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}

label {
  display: block;
  font-weight: 600;
  margin-top: 13px;
}

input, button {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
  margin-top: 5px;
  box-sizing: border-box;
}





.radio-group {
  display: flex;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
}


.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
  margin: 0;
  font-weight: normal;
}

.radio-group input[type="radio"] {
  width: auto;
  margin: 0;
}

.radio-group input[type="text"] {
  margin: 0;
}

input[type="checkbox"], input[type="radio"] {
  transform: scale(1.2);
  accent-color: #007bff;
}

/* ____________________________ */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* ____________________________ */

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.checkbox-group input[type="checkbox"] {
  display: flex;
  width: auto;
  margin: 10px 20px;
  transform: scale(1.2);
}

/* ____________________________ */




textarea {
  width: 100%;
  padding: 10px;
  resize: none;
  overflow: hidden;
  max-height: 300px;  
  transition: height 0.2s ease;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
  margin-top: 5px;
  box-sizing: border-box;
}



input:focus, textarea:focus {
  border-color: #007bff;
  outline: none;
}

button {
  margin-top: 20px;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  opacity: 0.6;
  transition: 0.3s;
}

button.enabled {
  opacity: 1;
}

/* ____________________________ */
/* Підказки */

.input-wrap {
  position: relative;
}

.suggestions {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  z-index: 50;
  width: 100%;
  left: 0;
  top: calc(100% + 2px);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  max-height: 200px;
  overflow-y: auto;
}

.suggestions div {
  padding: 8px 10px;
  cursor: pointer;
}

.suggestions div:hover {
  background: #f0f0f0;
}

.hidden {
  display: none;
}
/* ____________________________ */