
.cam-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7);
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    padding: 16px;
  }
  .cam-modal {
    width: 100%; max-width: 520px; max-height: 92vh;
    background: #2a2440; color: #fff;
    border-radius: 14px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex; flex-direction: column;
  }
  .cam-head {
    display: flex; align-items: center; justify-content: center;
    padding: 22px 20px 18px; position: relative; flex-shrink: 0;
  }
  .cam-title { font-size: 18px; font-weight: 700; letter-spacing: 0.01em; }
  .cam-close {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    background: transparent; border: 0; color: #fff; cursor: pointer;
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; line-height: 1;
  }
  .cam-close:hover { background: rgba(255,255,255,0.08); }
  .cam-tabs { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 0 20px; flex-shrink: 0; }
  .cam-tab { height: 4px; background: rgba(255,255,255,0.12); border-radius: 2px; margin: 0 3px; }
  .cam-tab--active { background: #f5b417; }

  .cam-scroll { overflow-y: auto; flex: 1; }

  .cam-body { padding: 24px 20px 20px; }
  .cam-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .cam-row--phone { grid-template-columns: 140px 1fr; }
  .cam-field { margin-bottom: 14px; position: relative; }
  .cam-input {
    width: 100%; height: 52px; padding: 0 16px;
    background: #3d345a; border: 1px solid transparent;
    border-radius: 8px; color: #fff; font-size: 14px;
    outline: none; appearance: none;
    font-family: inherit;
  }
  .cam-input::placeholder { color: rgba(255,255,255,0.55); }
  .cam-input:focus { border-color: #f5b417; }
  .cam-input--pwd { padding-right: 48px; }
  .cam-select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='white' opacity='.7' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
  }
  .cam-select--filled { background-color: #ecf0fb; color: #1a1530; }
  .cam-select--filled option { color: #1a1530; }
  .cam-select--success { border-color: #2bc46f; }

  .cam-eye {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: transparent; border: 0; color: rgba(255,255,255,0.7);
    cursor: pointer; padding: 6px; font-size: 18px;
  }
  .cam-reqs {
    background: #3d345a; border-radius: 8px; padding: 14px 16px;
    margin-bottom: 18px; font-size: 13px;
  }
  .cam-reqs-title { font-weight: 700; margin-bottom: 6px; }
  .cam-reqs ul { margin: 0; padding-left: 18px; line-height: 1.7; color: rgba(255,255,255,0.85); }

  .cam-extra-toggle {
    display: block; width: 100%; text-align: center;
    background: transparent; border: 0; color: #f5b417;
    font-weight: 700; font-size: 14px; cursor: pointer;
    padding: 14px 0 8px;
  }
  .cam-caret { display: inline-block; transition: transform .2s; margin-left: 4px; }
  .cam-caret--open { transform: rotate(180deg); }
  .cam-extra { padding-top: 4px; }

  .cam-checks { display: flex; flex-direction: column; gap: 12px; margin: 14px 0 18px; }
  .cam-check {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 13px; line-height: 1.45; color: rgba(255,255,255,0.85);
    cursor: pointer;
  }
  .cam-check input {
    appearance: none; -webkit-appearance: none;
    width: 18px; height: 18px; border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.35); background: transparent;
    flex-shrink: 0; margin-top: 2px; cursor: pointer; position: relative;
  }
  .cam-check input:checked { background: #f5b417; border-color: #f5b417; }
  .cam-check input:checked::after {
    content: "✓"; position: absolute; inset: 0;
    color: #1a1530; font-weight: 800; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
  }

  .cam-actions { display: flex; gap: 10px; margin-top: 6px; }
  .cam-back {
    height: 54px; padding: 0 22px;
    background: transparent; border: 1px solid rgba(255,255,255,0.25);
    color: #fff; font-weight: 700; font-size: 13px;
    border-radius: 8px; cursor: pointer; text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .cam-back:hover { background: rgba(255,255,255,0.06); }
  .cam-submit {
    width: 100%; height: 54px; border: 0;
    background: #f5b417; color: #1a1530;
    font-weight: 800; font-size: 14px; letter-spacing: 0.06em;
    border-radius: 8px; cursor: pointer; text-transform: uppercase;
  }
  .cam-submit:hover:not(:disabled) { background: #e0a40d; }
  .cam-submit:disabled { opacity: 0.5; cursor: not-allowed; }
  .cam-submit--grow { flex: 1; width: auto; }

  /* OTP */
  .cam-otp-lead { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.5; margin: 0 0 22px; text-align: center; }
  .cam-otp { display: flex; gap: 10px; justify-content: center; margin-bottom: 18px; }
  .cam-otp-box {
    width: 52px; height: 60px;
    background: #3d345a; border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px; color: #fff;
    font-size: 24px; font-weight: 700; text-align: center;
    outline: none;
  }
  .cam-otp-box:focus { border-color: #f5b417; }
  .cam-resend {
    display: block; margin: 0 auto 22px;
    background: transparent; border: 0; color: #f5b417;
    font-size: 13px; font-weight: 600; cursor: pointer;
    text-decoration: underline;
  }

  .cam-foot {
    display: flex; align-items: center; justify-content: center; gap: 18px;
    padding: 16px 20px 22px; font-size: 12px; color: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(255,255,255,0.06); flex-shrink: 0;
  }
  .cam-foot a { color: rgba(255,255,255,0.85); text-decoration: underline; }

  @media (max-width: 520px) {
    .cam-row { grid-template-columns: 1fr; }
    .cam-row--phone { grid-template-columns: 130px 1fr; }
    .cam-otp-box { width: 44px; height: 54px; font-size: 20px; }
    .cam-otp { gap: 6px; }
  }
  .lm-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000; padding: 16px;
}
.lm-modal {
  background: #1a1825;
  border-radius: 8px;
  width: 100%; max-width: 420px;
  color: #fff;
  display: flex; flex-direction: column;
  max-height: 95vh;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lm-head {
  display: flex; align-items: center; justify-content: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.lm-title { font-size: 18px; font-weight: 700; }
.lm-close {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  background: transparent; border: none; color: #fff;
  font-size: 18px; cursor: pointer; opacity: 0.8;
}
.lm-close:hover { opacity: 1; }

.lm-body { padding: 22px 24px 20px; }
.lm-welcome {
  text-align: center; font-size: 14px;
  margin: 0 0 20px; color: #e6e6ee;
}

.lm-field {
  position: relative;
  background: #2a2440;
  border-radius: 6px;
  margin-bottom: 14px;
}
.lm-field--email { border: 1.5px solid #f5b417; }
.lm-field--pass { border: 1.5px solid #4ad17a; }
.lm-field input {
  width: 100%;
  background: transparent;
  border: none; outline: none;
  color: #fff;
  padding: 14px 44px 14px 14px;
  font-size: 14px;
  border-radius: 6px;
}
.lm-field input::placeholder { color: rgba(255,255,255,0.55); }
.lm-eye {
  position: absolute; right: 10px; top: 50%;
  transform: translateY(-50%);
  background: transparent; border: none;
  color: #fff; cursor: pointer;
  font-size: 16px;
}

.lm-eligible {
  display: flex; align-items: center; justify-content: space-between;
  margin: 14px 2px 18px;
}
.lm-check {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #fff; cursor: pointer;
}
.lm-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: #f5b417;
  cursor: pointer;
}
.lm-amber { color: #f5b417; font-weight: 600; }
.lm-info {
  background: transparent; border: none;
  color: rgba(255,255,255,0.6);
  font-size: 16px; cursor: pointer;
}

.lm-submit,.lm-verify,.lm-forgot-submit {
  width: 100%;
  background: #f5b417; color: #1a1825;
  border: none; border-radius: 6px;
  padding: 14px;
  font-size: 15px; font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.lm-submit:hover { background: #e6a90f; }

.lm-links {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; margin-top: 18px;
}
.lm-link {
  background: transparent; border: none;
  color: #f5b417; font-size: 13px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  padding: 0;
}
.lm-link:hover { text-decoration: underline; }

.lm-foot {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 14px;
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
}
.lm-foot a {
  color: #cfcfd6; text-decoration: underline;
}
.lm-foot-wide { width: 100%; text-align: center; margin-top: 4px; }
.lightbox-hidden{display:none;}

/* OTP container */
.lm-otp {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 15px 0;
}
.lm-otp-step{padding:20px;}
.lm-error{text-align:center;padding-bottom:20px;}
/* OTP input boxes */
.lm-otp input {
  width: 42px;
  height: 48px;
  text-align: center;
  font-size: 18px;
  border: 1px solid #444;
  background: #111;
  color: #fff;
  border-radius: 6px;
  outline: none;
  transition: all 0.2s ease;
}

/* focus state */
.lm-otp input:focus {
  border-color: #f5a623; /* amber highlight */
  box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.2);
}

/* filled state (optional via JS add class) */
.lm-otp input.filled {
  border-color: #f5a623;
}

/* error state */
.lm-otp.error input {
  border-color: red;
  animation: shake 0.3s;
}
p.lm-otp-text {
    text-align: center;
}
/* small screens */
@media (max-width: 480px) {
  .lm-otp input {
    width: 36px;
    height: 42px;
    font-size: 16px;
  }
}

/* shake animation */
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}