/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0d0d0d;
  font-family: "Segoe UI", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #ffd700;
  padding: 20px;
}

.wrapper {
  background: #1a1a1a;
  padding: 40px 35px;
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

/* Heading */
.wrapper h1 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #ffd700;
}

.wrapper span {
  color: #ccc;
  font-size: 15px;
  margin-bottom: 25px;
  display: block;
}

/* Input Box */
.input-box {
  position: relative;
  margin-bottom: 20px;
  text-align: left;
}

.input-box input {
  width: 100%;
  padding: 12px 45px 12px 12px;
  background-color: #333;
  border: 1px solid #555;
  border-radius: 6px;
  color: #ffd700;
  font-size: 15px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.input-box input::placeholder {
  color: #ffd700;
  opacity: 0.7;
  transition: color 0.3s ease;
}

.input-box input:focus {
  border: 1px solid #ffd700;
  outline: none;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

/* Icons inside inputs */
.input-box i {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  color: #ffd700;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.input-box i:hover {
  color: #e6c200;
}

/* Toggle password eye icon - moved left of the main icon */
.input-box .toggle-password {
  right: 40px;
}

/* Register Button */
.btn {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #ffd700;
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  margin: 25px 0 15px;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background-color: #e6c200;
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Login link below */
.register-link {
  font-size: 14px;
  color: #bbb;
}

.register-link a {
  color: #ffd700 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.register-link a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.back-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000;
  color: #ffd700;
  border: 2px solid #ffd700;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
}
.back-btn:hover {
  background-color: #ffd700;
  color: #000;
}


/* Responsive for smaller devices */
@media (max-width: 480px) {
  .wrapper {
    padding: 30px 20px;
  }
}
