/* Activity Log Main Container Styles */
.activity-log-container {
  padding: 2rem;
  min-height: 100vh;
  background: #e5e5e5;
}

.activity-log-section {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg, 1rem);
  padding: var(--spacing-xl, 2rem);
  box-shadow: 0 8px 32px rgba(255, 152, 0, 0.1);
  width: 100%;
}

.activity-log-loading,
.activity-log-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  gap: 1rem;
  color: var(--text-secondary, #666);
}

.activity-log-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color, #e5e5e5);
  border-top-color: var(--primary, #f21b23);
  border-radius: 50%;
  animation: activity-log-spin 0.8s linear infinite;
}

@keyframes activity-log-spin {
  to {
    transform: rotate(360deg);
  }
}

.activity-log-error p {
  margin: 0;
  color: var(--text-primary, #1a1a1a);
}

.activity-log-retry-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius, 8px);
  border: 1px solid var(--border-color, #e5e5e5);
  background: var(--bg-card, #fff);
  color: var(--text-primary, #1a1a1a);
  cursor: pointer;
  font-size: 0.9rem;
}

.activity-log-retry-btn:hover {
  background: var(--bg-gray, #e5e5e5);
}

/* Night mode: dark theme */
.night-mode .activity-log-container {
  background: #2e2c2c;
}

.night-mode .activity-log-section {
  background: rgba(58, 56, 56, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.night-mode .activity-log-loading,
.night-mode .activity-log-error {
  color: rgba(255, 255, 255, 0.75);
}

.night-mode .activity-log-loading-spinner {
  border-color: rgba(255, 255, 255, 0.2);
  border-top-color: #f21b23;
}

.night-mode .activity-log-error p {
  color: rgba(255, 255, 255, 0.95);
}

.night-mode .activity-log-retry-btn {
  background: #3a3838;
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.95);
}

.night-mode .activity-log-retry-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .activity-log-container {
    padding: 1rem;
  }

  .activity-log-section {
    padding: var(--spacing-md, 1rem);
  }

  .activity-log-section .pagination-container {
    flex-direction: column;
    gap: var(--spacing-md, 1rem);
    align-items: stretch;
    text-align: center;
  }

  .activity-log-section .pagination-controls {
    justify-content: center;
    flex-wrap: wrap;
  }
}

