/* style.css */

* {
  box-sizing: border-box;
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
}

body {
  background: linear-gradient(135deg, #0b132b, #1c2541);
  color: #e0e0e0;
}

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  justify-content: center;
}

.input,
.button {
  font-size: clamp(1rem, 2vw, 1.6rem);
  padding: 10px 14px;
  border-radius: 8px;
  border: 2px solid #00aaff;
  background: transparent;
  color: #00aaff;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input::placeholder {
  color: #0091cc;
  opacity: 0.7;
}

.input:focus {
  border-color: #00ffff;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

.button {
  background-color: #00aaff;
  color: #fff;
  border-color: #00aaff;
  font-weight: 600;
}

.button:focus {
  box-shadow: 0 0 12px rgba(0, 170, 255, 0.5);
}

.error {
  color: #ff4b4b;
  min-height: 70px;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  text-align: center;
  padding: 10px;
}

.text {
  background: rgba(255, 255, 255, 0.05);
  color: #e8e8e8;
  padding: 30px 25px;
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.7;
  max-width: 900px;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.08);
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
  .form {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .input,
  .button {
    width: 100%;
  }

  .text {
    padding: 20px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 25px 15px;
  }

  .form {
    gap: 10px;
  }

  .error {
    font-size: 1.1rem;
  }

  .text {
    font-size: 1rem;
    padding: 15px;
  }
}
