:root{
  --kia-bg:#f7f8fb;
  --kia-card:#ffffff;
  --kia-text:#162033;
  --kia-muted:#6f7a8f;
  --kia-line:#dbe2ec;
  --kia-line-strong:#cfd7e3;
  --kia-gold:#d6b45b;
  --kia-gold-dark:#bf9c42;
  --kia-shadow:0 18px 48px rgba(18,32,56,.10);
  --kia-shadow-sm:0 10px 28px rgba(18,32,56,.08);
  --kia-radius:22px;
  --kia-radius-sm:16px;
}

/* Global auth surfaces */
.stm-login-form,
.stm-login-form-unregistered,
.stm-login-form-mobile-unregistered,
.stm-user-private-main,
.stm-register-form,
.stm_password_recovery,
.stm-login-register-form .stm-sign-up-form,
.stm-login-register-form .stm-sign-in-form,
.stm-account-dropdown,
.stm-dropdown-user-small-avatar,
.stm-dropdown-user-small-avatar .inner,
.stm-user-private .stm-user-private-main,
.stm_topbar_user .stm-dropdown-user-small-avatar,
.stm-listing-directory-header .stm-dropdown-user-small-avatar,
.stm-form-1 .stm-login-register-form,
.stm-login-register-form .stm-user-form{
  background:var(--kia-card)!important;
  color:var(--kia-text)!important;
  border:1px solid var(--kia-line)!important;
  border-radius:var(--kia-radius)!important;
  box-shadow:var(--kia-shadow)!important;
}

/* Inner spacing */
.stm-login-form,
.stm-login-form-unregistered,
.stm-login-form-mobile-unregistered,
.stm-register-form,
.stm_password_recovery,
.stm-user-private-main{
  padding:28px!important;
}

/* Headings */
.stm-login-form h3,
.stm-login-form h4,
.stm-login-form-unregistered h3,
.stm-login-form-unregistered h4,
.stm-register-form h3,
.stm-register-form h4,
.stm_password_recovery h3,
.stm_password_recovery h4,
.stm-user-private-main h3,
.stm-user-private-main h4{
  color:var(--kia-text)!important;
  font-weight:800!important;
  letter-spacing:-.02em!important;
  margin-bottom:18px!important;
}

/* Labels */
.stm-login-form label,
.stm-login-form .form-group > label,
.stm-login-form-unregistered label,
.stm-register-form label,
.stm_password_recovery label,
.stm-user-private-main label,
.stm-login-register-form .stm-label,
.stm-login-register-form .form-group h4{
  color:var(--kia-text)!important;
  font-weight:700!important;
  font-size:15px!important;
  margin-bottom:10px!important;
}

/* Inputs */
.stm-login-form input[type="text"],
.stm-login-form input[type="email"],
.stm-login-form input[type="password"],
.stm-login-form input[type="tel"],
.stm-login-form select,
.stm-login-form textarea,
.stm-login-form-unregistered input[type="text"],
.stm-login-form-unregistered input[type="email"],
.stm-login-form-unregistered input[type="password"],
.stm-login-form-unregistered input[type="tel"],
.stm-login-form-unregistered select,
.stm-register-form input[type="text"],
.stm-register-form input[type="email"],
.stm-register-form input[type="password"],
.stm-register-form input[type="tel"],
.stm-register-form select,
.stm-register-form textarea,
.stm_password_recovery input[type="text"],
.stm_password_recovery input[type="email"],
.stm_password_recovery input[type="password"],
.stm_password_recovery input[type="tel"],
.stm-user-private-main input[type="text"],
.stm-user-private-main input[type="email"],
.stm-user-private-main input[type="password"],
.stm-user-private-main input[type="tel"]{
  width:100%!important;
  min-height:58px!important;
  border:1.5px solid var(--kia-line-strong)!important;
  background:#fff!important;
  color:var(--kia-text)!important;
  border-radius:18px!important;
  padding:16px 18px!important;
  box-shadow:none!important;
  outline:none!important;
  font-size:16px!important;
  transition:border-color .2s ease, box-shadow .2s ease!important;
}
.stm-login-form input:focus,
.stm-login-form select:focus,
.stm-login-form textarea:focus,
.stm-login-form-unregistered input:focus,
.stm-register-form input:focus,
.stm-register-form select:focus,
.stm-register-form textarea:focus,
.stm_password_recovery input:focus,
.stm-user-private-main input:focus{
  border-color:var(--kia-gold)!important;
  box-shadow:0 0 0 4px rgba(214,180,91,.14)!important;
}
.stm-login-form input::placeholder,
.stm-login-form-unregistered input::placeholder,
.stm-register-form input::placeholder,
.stm_password_recovery input::placeholder,
.stm-user-private-main input::placeholder{
  color:#97a2b7!important;
}

