/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* Form Container */
.form-container {
  background: #1e293b;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 420px;
  animation: fadeIn 0.6s ease-in-out;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #38bdf8;
  letter-spacing: 1px;
  font-size: 22px;
}

/* Labels */
label {
  display: block;
  margin-top: 15px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: bold;
  color: #e2e8f0;
}

/* Inputs and Selects */
input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 14px;
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #38bdf8;
  outline: none;
  background: #1e293b;
}

/* Textarea */
textarea {
  resize: none;
  min-height: 80px;
}

/* Button */
button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0891b2, #2563eb);
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-container {
    padding: 20px;
    max-width: 100%;
  }

  .form-container h2 {
    font-size: 20px;
  }

  input,
  select,
  textarea {
    font-size: 13px;
    padding: 9px 10px;
  }

  button {
    font-size: 15px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .form-container {
    padding: 15px;
    border-radius: 10px;
  }

  .form-container h2 {
    font-size: 18px;
  }

  label {
    font-size: 13px;
  }

  input,
  select,
  textarea {
    font-size: 12px;
    padding: 8px 9px;
  }

  button {
    font-size: 14px;
    padding: 9px;
  }
}
