/* ================================
   STORYAMIGOS REGISTRATION PAGE
   ================================ */

:root {
  --sa-yellow: #FFC32B;
  --sa-yellow-dark: #E0A800;
  --sa-black: #0B0B0B;
  --sa-dark: #111111;
  --sa-white: #000000;
  --sa-soft-white: #F5F5F5;
  --sa-gray: #111111;
  --sa-overlay: rgba(0,0,0,0.65);
}

/* -------- PAGE BACKGROUND -------- */


.sa-register-page {
  min-height: 100vh;
  background:
    linear-gradient(var(--sa-overlay), var(--sa-overlay)),
    url("/wp-content/uploads/storyamigos-bg.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

/* -------- CARD -------- */

#car-register-form {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(145deg, #f7dc98, #050505);
  padding: 42px;
  border-radius: 22px;
  box-shadow:
    0 25px 60px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(0,195,43,0.08);
  display: grid;
  gap: 16px;
  backdrop-filter: blur(6px);
  position: relative;
}

/* -------- LOGO STRIP -------- */

#car-register-form::before {
  content: "STORYAMIGOS";
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sa-yellow);
  color: var(--sa-black);
  font-weight: 900;
  padding: 14px 26px;
  border-radius: 14px;
  letter-spacing: 1px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

/* -------- TITLE -------- */

#car-register-form h2 {
  text-align: center;
  font-size: 28px;
  margin-top: 18px;
  margin-bottom: 10px;
  font-weight: 800;
}

/* -------- INPUTS -------- */

#car-register-form input {
  background: #ede0bb;
  color: BLACK;
  border: none;
  outline: none;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  box-shadow: inset 0 0 0 1px #1c1c1c;
  transition: 0.25s ease;
}

#car-register-form input::placeholder {
  color: #8b8b8b;
}

#car-register-form input:focus {
  box-shadow:
    0 0 0 2px rgba(255,195,43,0.4),
    inset 0 0 0 1px var(--sa-yellow);
  background: #ede0bb;
}

/* -------- BUTTON -------- */

#car-register-form button {
  margin-top: 8px;
  background: linear-gradient(135deg, #FFD54A, #FFB700);
  color: #0b0b0b;
  border: none;
  padding: 15px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0,0,0,0.6);
  transition: 0.3s ease;
}

#car-register-form button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 40px rgba(0,0,0,0.8);
}

#car-register-form button:active {
  transform: scale(0.98);
}

/* -------- MESSAGE -------- */

.car-message {
  text-align: center;
  font-weight: 700;
  margin-top: 6px;
  font-size: 14px;
}

/* -------- LINKS -------- */

.sa-register-links {
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
}

.sa-register-links a {
  color: var(--sa-yellow);
  font-weight: 600;
}

.sa-register-links a:hover {
  color: white;
}

/* -------- MOBILE -------- */

@media (max-width: 520px) {
  #car-register-form {
    padding: 30px 22px;
  }

  #car-register-form h2 {
    font-size: 24px;
  }
}

.show-password {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--sa-soft-white);
    margin-top: 6px;
    cursor: pointer;
}

.show-password input[type="checkbox"] {
    margin-right: 8px;
    accent-color: var(--sa-yellow);
}
