/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* ===== BODY BACKGROUND ===== */
body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;

  /* Soft multicolor gradient */
  background: linear-gradient(135deg, #6a11cb, #2575fc, #ff758c, #ffb199);
  background-size: 200% 200%;
  animation: softGradient 20s ease infinite;
}

@keyframes softGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Subtle overlay for depth */
body::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(20, 20, 40, 0.4);
  z-index: 0;
}

/* ===== LOGIN CARD ===== */
.container {
  width: 430px;
  padding: 50px 40px;
  border-radius: 25px;

  /* Gradient with soft shadow */
  background: linear-gradient(145deg, #ffffff10, #ffffff20);
  backdrop-filter: blur(15px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);

  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

/* ===== LOGO ===== */
.logo {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 30px;
}

/* ===== TAB BUTTONS ===== */
.tab-buttons {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.tab-buttons button {
  flex: 1;
  margin: 0 5px;
  padding: 10px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255,255,255,0.2);
  color: white;
  transition: 0.3s;
}

.tab-buttons button.active {
  background: white;
  color: #6a11cb;
}

/* ===== FORM ===== */
.form {
  display: flex;
  flex-direction: column;
}

.form input {
  margin: 10px 0;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  outline: none;
}

.form input:focus {
  box-shadow: 0 0 0 2px #ffffff50;
}

/* ===== SUBMIT BUTTON ===== */
button[type="submit"] {
  margin-top: 20px;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;

  background: white;
  color: #6a11cb;
  transition: 0.3s;
}

button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* ===== HIDDEN ===== */
.hidden {
  display: none;
}
