* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #fdfaf6;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px 35px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.form-content {
  width: 100%;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid #d4af37;
  padding: 5px;
}

header {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 25px;
  color: #3a3a3a;
}

.field {
  position: relative;
  margin-bottom: 25px;
  width: 100%;
}

.field input {
  width: 100%;
  padding: 14px 45px 14px 40px;
  border: 1px solid #e6d8b3;
  border-radius: 10px;
  background: #fff;
  outline: none;
  font-size: 15px;
  transition: 0.3s;
}

.field input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.field label {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 15px;
  pointer-events: none;
  transition: 0.3s;
  background: #fff;
  padding: 0 5px;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: -0px;
  left: 35px;
  font-size: 13px;
  color: #b59b3d;
}

.icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 20px;
  color: #c1a75b;
}

.eye-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 20px;
  color: #b59b3d;
  transition: 0.3s;
}

.eye-icon:hover {
  color: #d4af37;
}

/* --- Password Rules --- */
.password-rules-box {
  background: #fff8e1;
  border: 1px solid #e6d8b3;
  border-radius: 10px;
  padding: 12px 15px;
  margin-top: -10px;
  margin-bottom: 25px;
}

.password-rules-box p {
  font-weight: 500;
  margin-bottom: 8px;
  color: #3a3a3a;
}

.rules-list li {
  list-style: none;
  margin: 4px 0;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
}

.rules-list li i {
  margin-right: 6px;
  color: red;
  font-size: 18px;
}

.rules-list li.valid i {
  color: green;
}

.button-field button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #d4af37, #f5deb3, #e6be8a);
  color: #3a3a3a;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.button-field button:hover {
  transform: scale(1.05);
}

.signup-link {
  text-align: center;
  margin-top: 15px;
}

.signup-link a {
  text-decoration: none;
  color: #b59b3d;
  font-weight: 500;
}

.signup-link a:hover {
  color: #d4af37;
  text-decoration: underline;
}
