/* Loading indicator styles */
body.page .Masthead-header {
  display: none;
}

.Masthead figure.loading-indicator {
  overflow: hidden;
  position: relative;
}

.Masthead .masthead-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 89, 140, 0.9); /* UCLA blue with higher opacity */
  padding: 15px 25px;
  border-radius: 6px;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: white;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  align-items: center;
  /* Initially hidden - will be shown by JS */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.Masthead .masthead-loading .loading-text {
  margin-right: 12px;
}

.Masthead .masthead-loading .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  border-radius: 50%;
  background-color: #ffffff; /* White dots */
  animation: dot-pulse 1.4s infinite ease-in-out;
}

.Masthead .masthead-loading .dot:nth-child(1) {
  animation-delay: 0s;
}

.Masthead .masthead-loading .dot:nth-child(2) {
  animation-delay: 0.2s;
}

.Masthead .masthead-loading .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dot-pulse {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}
