/* ===================================================
   SIGNUP.CSS — GameBoard Store
   Consistent visual design with LOGIN.CSS
   =================================================== */

:root {
  --primary: #ff7b00;
  --primary-dark: #e56b00;
  --bg-light: #fff7ef;
  --text-dark: #222;
  --text-light: #666;
  --radius: 12px;
  --shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Base */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #ff7b00, #ffb84d);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Auth Container */
.auth-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px;
}

.auth-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 3rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  animation: fadeIn 0.6s ease-in;
}

/* Header */
.auth-header h1 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.auth-header p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 123, 0, 0.2);
  outline: none;
}

/* Password toggle */
.password-wrap {
  position: relative;
}

.toggle-eye {
  position: absolute;
  right: 12px;
  top: 42px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-light);
  user-select: none;
  transition: color 0.2s ease;
}

.toggle-eye:hover {
  color: var(--primary-dark);
}

/* Button */
.btn-primary {
  width: 100%;
  background: var(--primary);
  border: none;
  padding: 0.9rem;
  color: #fff;
  font-size: 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* Message Box */
.auth-message {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

.auth-message.success {
  color: #2ecc71;
}

.auth-message.error {
  color: #e74c3c;
}

.hidden {
  display: none;
}

/* Footer */
.auth-footer {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

.auth-footer a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .auth-card {
    padding: 1.8rem;
  }
}
