/* Activity Log Styles */
.activity-item {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 0.75rem;
  background: white;
  border-radius: 0.375rem;
  border-left: 3px solid #3b82f6;
  font-size: 0.875rem;
}

.activity-item.fetch {
  border-left-color: #3b82f6;
}

.activity-item.upload {
  border-left-color: #10b981;
}

.activity-item.info {
  border-left-color: #6b7280;
}

.activity-item.error {
  border-left-color: #ef4444;
}

.activity-content {
  flex: 1;
}

.activity-subject {
  font-weight: 500;
  color: #111827;
  margin-bottom: 0.25rem;
}

.activity-details {
  font-size: 0.75rem;
  color: #6b7280;
}

.activity-time {
  font-size: 0.75rem;
  color: #9ca3af;
  white-space: nowrap;
  margin-left: 1rem;
}

/* Error Log Styles */
.error-item {
  padding: 0.75rem;
  background: white;
  border-radius: 0.375rem;
  border-left: 3px solid #ef4444;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.error-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.error-folder {
  font-weight: 500;
  color: #991b1b;
}

.error-message {
  color: #dc2626;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.error-details {
  font-size: 0.75rem;
  color: #6b7280;
  background: #f9fafb;
  padding: 0.5rem;
  border-radius: 0.25rem;
  margin-top: 0.5rem;
}

.error-details > div {
  margin-bottom: 0.25rem;
}

.error-details > div:last-child {
  margin-bottom: 0;
}

.error-details strong {
  color: #374151;
  margin-right: 0.25rem;
}

.error-time {
  font-size: 0.75rem;
  color: #9ca3af;
  white-space: nowrap;
}

/* Smooth transitions */
.transition-all {
  transition: all 0.3s ease;
}

/* Scrollbar styling */
.overflow-y-auto::-webkit-scrollbar {
  width: 8px;
}

.overflow-y-auto::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 4px;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Modal animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fixed.inset-0 {
  animation: fadeIn 0.2s ease-out;
}

/* Tab buttons */
.tab-button {
  padding: 1rem 1.5rem;
  border-bottom: 2px solid transparent;
  color: #6b7280;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.tab-button:hover {
  color: #374151;
  background-color: #f9fafb;
}

.tab-button.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
  background-color: #eff6ff;
}