/* Buttons */
.stm-login-form input[type="submit"],
.stm-login-form button[type="submit"],
.stm-login-form-unregistered input[type="submit"],
.stm-login-form-unregistered button[type="submit"],
.stm-register-form input[type="submit"],
.stm-register-form button[type="submit"],
.stm_password_recovery input[type="submit"],
.stm_password_recovery button,
.stm-user-private-main input[type="submit"],
.stm-user-private-main button[type="submit"],
.stm-login-register-form .stm-listing-loader + input[type="submit"]{
  display:inline-flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:100%!important;
  min-height:58px!important;
  padding:14px 18px!important;
  border:0!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#e5c872 0%, #d1af56 100%)!important;
  color:var(--kia-text)!important;
  box-shadow:0 14px 28px rgba(214,180,91,.28)!important;
  font-size:18px!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
  text-transform:none!important;
}
.stm-login-form input[type="submit"]:hover,
.stm-login-form button[type="submit"]:hover,
.stm-login-form-unregistered input[type="submit"]:hover,
.stm-register-form input[type="submit"]:hover,
.stm-register-form button[type="submit"]:hover,
.stm_password_recovery input[type="submit"]:hover,
.stm_password_recovery button[type="submit"]:hover,
.stm-user-private-main button[type="submit"]:hover{
  background:linear-gradient(180deg,#ebd17f 0%, #c8a349 100%)!important;
  transform:translateY(-1px)!important;
}

/* Google/social button area */
.stm-login-form .stm-socials,
.stm-login-form .stm-login-form-socials,
.stm-login-form-unregistered .stm-socials,
.stm-register-form .stm-socials,
.stm-register-form .stm-login-form-socials,
.stm_password_recovery .stm-socials{
  margin-top:16px!important;
}
.stm-login-form .nsl-button,
.stm-login-form .google-login,
.stm-login-form .stm-login-socials a,
.stm-login-form-unregistered .nsl-button,
.stm-register-form .nsl-button,
.stm-register-form .google-login,
.stm-register-form .stm-login-socials a{
  border:1.5px solid var(--kia-line-strong)!important;
  background:#fff!important;
  border-radius:18px!important;
  box-shadow:none!important;
}

/* Checkboxes */
.stm-login-register-form input[type="checkbox"],
.stm-login-form input[type="checkbox"],
.stm-register-form input[type="checkbox"],
.stm-user-private-main input[type="checkbox"],
.stm_password_recovery input[type="checkbox"]{
  appearance:none!important;
  -webkit-appearance:none!important;
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  border:1.6px solid var(--kia-line-strong)!important;
  border-radius:7px!important;
  background:#fff!important;
  position:relative!important;
  vertical-align:middle!important;
  margin-right:10px!important;
  box-shadow:none!important;
}
.stm-login-register-form input[type="checkbox"]:checked,
.stm-login-form input[type="checkbox"]:checked,
.stm-register-form input[type="checkbox"]:checked,
.stm-user-private-main input[type="checkbox"]:checked,
.stm_password_recovery input[type="checkbox"]:checked{
  background:var(--kia-gold)!important;
  border-color:var(--kia-gold)!important;
}
.stm-login-register-form input[type="checkbox"]:checked::after,
.stm-login-form input[type="checkbox"]:checked::after,
.stm-register-form input[type="checkbox"]:checked::after,
.stm-user-private-main input[type="checkbox"]:checked::after,
.stm_password_recovery input[type="checkbox"]:checked::after{
  content:""!important;
  position:absolute!important;
  left:7px!important;
  top:3px!important;
  width:6px!important;
  height:11px!important;
  border:solid #172132!important;
  border-width:0 2px 2px 0!important;
  transform:rotate(45deg)!important;
}

/* Links and helper text */
.stm-login-form .stm-forgot-password a,
.stm-login-form-unregistered .stm-forgot-password a,
.stm-register-form a,
.stm-user-private-main a,
.stm_password_recovery a,
.stm-login-register-form a{
  color:#8f6d15!important;
  font-weight:700!important;
}
.stm-login-form .stm-mid,
.stm-login-form-unregistered .stm-mid,
.stm-register-form .stm-mid,
.stm-login-register-form .stm-small,
.stm-login-register-form .stm-text-muted,
.stm-login-register-form p,
.stm-login-register-form small,
.stm-login-register-form .stm-remember-me,
.stm-login-register-form .stm-label-secondary{
  color:var(--kia-muted)!important;
}

/* Validation message */
.stm-validation-message,
.stm-message-ajax-validation{
  margin-top:12px!important;
  border-radius:14px!important;
  padding:12px 14px!important;
  background:#f8fafc!important;
  border:1px solid var(--kia-line)!important;
  color:var(--kia-text)!important;
  font-weight:600!important;
}

/* Dropdown / profile card */
.stm-dropdown-user-small-avatar,
.stm-account-dropdown,
.stm-user-private-main{
  overflow:hidden!important;
}
.stm-user-private-main ul,
.stm-dropdown-user-small-avatar ul,
.stm-account-dropdown ul{
  list-style:none!important;
  margin:0!important;
  padding:0!important;
}
.stm-user-private-main li,
.stm-dropdown-user-small-avatar li,
.stm-account-dropdown li{
  border-top:1px solid #eef2f7!important;
}
.stm-user-private-main li:first-child,
.stm-dropdown-user-small-avatar li:first-child,
.stm-account-dropdown li:first-child{
  border-top:0!important;
}
.stm-user-private-main a,
.stm-dropdown-user-small-avatar a,
.stm-account-dropdown a{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:16px 18px!important;
  color:var(--kia-text)!important;
  text-decoration:none!important;
  font-weight:700!important;
}
.stm-user-private-main a:hover,
.stm-dropdown-user-small-avatar a:hover,
.stm-account-dropdown a:hover{
  background:#fafbfe!important;
}
.stm-user-private-main .stm-user-name,
.stm-dropdown-user-small-avatar .stm-user-name,
.stm-account-dropdown .stm-user-name,
.stm-user-private-main .stm-name,
.stm-dropdown-user-small-avatar .stm-name{
  color:var(--kia-text)!important;
  font-size:20px!important;
  font-weight:800!important;
  padding:18px 18px 12px!important;
}

/* Popup container near header profile */
.stm-header .stm-dropdown-user-small-avatar,
.stm-header .stm-user-private-main,
.header-listing .stm-dropdown-user-small-avatar,
.header-listing .stm-user-private-main,
.stm-boats-header-two .stm-dropdown-user-small-avatar{
  min-width:340px!important;
  max-width:420px!important;
}

/* Form rows */
.stm-login-register-form .form-group,
.stm-login-form .form-group,
.stm-register-form .form-group,
.stm_password_recovery .form-group{
  margin-bottom:18px!important;
}

/* Toggle link block */
.stm-login-register-form .stm-not-have-account,
.stm-login-register-form .stm-have-account,
.stm-login-register-form .stm-register-link,
.stm-login-register-form .stm-login-link,
.stm-login-register-form .stm-switch-auth{
  margin-top:16px!important;
  text-align:center!important;
  color:var(--kia-muted)!important;
}

/* mobile */
@media (max-width: 767px){
  .stm-login-form,
  .stm-login-form-unregistered,
  .stm-register-form,
  .stm_password_recovery,
  .stm-user-private-main{
    padding:20px!important;
    border-radius:20px!important;
  }
  .stm-header .stm-dropdown-user-small-avatar,
  .stm-header .stm-user-private-main,
  .header-listing .stm-dropdown-user-small-avatar,
  .header-listing .stm-user-private-main{
    min-width:auto!important;
    width:min(94vw,420px)!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
  }
}
/* Empty placeholder messages and small UI controls are not primary actions. */
.stm-login-register-form .stm-validation-message:empty{display:none!important}
body.page-id-2630 #k7-reset-form>button[type=submit]{display:flex;width:100%;min-height:52px;align-items:center;justify-content:center;padding:14px 18px;border:0;border-radius:16px;background:linear-gradient(120deg,#e5c872,#bf993d);color:#162033;font-weight:750}
body.page-id-2630 #k7-reset-form input[type=password],body.page-id-2630 #k7-reset-form input[type=text]{width:100%;min-height:52px;border:1px solid #cfd7e3;border-radius:14px;background:#fff;color:#162033;padding:12px 48px 12px 14px;font-size:16px}
