/* ===== RESET ===== */
* {
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(120deg, #ff6a00, #ee0979, #6a11cb);
  background-size: 300% 300%;
  animation: bgMove 12s ease infinite;
  color: #fff;
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== CONTAINER ===== */
.container {
  width: 92%;
  max-width: 420px;
  background: #111;
  border-radius: 28px;
  padding: 2.2rem;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    inset 0 0 0 2px rgba(255,255,255,0.05);
  transform: scale(0.96);
  transition: all 0.45s cubic-bezier(.4,0,.2,1);
}

/* Animation states */
.show {
  display: block !important;
  opacity: 1;
  transform: scale(1);
}

.hide {
  display: none !important;
  opacity: 0;
  transform: scale(0.9);
}

/* ===== PROFILE ===== */
.profile-pic {
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.profile-pic img {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  box-shadow: 0 0 25px rgba(255,106,0,0.7);
}

/* ===== HEADER ===== */
.header-container {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-title {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ===== INPUTS ===== */
.input-group {
  position: relative;
  margin-bottom: 1.3rem;
}

.input-group i {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  opacity: 0.7;
}

.input-group input {
  width: 100%;
  padding: 14px 14px 14px 44px;
  border-radius: 16px;
  border: none;
  outline: none;
  background: #1c1c1c;
  color: #fff;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.input-group input:focus {
  background: #222;
  box-shadow: 0 0 0 2px #ff6a00;
}

.input-group label {
  display: none;
}

/* ===== BUTTON ===== */
.btn {
  width: 100%;
  padding: 14px;
  margin-top: 0.5rem;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.18em;
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(238,9,121,0.6);
}

.btn:active {
  transform: scale(0.97);
}

/* ===== LINKS ===== */
.links {
  margin-top: 1.4rem;
  text-align: center;
}

.links p {
  font-size: 0.85rem;
  opacity: 0.75;
}

.links button {
  margin-top: 0.4rem;
  background: none;
  border: none;
  color: #ff6a00;
  font-weight: 700;
  cursor: pointer;
}

/* ===== MESSAGE ===== */
.messageDiv {
  min-height: 1.2rem;
  text-align: center;
  font-size: 0.8rem;
}

/* ===== MOBILE ===== */
@media (max-width: 420px) {
  .container {
    padding: 1.8rem;
  }
}
