/* eMonitoring auth screens (login / OTP / change-password) */

.auth-page {
  min-height: calc(100vh - 50px);
  background: #f4f6f9;
  padding: 24px 12px 40px;
}

.auth-shell {
  max-width: 960px;
  margin: 0 auto;
}

.auth-panel {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 4px;
  overflow: hidden;
}

.auth-panel__media {
  padding: 0;
  background: #1f2d3d;
}

/* Fixed media height so every slide fills the same box regardless of the
   image's intrinsic aspect ratio (sliders range from 16:9 to square). */
.auth-panel__media,
.auth-panel__media .carousel,
.auth-panel__media .carousel-inner,
.auth-panel__media .item {
  height: 420px;
}

.auth-panel__media .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.auth-panel__form {
  padding: 28px 24px 20px;
}

.auth-brand {
  text-align: center;
  margin-bottom: 18px;
}

.auth-brand__logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eef1f5;
  background: #fff;
}

.auth-brand__title {
  margin: 12px 0 4px;
  font-size: 22px;
  font-weight: 700;
  color: #222d32;
}

.auth-brand__subtitle {
  margin: 0;
  color: #73879c;
  font-size: 13px;
  line-height: 1.45;
}

.auth-hint {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #f7f9fc;
  border-left: 3px solid #3c8dbc;
  color: #555;
  font-size: 12px;
  line-height: 1.45;
}

.auth-form .form-control {
  height: 42px;
  border-radius: 3px;
}

.auth-form .has-feedback .form-control {
  padding-right: 40px;
}

.auth-form .form-control-feedback {
  line-height: 42px;
  height: 42px;
  width: 40px;
}

.auth-form .otp-input .form-control {
  letter-spacing: 0.35em;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
}

.auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.auth-actions__links a {
  display: inline-block;
  margin-top: 4px;
}

.auth-actions .btn {
  min-width: 120px;
  font-weight: 700;
}

.auth-footer {
  margin-top: 14px;
  padding: 14px 16px;
  background: #fafbfc;
  border-top: 1px solid #eef1f5;
  text-align: center;
  font-size: 12px;
  color: #667788;
  line-height: 1.5;
}

.auth-header-bar {
  float: none !important;
  width: 100%;
  padding: 0 16px;
}

.main-header .navbar .auth-header-title,
.skin-blue .main-header .navbar .auth-header-title,
.auth-header-title {
  display: block;
  width: 100%;
  margin: 0;
  padding: 15px 0;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .main-header .navbar .auth-header-title,
  .skin-blue .main-header .navbar .auth-header-title,
  .auth-header-title {
    font-size: 12px;
    padding: 12px 4px;
  }
}

.auth-step {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 12px;
  background: #eaf4fb;
  color: #3c8dbc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-error {
  text-align: center;
  padding: 4px 0 8px;
}

.auth-error__code {
  font-size: 42px;
  font-weight: 700;
  color: #3c8dbc;
  line-height: 1.1;
  margin-bottom: 16px;
}

.auth-actions {
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .auth-panel__media {
    display: none;
  }

  .auth-panel__form {
    padding: 24px 18px 16px;
  }

  .auth-page {
    padding-top: 16px;
  }
}
