/* /css/pages/register.css
   Scoped styles for Register page only
   Works even if body doesn't get a unique class.
*/

/* Keep the card from hugging the left side */
.register-wrap {
  display: flex;
  justify-content: center;
  padding: 1rem 0 2rem;
}

/* The actual form card */
.register-card {
  width: min(520px, 100%);
  background: rgba(27, 14, 40, 0.92);
  border: 1px solid rgba(214, 171, 255, 0.55);
  border-radius: 16px;
  box-shadow:
    0 12px 28px rgba(0,0,0,0.55),
    0 0 22px rgba(190,140,255,0.45);
  overflow: hidden;
}

/* Card padding */
.register-card .card-body {
  padding: 1.6rem 1.6rem 1.4rem;
}

/* Labels match the vibe */
.register-card .form-label {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #f3dcff;
  margin-bottom: 0.35rem;
}

/* FORCE inputs to behave like modern full-width controls
   (prevents global input CSS from shrinking them) */
.register-card input.form-control {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;

  border-radius: 999px;
  border: 1px solid rgba(214,171,255,0.55);
  background: rgba(255, 252, 240, 0.96);
  color: #2b163b;

  padding: 0.70rem 0.95rem;
  line-height: 1.2;
}

.register-card input.form-control:focus {
  outline: none;
  border-color: rgba(255, 228, 145, 0.95);
  box-shadow: 0 0 0 0.2rem rgba(255, 228, 145, 0.20);
}

/* Button styled to match your gold theme */
.register-card .btn-primary {
  width: 100% !important;
  border-radius: 999px;
  border: 1px solid rgba(233,195,120,0.95);
  background: linear-gradient(to bottom, #fbe4b3, #d8b36b);
  color: #3c2210;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.55),
    0 0 12px rgba(224,188,115,0.75);
}

.register-card .btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(to bottom, #ffeaba, #deb873);
  box-shadow:
    0 7px 16px rgba(0,0,0,0.65),
    0 0 16px rgba(255,228,145,0.85);
}

/* Links under the form */
.register-card .register-footer {
  margin-top: 0.9rem;
  text-align: center;
  font-family: 'Crimson Pro', serif;
  color: rgba(255,255,255,0.75);
}

.register-card .register-footer a {
  color: #ffeaba;
  text-decoration: none;
}

.register-card .register-footer a:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* Alerts look better on dark card */
.register-alert {
  width: min(520px, 100%);
  margin: 0 auto 1rem;
}

/* Small screens: reduce padding */
@media (max-width: 520px){
  .register-card .card-body{
    padding: 1.25rem 1.1rem 1.1rem;
  }
}
.register-card .btn-primary{
  display:block;
}