/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  --card-bg: rgba(255,255,255,0.14);
  --card-border: rgba(255,255,255,0.35);
  --text: #ffffff;
  --muted: rgba(255,255,255,0.75);
  --shadow: 0 10px 40px rgba(0,0,0,0.35);
  --radius: 20px;
  --gradient: linear-gradient(135deg, #0a5133, #49eda6);
  --gradient-hover: linear-gradient(135deg, #4ba27c, #4ba27c);
}

/* Background */
html, body { height: 100%; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 15px;              /* match login baseline */
  color: var(--text);
  overflow: hidden;
}
.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.30)),
    url('trynga.png') center/cover no-repeat;
  filter: blur(4px);
  z-index: -2;
}

/* Split layout */
.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 5%;
}
.hero-section { flex: 1; max-width: 50%; }
.container { flex: 1; display: flex; justify-content: flex-end; }

/* Hero text (mirror login) */
.hero-title {
  font-size: 5rem;              /* was 2.6rem — match login */
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 14px;          /* match login spacing */
  letter-spacing: 1px;
}
.hero-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-tagline {
  font-size: 1.1rem;            /* match login */
  font-weight: 400;
  color: var(--muted);
  margin-bottom: 20px;
}

/* Glass card */
.form-container.glass {
  width: min(92vw, 500px);
  padding: 40px 32px;
  border-radius: var(--radius);
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  text-align: center;
}
.logo img { max-width: 90px; height: auto; margin-bottom: 14px; }

/* Heading in card – close to login .title */
h2 {
  font-weight: 600;
  letter-spacing: .2px;
  margin: 6px 0 18px;
}

/* Role group */
.role-group {
  background: rgba(255,255,255,0.08);
  border: 1px dashed rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 14px;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.role-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  background: rgba(255,255,255,0.1);
  transition: background .18s, border-color .18s;
}
.role-option:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(73,237,166,0.5);
}
.role-option input { accent-color: #49eda6; }
.role-option span { font-weight: 600; color: #fff; }

/* Admin access */
.admin-access { text-align: left; margin-bottom: 10px; }
.admin-access.hidden { display: none; }
label {
  display: block;
  font-size: 14px;
  font-weight: 600;             /* match login label weight */
  color: var(--muted);
  margin: 4px 0 6px;
}

/* Password field */
.password-field { position: relative; display: flex; align-items: center; }
.password-field input {
  width: 100%; height: 44px;
  padding: 12px 42px 12px 14px;
  font-size: 15px;              /* match login inputs */
  border: none;
  border-radius: 12px;
  background: rgba(255,255,255,0.92);
  color: #222;
}
.toggle-password {
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border: none; background: transparent;
  color: #757575; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.toggle-password i { pointer-events: none; }

/* Error */
.error-text {
  color: #d11a1a;
  font-size: 13px;
  min-height: 1.1em;
  margin-top: 6px;
}

/* Submit button (mirror login’s size + glow) */
.btn-gradient {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-size: 17px;              /* match login button */
  font-weight: 600;             /* match login button */
  cursor: pointer;
  margin-top: 12px;             /* match login spacing */
  transition: background .2s, transform .06s ease, box-shadow .2s ease;
  box-shadow: 0 8px 18px rgba(118, 75, 162, 0.35); /* same glow as login */
}
.btn-gradient:hover { background: var(--gradient-hover); }
.btn-gradient:active { transform: translateY(1px); }

.hint { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Responsive */
@media (max-width: 980px){
  .hero-section{ display: none; }
  .container{ justify-content: center; }
}
/* Back button style */
.btn-back {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--card-border);
  transition: background 0.2s, color 0.2s;
}

.btn-back:hover {
  background: var(--gradient);
  color: #fff;
}
