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

body {
  background-color: #f9fafb;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 16px;
}

.container {
  background-color: #fff;
  width: 100%;
  max-width: 420px;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  animation: fadeIn 0.6s ease;
}

/* Heading */
.container h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #1f2937;
  text-align: center;
}

/* Label */
label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #374151;
  display: block;
  margin-bottom: 6px;
}

/* Input */
input[type="email"],
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background-color: #fff;
  font-size: 1rem;
  color: #111827;
  transition: border 0.3s ease;
}

input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Button */
button {
  width: 100%;
  padding: 12px 0;
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 6px;
}

button:hover {
  background-color: #1e40af;
}

/* Message */
#message {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #dc2626;
  text-align: center;
}

/* Sections */
#codeSection {
  display: none;
}

/* Animations */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Media Queries */
@media (max-width: 480px) {
  .container {
    padding: 30px 20px;
  }

  .container h2 {
    font-size: 1.4rem;
  }

  button {
    font-size: 0.95rem;
  }

  input {
    font-size: 0.95rem;
  }
}
