/* ===== Reset Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== Body Styling ===== */
body {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== Card Styling ===== */
.card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  width: 100%;
  max-width: 350px;
  text-align: center;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
  animation: fadeIn 0.6s ease-in-out;
}

.card h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 22px;
}

/* ===== Input Styling ===== */
.card input {
  width: 100%;
  padding: 12px;
  margin: 8px 0 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 15px;
  transition: 0.3s;
}

.card input:focus {
  border-color: #4facfe;
  box-shadow: 0px 0px 5px rgba(79,172,254,0.6);
}

/* ===== Button Styling ===== */
.btn {
  display: inline-block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-green {
  background: #4facfe;
  color: #fff;
}

.btn-green:hover {
  background: #00c6ff;
}

/* ===== Link Styling ===== */
.card a {
  display: inline-block;
  margin-top: 15px;
  text-decoration: none;
  font-size: 14px;
  color: #4facfe;
  transition: 0.3s;
}

.card a:hover {
  color: #00c6ff;
  text-decoration: underline;
}

/* ===== Error Message ===== */
.card div[style] {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: bold;
}

/* ===== Animation ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
