/* Login / register gate — left banner, right card */
.ss-gate {
  background: #eaf3ff;
}
.ss-auth-page .main-content {
  padding: 0;
  margin: 0;
}
.ss-auth-page .ss-gate-row {
  min-height: calc(100vh - 112px);
}
.ss-gate .container-fluid {
  padding-left: 0;
  padding-right: 0;
}
.ss-gate-row {
  min-height: calc(100vh - 112px);
}
body.ss-auth-standalone {
  margin: 0;
  background: #eaf3ff;
}
body.ss-auth-standalone .ss-gate-row {
  min-height: 100vh;
}
.ss-gate-form {
  background: linear-gradient(180deg, #f4f8ff 0%, #e8f1ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 22px;
}
.ss-gate-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.12);
  padding: 32px 30px 22px;
}
.ss-gate-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  text-decoration: none;
  color: #0a2a6b;
}
.ss-gate-brand:hover {
  text-decoration: none;
  color: #0a2a6b;
}
.ss-gate-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: #f4f8ff;
  border: 1px solid #e6eef8;
  padding: 4px;
}
.ss-gate-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.ss-gate-brand-text strong {
  font-size: 1.45rem;
  font-weight: 800;
}
.ss-gate-brand-text span {
  color: #f5b942;
}
.ss-gate-brand-text small {
  margin-top: 3px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #6b7c99;
  font-weight: 700;
}
.ss-gate-form h1 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #111827;
  margin: 18px 0 4px;
}
.ss-gate-form .ss-login-lead {
  color: #6b7280;
  font-size: 0.92rem;
  margin: 0 0 18px;
}
.ss-gate-form label {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 4px;
}
.ss-gate-field {
  position: relative;
  margin-bottom: 14px;
}
.ss-gate-field > i.ss-gate-ico,
.ss-gate-field .ss-gate-ico {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b98ad;
  font-size: 0.92rem;
  pointer-events: none;
  z-index: 2;
}
.ss-gate-form .form-control,
.ss-gate-field .form-control {
  border: 1px solid #e7eef7;
  border-radius: 28px;
  background: #f4f7fb;
  height: 48px;
  padding: 0 44px 0 44px;
  box-shadow: none !important;
  font-size: 0.95rem;
}
.ss-gate-form .form-control:focus,
.ss-gate-field .form-control:focus {
  border-color: #93c5fd;
  background: #fff;
}
.ss-gate-form .form-row .form-control {
  padding-left: 16px;
}
.ss-gate-pass {
  position: relative;
}
.ss-gate-pass .ss-gate-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  color: #8b98ad;
  cursor: pointer;
  z-index: 2;
}
.ss-gate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding: 0 22px;
  background: linear-gradient(90deg, #1d6fe8 0%, #3b82f6 100%);
  color: #fff !important;
  border: 0;
  border-radius: 28px;
  font-weight: 700;
  margin-top: 6px;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
}
.ss-gate-btn:hover {
  background: linear-gradient(90deg, #1558c0 0%, #2563eb 100%);
  color: #fff !important;
}
.ss-gate-links {
  margin-top: 16px;
  font-size: 0.88rem;
  text-align: center;
  color: #6b7280;
}
.ss-gate-links a {
  color: #2563eb;
  font-weight: 600;
}
.ss-gate-note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
}
.ss-gate-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #eef2f7;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
}
.ss-gate-trust i {
  color: #2563eb;
  margin-right: 4px;
}
.ss-auth-switch {
  display: flex;
  background: #f1f5fb;
  border-radius: 28px;
  padding: 4px;
  margin-bottom: 8px;
}
.ss-auth-switch-btn {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #6b7280;
  text-decoration: none;
}
.ss-auth-switch-btn:hover {
  color: #0a1f44;
  text-decoration: none;
}
.ss-auth-switch-btn.active {
  background: #fff;
  color: #0a1f44;
  box-shadow: 0 2px 8px rgba(10, 31, 68, 0.1);
}
.ss-gate-visual {
  background-color: #d7ecff;
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  min-height: calc(100vh - 112px);
  position: relative;
  overflow: hidden;
}
body.ss-auth-standalone .ss-gate-visual {
  min-height: 100vh;
}
.ss-auth-page .ss-gate-visual {
  min-height: calc(100vh - 112px);
}
.ss-gate-form .form-check-input {
  margin-left: 0;
}
@media (max-width: 991.98px) {
  .ss-gate-row,
  .ss-gate-visual,
  body.ss-auth-standalone .ss-gate-visual,
  .ss-auth-page .ss-gate-visual {
    min-height: auto;
  }
  .ss-gate-visual {
    min-height: 240px;
  }
  .ss-gate-card {
    box-shadow: none;
    padding: 8px 4px 16px;
    background: transparent;
  }
  .ss-gate-form {
    background: #fff;
  }
}
