/* Shared informative / error website pages (message, 404, error) */
#page-message .page_content,
#page-404 .page_content,
#page-error .page_content,
#page-update-password .page_content {
  background-color: #eef1f6;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(2vh, 20px) 20px;
}
#page-message main.container,
#page-404 main.container,
#page-error main.container,
#page-update-password main.container {
  max-width: 100% !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
#page-message .page-header-wrapper,
#page-message .page-breadcrumbs,
#page-message .page-footer,
#page-404 .page-header-wrapper,
#page-404 .page-breadcrumbs,
#page-404 .page-footer,
#page-error .page-header-wrapper,
#page-error .page-breadcrumbs,
#page-error .page-footer,
#page-update-password .page-header-wrapper,
#page-update-password .page-breadcrumbs,
#page-update-password .page-footer {
  display: none !important;
}

.rst-web-page {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.rst-web-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 60px -20px rgba(17, 43, 66, 0.28), 0 6px 18px -10px rgba(17, 43, 66, 0.16);
  padding: 36px 32px 32px;
  text-align: center;
}
.rst-web-card .rst-brand {
  margin-bottom: 18px;
}
.rst-web-card .rst-brand .app-logo {
  max-height: 38px;
  max-width: 180px;
  width: auto;
}
.rst-web-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1f272e;
  margin: 0 0 10px;
}
.rst-web-card p {
  font-size: 14px;
  color: #74808b;
  margin: 0 0 22px;
  line-height: 1.55;
}
.rst-web-card .btn-primary {
  background: var(--primary);
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-hover) 100%);
  border: none;
  color: #fff !important;
  height: 48px;
  min-height: 48px;
  border-radius: 11px !important;
  font-size: 15px;
  font-weight: 600;
  padding: 0 24px;
  box-shadow: 0 8px 20px -8px var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
}
.rst-web-card .btn-primary:hover {
  color: #fff !important;
  opacity: 0.96;
}

.rst-message-head {
  margin-bottom: 12px;
}
.rst-message-head.rst-indicator-red h2 {
  color: #c62828;
}
.rst-message-head.rst-indicator-green h2 {
  color: #2e7d32;
}
.rst-message-head.rst-indicator-orange h2 {
  color: #ef6c00;
}
.rst-message-head.rst-indicator-blue h2 {
  color: var(--primary);
}

.rst-status-code {
  margin-top: 16px;
  font-size: 12px;
  color: #9aa4b2;
  text-align: center;
}

/* 404 page */
#page-404 .rst-web-page {
  max-width: 560px;
}

.rst-404-illustration {
  width: min(320px, 80%);
  height: auto;
  margin: 0 auto 18px;
  display: block;
}

/* Error page (server exception) */
#page-error .rst-web-page {
  max-width: 640px;
  text-align: left;
}
#page-error .rst-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
#page-error .error-content {
  border-radius: 12px;
  background: #f7f9fc;
  border: 1px solid #e1e5ec;
  margin-top: 12px;
  padding: 12px;
  max-height: 280px;
  overflow: auto;
}
#page-error .error-content pre {
  margin: 0;
  font-size: 12px;
  white-space: pre-wrap;
}
#page-error .view-error {
  border-radius: 8px;
}

#page-update-password .for-reset-password {
  text-align: left;
}
#page-update-password .page-card-head {
  padding: 0 0 14px;
  margin: 0;
  text-align: center;
}
#page-update-password .page-card-head h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #1f272e;
}
#page-update-password .form-control {
  border: 1px solid #e1e5ec;
  border-radius: 11px;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 15px;
  box-shadow: none;
}
#page-update-password .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
}
#page-update-password .btn-update {
  width: 100%;
  margin-top: 8px;
}
#page-update-password .sign-up-message {
  font-size: 14px;
  color: #74808b;
}
#page-update-password .password-strength-indicator {
  float: right;
  padding: 15px;
  margin-top: -38px;
  margin-right: -7px;
}
#page-update-password .password-strength-message {
  margin-top: -10px;
}

@media (max-width: 480px) {
  .rst-web-card {
    padding: 28px 22px 24px;
  }
  .rst-web-card h2 {
    font-size: 21px;
  }
  .rst-404-illustration {
    width: min(260px, 88%);
  }
}
