/* CloudPrime-style login gate */
.ss-gate {
  background: #eef6ff;
}
.ss-auth-page .main-content {
  padding: 0;
  margin: 0;
}
.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: #eef6ff;
}
body.ss-auth-standalone .ss-gate-row {
  min-height: 100vh;
}
.ss-gate-form {
  background: linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 28px;
}
.ss-gate-form-inner {
  width: 100%;
  max-width: 380px;
}
.ss-gate-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  text-decoration: none;
  color: #0a2a6b;
  font-weight: 800;
  font-size: 1.45rem;
}
.ss-gate-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.ss-gate-brand span {
  color: #f5b942;
}
.ss-gate-form h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2937;
  margin: 18px 0 22px;
}
.ss-gate-form .ss-login-lead {
  color: #6b7280;
  font-size: 0.92rem;
  margin: -8px 0 18px;
}
.ss-gate-form label {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 2px;
}
.ss-gate-form .form-control {
  border: none;
  border-bottom: 1px solid #c5d0e0;
  border-radius: 0;
  background: transparent;
  height: 42px;
  padding-left: 0;
  box-shadow: none !important;
}
.ss-gate-form .form-control:focus {
  border-bottom-color: #0a2a6b;
}
.ss-gate-pass {
  position: relative;
}
.ss-gate-pass .ss-gate-eye {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  color: #6b7280;
  cursor: pointer;
}
.ss-gate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 44px;
  padding: 0 22px;
  background: #2b2f36;
  color: #fff !important;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  margin-top: 8px;
}
.ss-gate-btn:hover {
  background: #111827;
  color: #fff !important;
}
.ss-gate-links {
  margin-top: 18px;
  font-size: 0.88rem;
}
.ss-gate-links a {
  color: #0a2a6b;
  font-weight: 600;
}
.ss-gate-note {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid #dbe4f0;
  font-size: 0.82rem;
  color: #6b7280;
}
.ss-auth-switch {
  display: flex;
  background: #e4edf8;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 8px;
}
.ss-auth-switch-btn {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #4b5563;
  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: #d7ecff;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.ss-gate-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: calc(100vh - 112px);
}
body.ss-auth-standalone .ss-gate-visual img {
  min-height: 100vh;
}
@media (max-width: 991.98px) {
  .ss-gate-row,
  .ss-gate-visual img,
  body.ss-auth-standalone .ss-gate-visual img {
    min-height: auto;
  }
  .ss-gate-visual {
    min-height: 280px;
  }
  .ss-gate-visual img {
    height: 280px;
  }
}
