/* Error Card Styles for Custom Error Pages */
.error-card {
  max-width: 480px;
  margin: 4rem auto 2rem auto;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  border-radius: 2.2rem;
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
.error-title {
  font-family: 'Exo 2', 'Inter', Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #e63946;
  margin-bottom: 1.2rem;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(230,57,70,0.08);
}
.error-message {
  font-size: 1.18rem;
  color: #222;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.error-card a {
  color: #457b9d;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s;
}
.error-card a:hover {
  color: #1d3557;
}
#global-preloader {
  position: fixed;
  z-index: 99999;
  inset: 0;
  background: linear-gradient(120deg, #e3f0fc 0%, #fff 60%, #b3dafe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: 'Exo 2', 'Inter', Arial, sans-serif;
  color: #1565c0;
  font-size: 2.1em;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 12px #b3dafe, 0 1.5px 0 #fff;
  transition: opacity 0.5s;
  overflow: hidden;
}

#global-preloader::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(33, 101, 192, 0.18);
  z-index: 0;
  pointer-events: none;
}
#global-preloader > * {
  position: relative;
  z-index: 1;
}
#global-preloader .preloader-logo {
  font-family: 'Exo 2', 'Inter', Arial, sans-serif;
  font-size: 2.5em;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 0.7em;
  letter-spacing: 0.04em;
  text-shadow: 0 8px 32px #1565c0, 0 1.5px 0 #fff;
}
#global-preloader .preloader-phrase {
  font-size: 1.25em;
  color: #ffb300;
  margin-top: 0.5em;
  font-weight: 600;
  text-shadow: 0 2px 12px #b3dafe, 0 1.5px 0 #fff;
  min-height: 2.2em;
  transition: color 0.3s;
}
#global-preloader .preloader-spinner {
  margin-top: 2em;
  width: 48px;
  height: 48px;
  border: 5px solid #b3dafe;
  border-top: 5px solid #ffb300;
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
