@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 400px;
  text-align: center;
  animation: fadeIn 1s ease;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

input, select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

::placeholder {
  color: #ddd;
}

button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(to right, #00d2ff, #3a47d5);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 210, 255, 0.6);
}

button.outline {
  background: transparent;
  border: 2px solid #00d2ff;
}

.status-area {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #ffe;
}

.status-box {
  background: rgba(0,0,0,0.4);
  padding: 10px;
  border-radius: 12px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.4;
  border-left: 4px solid #00d2ff;
}

.success { color: #6aff90; }
.error { color: #ff5c5c; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 500px) {
  .container {
    padding: 30px 20px;
  }
}

.form-toggle {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #ddd;
}
.form-toggle span {
  color: #00d2ff;
  cursor: pointer;
  font-weight: 600;
}
.form-toggle span:hover {
  text-decoration: underline;
}

