html,
body.siot-auth-body {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
body.siot-auth-body {
  margin: 0;
  background: #132737 !important;
  color: #243746;
  font-family: Arial, Helvetica, sans-serif;
}
body.siot-auth-body #wpadminbar { display: none !important; }
.siot-auth-page {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100vh;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  overflow: hidden;
  background-image: url('https://server-iot.com/wp-content/uploads/2025/08/factory-data-storage-room_sensofy-blog_cloud-vs-on-premise-IoT-deployment-min.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
.siot-auth-page::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background: linear-gradient(115deg, rgba(7, 25, 40, .82), rgba(9, 47, 76, .68));
}
.siot-auth-shell {
  width: 100%;
  max-width: 552px;
  max-height: calc(100vh - 32px);
  margin: 0 auto;
  padding: 4px 26px 14px;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  scrollbar-width: none;
}
.siot-auth-shell::-webkit-scrollbar { display: none; width: 0; height: 0; }
@supports (height: 100dvh) {
  .siot-auth-page { height: 100dvh; }
  .siot-auth-shell { max-height: calc(100dvh - 32px); }
}
.siot-auth-complete-block {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .92);
  background: #fff;
  box-shadow: 0 22px 56px rgba(0, 17, 31, .36);
}
.siot-auth-brand-block {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 18px 28px 20px;
  overflow: hidden;
  box-sizing: border-box;
  border-bottom: 1px solid #d9e0e7;
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(235, 244, 250, .95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.siot-auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  text-decoration: none;
}
.siot-auth-logo-image {
  display: block;
  width: auto;
  max-width: min(360px, 88vw);
  max-height: 64px;
  object-fit: contain;
}
.siot-auth-intro {
  margin: 10px auto 0;
  color: #173247;
  text-align: center;
  text-shadow: none;
}
.siot-auth-intro > span {
  display: block;
  margin-bottom: 7px;
  color: #bfe1f8;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.siot-auth-intro h1 {
  margin: 0;
  color: #173247;
  max-width: 500px;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.02em;
}
.siot-auth-intro p {
  max-width: 460px;
  margin: 10px auto 0;
  color: #e7f1f7;
  font-size: 15px;
  line-height: 1.5;
}
.siot-auth-benefits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.siot-auth-benefits strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
}
.siot-auth-benefits strong span {
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #2a9a55;
  color: #fff;
  font-size: 11px;
  text-shadow: none;
}
.siot-auth-brandmark {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  background: #064b87;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .3px;
}
.siot-auth-online {
  color: #e98a00;
  font-size: 24px;
  font-weight: 700;
}
.siot-auth-card {
  width: 100%;
  height: 414px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 0;
  box-shadow: none;
  border-radius: 0 !important;
}
.siot-auth-tabs {
  flex: 0 0 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #d9e0e7;
  background: #f8f9fa;
}
.siot-auth-tab {
  height: 52px;
  border: 0;
  border-right: 1px solid #d9e0e7;
  border-radius: 0 !important;
  background: transparent;
  color: #53616e;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.siot-auth-tab:last-child { border-right: 0; }
.siot-auth-tab.is-active {
  background: #fff;
  color: #064b87;
  box-shadow: inset 0 3px 0 #064b87;
}
.siot-auth-errors {
  flex: 0 0 auto;
  margin: 20px 24px 0;
  padding: 11px 13px;
  border: 1px solid #e2bcbc;
  background: #fff6f6;
  color: #9a3333;
  font-size: 13px;
  line-height: 1.5;
}
.siot-auth-errors div + div { margin-top: 4px; }
.siot-auth-panel {
  min-height: 0;
  flex: 1 1 auto;
  padding: 26px 28px 28px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}
.siot-auth-panel::-webkit-scrollbar { display: none; width: 0; height: 0; }
.siot-auth-panel[hidden] { display: none !important; }
.siot-auth-form {
  display: grid;
  gap: 8px;
}
.siot-auth-form label {
  margin-top: 5px;
  color: #4f5e6c;
  font-size: 13px;
  font-weight: 700;
}
.siot-auth-form input[type="text"],
.siot-auth-form input[type="email"],
.siot-auth-form input[type="password"],
.siot-auth-form select {
  width: 100%;
  height: 43px;
  padding: 0 11px;
  border: 1px solid #cbd4dd;
  border-radius: 0 !important;
  background: #fff;
  color: #243746;
  outline: none;
  font-size: 14px;
}
.siot-auth-vat-field {
  display: grid;
  gap: 8px;
}
.siot-auth-field {
  display: grid;
  gap: 8px;
}
.siot-auth-form--register {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
}
.siot-auth-form--register > input[type="hidden"],
.siot-auth-form--register > .siot-auth-submit {
  grid-column: 1 / -1;
}
.siot-auth-vat-field[hidden] { display: none !important; }
.siot-auth-vat-field .siot-tax-id-help {
  display: block;
  margin-top: 1px;
  color: #71808d;
  font-size: 11px;
  line-height: 1.35;
}
.siot-auth-vat-field .siot-tax-id-help[hidden] { display: none !important; }
.siot-auth-form input:focus,
.siot-auth-form select:focus {
  border-color: #6e9fc9;
  box-shadow: 0 0 0 1px #6e9fc9;
}
.siot-auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 7px 0 5px;
  font-size: 12px;
}
.siot-auth-form-row a { color: #1777c8; }
.siot-auth-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  font-weight: 400 !important;
}
.siot-auth-check input { margin: 0; }
.siot-auth-submit {
  width: 100%;
  height: 44px;
  margin-top: 10px;
  border: 1px solid #3a91db;
  border-radius: 0 !important;
  background: #3d93de;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.siot-auth-submit:hover { background: #287fc7; }
@media (max-width: 520px) {
  .siot-auth-page { align-items: flex-start; padding: 12px 6px; background-attachment: scroll; }
  .siot-auth-shell { max-height: calc(100vh - 24px); padding: 3px 10px 12px; }
  @supports (height: 100dvh) { .siot-auth-shell { max-height: calc(100dvh - 24px); } }
  .siot-auth-brand-block { padding: 14px 17px 17px; }
  .siot-auth-logo-image { max-height: 58px; }
  .siot-auth-brandmark { min-height: 46px; font-size: 21px; padding-inline: 14px; }
  .siot-auth-online { font-size: 20px; }
  .siot-auth-intro { margin-top: 9px; }
  .siot-auth-intro h1 { font-size: 17px; }
  .siot-auth-intro p { font-size: 14px; }
  .siot-auth-benefits { gap: 7px 12px; margin-top: 12px; }
  .siot-auth-benefits strong { font-size: 11px; }
  .siot-auth-panel { padding: 22px 20px 24px; }
  .siot-auth-form--register { grid-template-columns: 1fr; }
  .siot-auth-form--register > input[type="hidden"],
  .siot-auth-form--register > .siot-auth-submit { grid-column: 1; }
}
