/* ===== LOADING COMPONENT STYLES ===== */

/* ===== LOADING STATES ===== */
.loading {
  text-align: center;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* ===== MODERN SPINNER ===== */
.modern-spinner {
  position: relative;
  width: 60px;
  height: 60px;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
  animation-delay: 0s;
  opacity: 0.8;
}

.spinner-ring:nth-child(2) {
  animation-delay: 0.5s;
  opacity: 0.6;
  transform: scale(0.8);
}

.spinner-ring:nth-child(3) {
  animation-delay: 1s;
  opacity: 0.4;
  transform: scale(0.6);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-family: var(--font-family-primary);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== ERROR STATES ===== */
.error-details {
  font-size: 0.8rem;
  color: var(--color-error);
  font-family: var(--font-family-primary);
  font-weight: 400;
  margin-top: 0.5rem;
  opacity: 0.8;
  max-width: 300px;
  text-align: center;
  word-break: break-word;
}

.error {
  text-align: center;
  padding: 2rem;
  color: var(--color-error);
  font-size: 1.2rem;
}

/* ===== NO EVENTS STATES ===== */
.no-events {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--color-text-secondary);
}

.no-events h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-semibold);
}

.no-events p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  font-family: var(--font-family-primary);
  font-weight: var(--font-weight-normal);
}
