/* Sign-up form and email-code step, shared by /register and the register
   modal (Add listing, Add business). Loaded blocking in <head> on those
   pages so the form never paints unstyled. */
.register-page{
  max-width:560px;
  margin:50px auto;
  padding:0 16px;
}

.register-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:22px;
  padding:32px;
  box-shadow:0 18px 45px rgba(0,0,0,.08);
}

.register-title{
  margin:0 0 24px;
  text-align:center;
  font-size:28px;
  font-weight:800;
  color:#038120;
}

.register-login-hint{
  margin:-12px 0 22px;
  text-align:center;
  color:#667;
}

.register-login-hint button{
  border:0;
  background:none;
  padding:0;
  color:#038120;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}

.register-grid{
  display:grid;
  gap:16px;
}

.register-card .field label{
  display:block;
  margin-bottom:7px;
  font-weight:700;
  color:#222;
}

.register-card .req{
  color:#038120;
}

.register-card .field input{
  width:100%;
  border:1px solid #d8d8d8;
  border-radius:12px;
  padding:11px 14px;
  font-size:16px;
  outline:none;
  background:#fff;
}

.register-card .field input:focus{
  border-color:#ff9a1f;
  box-shadow:0 0 0 3px rgba(255,154,31,.14);
}

.register-card .terms{
  display:flex;
  gap:12px;
  align-items:flex-start;
  font-size:14px;
  line-height:1.45;
  color:#444;
}

.register-card .terms input{
  position:relative;
  top:2px;
  width:19px;
  height:19px;
  flex:0 0 auto;
  accent-color:#ff9500;
}

.register-card .terms a{
  color:#ff8a00;
  text-decoration:none;
  font-weight:700;
}

.register-submit{
  width:100%;
  border:0;
  border-radius:14px;
  padding:14px;
  margin-top:4px;
  background:linear-gradient(180deg,#ff9d18,#ff8700);
  color:#fff;
  font-size:17px;
  font-weight:800;
  cursor:pointer;
}

.register-submit:disabled,
.otp-verify-btn:disabled{
  opacity:.65;
  cursor:not-allowed;
}

.register-error{
  display:none;
  margin-top:16px;
  border:1px solid #ffd6a3;
  background:#fff7ec;
  color:#9a4b00;
  border-radius:16px;
  padding:14px;
  font-size:14px;
  font-weight:600;
}

.register-error.show{display:block}

/* Modal shell around the same card */
.register-modal{
  position:fixed;
  inset:0;
  z-index:9500;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}

.register-modal[hidden],
.otp-modal[hidden]{display:none!important}

.register-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.42);
  backdrop-filter:blur(6px);
}

.register-modal-panel{
  position:relative;
  width:min(94vw,520px);
  max-height:88vh;
  overflow:auto;
  background:#fff;
  border-radius:24px;
  box-shadow:0 24px 70px rgba(0,0,0,.24);
}

.register-modal-close,
.otp-close-btn{
  position:absolute;
  top:12px;
  right:14px;
  z-index:2;
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:#f3f3f3;
  color:#333;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

.register-modal-close:hover,
.otp-close-btn:hover{background:#ffe8c9}

.register-modal .register-page{
  max-width:none;
  margin:0;
  padding:0;
}

.register-modal .register-card{
  border:0;
  border-radius:24px;
  padding:26px;
  box-shadow:none;
}

.register-modal .register-title{
  margin:2px 36px 20px;
  font-size:25px;
}

body.register-modal-open{overflow:hidden}

/* Email code step */
.otp-modal{
  position:fixed;
  inset:0;
  z-index:9700;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:rgba(15,23,42,.38);
  backdrop-filter:blur(6px);
}

.otp-card{
  position:relative;
  width:min(92vw,380px);
  background:#fff;
  border-radius:24px;
  padding:28px;
  text-align:center;
  box-shadow:0 25px 70px rgba(0,0,0,.18);
}

.otp-icon{
  width:70px;
  height:70px;
  margin:0 auto 16px;
  border-radius:50%;
  background:#ffe8c9;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
}

.otp-card h2{
  margin:0 0 6px;
  font-size:26px;
  font-weight:800;
}

.otp-sub{
  margin:0 0 20px;
  color:#666;
}

.otp-inputs{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-bottom:18px;
}

.otp-inputs input{
  width:44px;
  height:52px;
  text-align:center;
  font-size:22px;
  border-radius:12px;
  border:1px solid #ddd;
  outline:none;
}

.otp-inputs input:focus{
  border-color:#ff8a00;
  box-shadow:0 0 0 3px rgba(255,138,0,.2);
}

.otp-resend-text{
  margin:0;
  font-size:14px;
  color:#666;
}

.otp-resend-text button{
  margin-left:4px;
  border:0;
  background:none;
  padding:0;
  color:#ff8a00;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}

.otp-resend-text button:disabled{
  opacity:.55;
  cursor:default;
}

.otp-verify-btn{
  width:100%;
  margin-top:10px;
  padding:13px;
  border:0;
  border-radius:12px;
  background:linear-gradient(180deg,#ff9d18,#ff8700);
  color:#fff;
  font-size:18px;
  font-weight:800;
  cursor:pointer;
}

@media(max-width:600px){
  .register-card{padding:24px 18px}
  .register-title{font-size:24px}

  .register-modal{
    padding:10px;
    align-items:flex-end;
  }

  .register-modal-panel{
    width:100%;
    max-height:92vh;
    border-radius:24px 24px 0 0;
  }

  .register-modal .register-card{padding:24px 18px}
  .otp-inputs{gap:7px}
  .otp-inputs input{width:40px;height:50px}
}

.register-seo-content {
  padding: 70px 18px 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fbf6 100%);
}

.register-seo-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.register-seo-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.register-seo-kicker {
  margin: 0 0 10px;
   color: #ff8a00;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.register-seo-head h2 {
  margin: 0;
  color: #12382b;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 900;
}

.register-seo-head p:last-child {
  margin: 18px auto 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
}

.register-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.register-seo-card {
  background: #ffffff;
  border: 1px solid rgba(255, 138, 0, 0.16);
  box-shadow: 0 16px 38px rgba(255, 138, 0, 0.08);
  border-radius: 22px;
  padding: 24px;
  color: #1f2937;
}

.register-seo-card svg {
  color: #5f3a12;
  margin-bottom: 16px;
}

.register-seo-card h3 {
  margin: 0 0 10px;
  color: #12382b;
  font-size: 18px;
  font-weight: 850;
}

.register-seo-card p {
  margin: 0;
  color: #5b6472;
  font-size: 14.5px;
  line-height: 1.65;
}

.register-seo-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.register-seo-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: #038120;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(3, 129, 32, 0.2);
}

.register-seo-actions a:nth-child(2) {
  background: #ffffff;
  color: #12382b;
  border: 1px solid rgba(3, 129, 32, 0.18);
  box-shadow: none;
}

@media (max-width: 820px) {
  .register-seo-content {
    padding: 54px 16px 64px;
  }

  .register-seo-grid {
    grid-template-columns: 1fr;
  }

  .register-seo-card {
    padding: 22px;
  }
}

