/* Custom styles beyond Tailwind */

/* Progress bar animation */
.progress-bar-animation {
  transition: width 0.6s ease;
}

/* Team card hover effect */
.team-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Input focus styles */
input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* Button hover effects */
.button-hover-animation {
  transition: all 0.2s ease;
}

.button-hover-animation:hover {
  transform: translateY(-1px);
}

/* Activity log scrollbar styling */
#activityLog::-webkit-scrollbar {
  width: 8px;
}

#activityLog::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

#activityLog::-webkit-scrollbar-thumb {
  background: #c5c5c5;
  border-radius: 10px;
}

#activityLog::-webkit-scrollbar-thumb:hover {
  background: #a3a3a3;
}

/* Chart container responsive adjustments */
@media (max-width: 640px) {
  #attendanceChart {
    height: 250px !important;
  }
}

/* Smooth fade-in animation for new elements */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.3s ease forwards;
}

/* Validation styles */
.error-input {
  border-color: #ef4444 !important;
  background-color: rgba(254, 226, 226, 0.5);
}

.error-message {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
