:root,
html[data-theme="dark"],
html.dark {
  --primary: #8022fe;
  --ink: #000000;
  --void: #0a0a0d;
  --paper: #ffffff;
  --smoke: #edeaf1;
  --smoke-dim: #a49db2;
  --ledger: #241b2e;
  --ledger-light: #332845;
  --ok: #3ddc84;
  --err: #ff6b6b;
  --warn: #e0a83c;
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

html[data-theme="light"],
html.light {
  --primary: #8022fe;
  --ink: #f8f7fb;
  --void: #ffffff;
  --paper: #120e1e;
  --smoke: #241d30;
  --smoke-dim: #6b627d;
  --ledger: #e5e0ee;
  --ledger-light: #d6d0e0;
  --ok: #16a34a;
  --err: #dc2626;
  --warn: #d97706;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
body {
  background: var(--ink);
  color: var(--smoke);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
input,
select {
  font-family: inherit;
}
.hidden {
  display: none !important;
}
.mono {
  font-family: var(--font-mono);
}

.signup-shell {
  display: flex;
  min-height: 100vh;
}

/* ============ LEFT VISUAL PANEL ============ */
.signup-visual {
  display: none;
  position: relative;
  flex: 1;
  background-image: url("../img/tech_summit.webp");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.signup-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 42%,
    rgba(0, 0, 0, 0.88) 100%
  );
}
.signup-visual-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 19px;
  color: var(--paper);
}
.logo .mark {
  height: 34px;
  width: 34px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-image: url("../img/zeva-logo.png");
  flex-shrink: 0;
}
.logo .dot {
  color: var(--primary);
}

.testimonial {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  max-width: 380px;
}
.testimonial p.quote {
  font-size: 14px;
  color: #e7e3ee;
  font-weight: 600;
  line-height: 1.65;
}
.testimonial .attrib {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.testimonial .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ok);
  color: #04150c;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial .attrib .name {
  font-size: 12px;
  font-weight: 700;
  color: var(--paper);
}
.testimonial .attrib .role {
  font-size: 10.5px;
  color: var(--smoke-dim);
  margin-top: 1px;
}

@media (min-width: 1024px) {
  .signup-visual {
    display: flex;
  }
}

/* ============ RIGHT FORM PANEL ============ */
.signup-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--void);
}
.signup-inner {
  width: 100%;
  max-width: 420px;
}
.mobile-logo {
  display: flex;
  margin-bottom: 24px;
}
@media (min-width: 1024px) {
  .mobile-logo {
    display: none;
  }
}

.signup-inner h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--paper);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.signup-inner .lede {
  font-size: 14px;
  color: var(--smoke-dim);
  margin-bottom: 28px;
}

/* google sso */
.google-btn {
  width: 100%;
  background: var(--paper);
  color: #141118;
  font-weight: 800;
  font-size: 14.5px;
  padding: 14px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  transition:
    background 0.15s ease,
    transform 0.1s ease;
}
.google-btn:hover {
  background: #f0eef4;
}
.google-btn:active {
  transform: scale(0.97);
}

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}
.divider .line {
  flex: 1;
  height: 1px;
  background: var(--ledger);
}
.divider span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--smoke-dim);
  text-transform: uppercase;
  white-space: nowrap;
}

/* form fields */
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--smoke-dim);
  margin-bottom: 8px;
}
.field input,
.field select {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--ledger-light);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--paper);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23a49db2' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.field input::placeholder {
  color: #5a5468;
}
.field input:focus,
.field select:focus {
  border-color: var(--primary);
}
.field input[readonly] {
  opacity: 0.7;
  cursor: not-allowed;
}
.field-rel {
  position: relative;
}
.field-icon-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--smoke-dim);
  padding: 2px;
  line-height: 0;
}
.field-icon-btn:hover {
  color: var(--smoke);
}

/* password requirements */
.req-box {
  font-size: 11.5px;
  color: var(--smoke-dim);
  margin-top: 10px;
  background: var(--ink);
  border: 1px solid var(--ledger);
  border-radius: 8px;
  padding: 12px 14px;
}
.req-box p {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 3px 0;
  color: var(--smoke-dim);
}
.req-box .req-mark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ledger-light);
  flex-shrink: 0;
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.req-box p.is-met {
  color: var(--ok);
}
.req-box p.is-met .req-mark {
  background: var(--ok);
  transform: scale(1.3);
}
.req-box p.is-unmet {
  color: var(--err);
}
.req-box p.is-unmet .req-mark {
  background: var(--err);
}

/* feedback messages */
.feedback {
  font-size: 12px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.feedback .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.feedback.is-checking {
  color: var(--smoke-dim);
}
.feedback.is-checking .dot {
  background: var(--smoke-dim);
  animation: pulse-dot 1s ease-in-out infinite;
}
.feedback.is-success {
  color: var(--ok);
}
.feedback.is-success .dot {
  background: var(--ok);
}
.feedback.is-error {
  color: var(--err);
}
.feedback.is-error .dot {
  background: var(--err);
}
.feedback.is-warn {
  color: var(--warn);
}
.feedback.is-warn .dot {
  background: var(--warn);
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* buttons */
.btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14.5px;
  border: 1px solid transparent;
  min-height: 50px;
  transition:
    transform 0.1s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  box-shadow: 0 10px 24px -8px rgba(128, 34, 254, 0.5);
}
.btn-primary:active:not(:disabled) {
  transform: scale(0.98);
}
.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn-text {
  background: none;
  border: none;
  color: var(--smoke-dim);
  font-size: 12.5px;
  font-weight: 700;
  text-align: center;
  display: block;
  width: 100%;
  padding-top: 6px;
}
.btn-text:hover {
  color: var(--paper);
}

/* verified account box */
.verified-box {
  margin-top: 12px;
  background: rgba(61, 220, 132, 0.08);
  border: 1px solid rgba(61, 220, 132, 0.3);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.verified-box .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ok);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.verified-box .vlabel {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ok);
  text-transform: uppercase;
}
.verified-box .vname {
  font-size: 13px;
  color: var(--paper);
  font-weight: 700;
  margin-top: 2px;
}

.spinner {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(128, 34, 254, 0.25);
  border-top-color: var(--primary);
  display: inline-block;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.payout-head h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--paper);
  margin-bottom: 3px;
}
.payout-head p {
  font-size: 12.5px;
  color: var(--smoke-dim);
  margin-bottom: 16px;
}

.foot-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--smoke-dim);
  margin-top: 24px;
}
.foot-note a {
  color: var(--paper);
  font-weight: 700;
}
.foot-note a:hover {
  color: var(--primary);
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
}
.modal-card {
  position: relative;
  z-index: 1;
  background: var(--void);
  border: 1px solid var(--ledger);
  border-radius: 16px;
  padding: 32px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7);
}
.modal-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--paper);
  margin-bottom: 4px;
}
.modal-card > p {
  font-size: 12.5px;
  color: var(--smoke-dim);
  margin-bottom: 22px;
}

@media (max-width: 480px) {
  .signup-form-panel {
    padding: 36px 18px;
  }
  .signup-inner h1 {
    font-size: 25px;
  }
  .modal-card {
    padding: 24px;
  }
}

html[data-theme="light"] .google-btn {
  background: #ffffff;
  color: #120e1e;
  border: 1px solid var(--ledger);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
html[data-theme="light"] .google-btn:hover {
  background: #f4f1f9;
}
html[data-theme="light"] .modal-overlay::before {
  background: rgba(18, 14, 27, 0.5);
}
html[data-theme="light"] .field input::placeholder {
  color: #9b94aa;
}
