@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  height: 150vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-behavior: smooth;
}

.form-container {
  background: var(--color-bg-alt);
  margin: 60px auto;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}
 
.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 22px;
  color: var(--color-white);
}

form label {
  display: block;
  margin: 15px 0 6px;
  font-size: 14px;
  color: var(--color-text-muted);
}

form input,
form select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 14px;
  transition: border 0.3s, box-shadow 0.3s;
}

form input:focus,
form select:focus {
  border-color: var(--color-gradient-start);
  outline: none;
}

button[type="submit"] {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: var(--color-success);
  color: var(--color-white);
  font-weight: 600;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.error-box,
.success-box {
  position: relative;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 14px;
}

.error-box {
  background: rgba(248, 81, 73, 0.1);
  border: 1px solid var(--color-danger);
  color: var(--color-danger);
  display: flex;
  justify-content: space-between;
}

.success-box {
  background: rgba(63, 185, 80, 0.1);
  border: 1px solid var(--color-success);
  color: var(--color-success);
  display: flex;
  justify-content: space-between;
}

a {
  color: var(--color-gradient-accent);  
  text-decoration: underline;
}

@media (max-width: 480px) {
  .form-container {
    margin: 30px 20px;
    padding: 20px;
  }
}