/* WeBay StartStore - unified form styling (desktop + mobile) */

body.page-startstore,
body.page-startstore #page,
body.page-startstore #content,
body.webay-startstore{
  background: url("https://www.webay.shop/wp-content/uploads/2026/02/bgblue.jpg") no-repeat fixed top center;
  background-size: cover;
}

#webay-subscribe-box,
.webay-subscribe{
  width: 100%;
  max-width: 900px;
  margin: 48px auto;
  padding: 44px 54px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: #2b2b2b;
}

/* Optional titles */
#webay-subscribe-box h1,
#webay-subscribe-box h2,
#webay-subscribe-box h3,
.webay-subscribe h1,
.webay-subscribe h2,
.webay-subscribe h3{
  font-family: inherit;
  letter-spacing: 0;
}

/* Hide labels to match WeBay pattern; placeholders carry the hint */
.webay-field > label{ display:none; }

.webay-form{ width:100%; }

/* Inputs */
.webay-form input[type="text"],
.webay-form input[type="email"],
.webay-form input[type="tel"],
.webay-form input[type="password"],
.webay-form input[type="number"],
.webay-form select,
.webay-form textarea{
  width: 100%;
  height: 56px;
  border-radius: 14px;
  border: 1px solid #dcdcdc;
  padding: 0 18px;
  font-size: 16px;
  color: #444;
  background: #fff;
  box-sizing: border-box;
  outline: none;
}

.webay-form textarea{
  height: auto;
  min-height: 120px;
  padding: 14px 18px;
}

.webay-form input::placeholder,
.webay-form textarea::placeholder{
  color: #bdbdbd;
  letter-spacing: 0;
}

.webay-form input:focus,
.webay-form select:focus,
.webay-form textarea:focus{
  border-color: rgba(11,187,96,.55);
  box-shadow: 0 0 0 4px rgba(11,187,96,.12);
}

/* Subdomain row */
.webay-subdomain-row{
  display:flex;
  align-items:center;
  gap: 10px;
}

.webay-subdomain-row input{
  flex: 1 1 auto;
  min-width: 0;
}

.webay-subdomain-suffix{
  flex: 0 0 auto;
  height: 56px;
  display:flex;
  align-items:center;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid #dcdcdc;
  background: #f3f3f3;
  color: rgba(0,0,0,.65);
  font-size: 14px;
  white-space: nowrap;
}

/* Buttons */
.webay-btn,
.webay-form button{
  font-family: inherit;
}

.webay-btn--primary{
  width: 100%;
  height: 64px;
  background: #0bbb60 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 18px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 18px;
  margin-bottom: 0;
}

.webay-btn--primary:hover{ background: #0aa554 !important; }

.webay-btn--secondary,
#webay-domain-check{
  height: 56px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid #dcdcdc !important;
  background: #f3f3f3 !important;
  color: #111 !important;
  font-weight: 600;
  cursor: pointer;
}

.webay-btn--secondary:hover,
#webay-domain-check:hover{
  background: #eaeaea !important;
}

/* Accept/contract */
.webay-field--accept,
.webay-accept{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.webay-field--accept input[type="checkbox"],
.webay-accept input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #0bbb60;
}

.webay-field--accept label,
.webay-accept label{
  display:inline !important;
  font-size: 13px;
  color: rgba(0,0,0,.72);
  letter-spacing: .3px;
}

.webay-field--accept a,
.webay-accept a{
  color: inherit;
  text-decoration: underline;
}

/* Notes */
.webay-note{
  text-align:center;
  margin-top: 12px;
  color: rgba(0,0,0,.7);
  font-size: 14px;
}

@media (max-width: 768px){
  #webay-subscribe-box,
  .webay-subscribe{
    margin: 18px 12px;
    padding: 28px 18px;
    max-width: 100%;
  }

  .webay-subdomain-row{
    flex-wrap: wrap;
  }

  .webay-subdomain-suffix,
  #webay-domain-check{
    height: 50px;
  }

  .webay-form input[type="text"],
  .webay-form input[type="email"],
  .webay-form input[type="tel"],
  .webay-form input[type="password"],
  .webay-form input[type="number"],
  .webay-form select{
    height: 50px;
    border-radius: 14px;
  }

  .webay-btn--primary{
    height: 58px;
    font-size: 18px;
    border-radius: 16px;
  }
}
