/* ===========================================================================
   SERVER ERROR POPUP
   ======================================================================== */

.server-error-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.server-error-card {
  width: 100%;
  max-width: 380px;
  box-sizing: border-box;
  padding: 26px 26px 22px;
  border-radius: 18px;
  text-align: center;
  background: rgba(58, 96, 102, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 44px rgba(4, 34, 45, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: "Archivo Expanded", Helvetica, Arial, sans-serif;
  color: #ffffff;
}

.server-error-icon {
  display: block;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.server-error-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.server-error-text {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.server-error-actions {
  display: flex;
  gap: 14px;
}

.server-error-button {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.server-error-button--primary {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.8);
}

.server-error-button:active {
  opacity: 0.75;
}
