/* ===== 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, #43e97b, #38f9d7);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== Card Styling ===== */
.card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 12px;
  width: 100%;
  max-width: 380px;
  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: 24px;
}

/* ===== 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: #43e97b;
  box-shadow: 0px 0px 5px rgba(67,233,123,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: #43e97b;
  color: #fff;
}

.btn-green:hover {
  background: #38f9d7;
}

/* ===== Link Styling ===== */
.card a {
  display: inline-block;
  margin-top: 15px;
  text-decoration: none;
  font-size: 14px;
  color: #43e97b;
  transition: 0.3s;
}

.card a:hover {
  color: #38f9d7;
  text-decoration: underline;
}

/* ===== Error / Success 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); }
}
