/* ===== SIGNUP PAGE — TUKIO PRO ===== */

/* ---------- Layout ---------- */
body {
  background: #fffdf5;
  margin: 0;
  min-height: 100vh;
}
.signup-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ---------- Side panel (desktop) ---------- */
.signup-side {
  display: none;
  width: 440px;
  min-width: 380px;
  background: linear-gradient(160deg, #1a1a0f 0%, #2a2510 50%, #1a1a0f 100%);
  position: relative;
  overflow: hidden;
  height: 100vh;
  position: sticky;
  top: 0;
}
.signup-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(188, 164, 2, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(188, 164, 2, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.signup-side::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(188, 164, 2, 0.06);
  filter: blur(40px);
}
.side-content {
  position: relative;
  z-index: 1;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  box-sizing: border-box;
}
.side-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  margin-bottom: 3rem;
}
.side-logo img {
  height: 40px;
  width: auto;
}
.side-logo span {
  font-family: "Posterama", "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.side-logo em {
  font-style: normal;
  color: #bca402;
}
.side-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.side-title span {
  color: #bca402;
}
.side-desc {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.side-stats {
  display: flex;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(188, 164, 2, 0.2);
}
.side-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.side-stat strong {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: #bca402;
}
.side-stat span {
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Form panel ---------- */
.signup-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}
.signup-container {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(188, 164, 2, 0.1);
}

/* ---------- Mobile logo ---------- */
.signup-logo-mobile {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  margin-bottom: 2rem;
}
.signup-logo-mobile img {
  height: 40px;
  width: auto;
}
.signup-logo-mobile span {
  font-family: "Posterama", "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #1a1a0f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.signup-logo-mobile em {
  font-style: normal;
  color: #bca402;
}

/* ---------- Header ---------- */
.signup-header {
  text-align: left;
  margin-bottom: 1.75rem;
}
.signup-title-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.625rem;
  color: #bca402;
  margin-bottom: 0.5rem;
}
.signup-subtitle {
  font-size: 0.875rem;
  color: #777;
}

/* ---------- Form controls ---------- */
.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #666;
  background: #fff;
  padding: 0 0.35rem;
  position: absolute;
  top: -0.45rem;
  left: 0.85rem;
  z-index: 1;
}
.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #aaa;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9375rem;
  color: #1a1a0f;
  background: transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.form-control:focus {
  outline: none;
  border-color: #bca402;
  box-shadow: 0 0 0 3px rgba(188, 164, 2, 0.1);
}
.form-control.error {
  border-color: #e05050;
}

/* ---------- Password toggle ---------- */
.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #444;
  padding: 0;
  display: flex;
}
.password-toggle:hover {
  color: #1a1a0f;
}

/* ---------- Error message ---------- */
.form-error {
  background: rgba(224, 80, 80, 0.08);
  border: 1px solid rgba(224, 80, 80, 0.25);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  color: #c43030;
  font-weight: 500;
}

/* ---------- Submit button ---------- */
.btn-submit {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, #bca402 0%, #d4b800 100%);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-submit:hover {
  background: linear-gradient(135deg, #a89200 0%, #bca402 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(188, 164, 2, 0.3);
}
.btn-submit:active {
  transform: translateY(0);
}
.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---------- Login prompt ---------- */
.login-prompt {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(188, 164, 2, 0.15);
}
.login-prompt p {
  font-size: 0.875rem;
  color: #777;
  margin-bottom: 0.375rem;
}
.login-link {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #bca402;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.login-link:hover {
  color: #a89200;
  text-decoration: underline;
  transform: translateY(-1px);
}

/* ---------- Back home ---------- */
.back-home {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: #777;
  text-decoration: none;
}
.back-home:hover {
  color: #1a1a0f;
  text-decoration: underline;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* Tablet+ : show side panel */
@media (min-width: 900px) {
  .signup-side {
    display: block;
  }
  .signup-logo-mobile {
    display: none;
  }
  .signup-container {
    box-shadow: none;
    border: none;
    max-width: 440px;
    padding: 3rem 2.5rem;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .signup-side {
    width: 500px;
  }
  .side-content {
    padding: 4rem 3rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .signup-container {
    padding: 2rem 1.25rem;
  }
  .signup-title-text {
    font-size: 1.375rem;
  }
}
