/**
 * Portal Loader Styles - Matches the 1Line Portal application styling.
 * 
 * Colors match the Angular portal app:
 *   - Primary blue: #1571be
 *   - Background overlay: #E2E8F0 (90% opacity)
 *   - Card shadow: rgba(11, 30, 37, 0.08)
 *   - Text color: #4e545a
 * 
 * Deploy this file to /Shared/css/portal-loader.css for use across all portal forms.
 */

.portal-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(226, 232, 240, 0.9);
  z-index: 11000;
}

.portal-loader__card {
  background: #fff;
  border-radius: 8px;
  padding: 24px 32px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(11, 30, 37, 0.08);
}

.portal-loader__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #E2E8F0;
  border-top-color: #1571be;
  border-radius: 50%;
  animation: portal-spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

.portal-loader__text {
  font-family: "Source Sans Pro", Arial, sans-serif;
  font-size: 14px;
  color: #4e545a;
}

@keyframes portal-spin {
  to { transform: rotate(360deg); }
}
