/* Custom styles for GoalGuard app */
@keyframes fade-in-out {
  0% { opacity: 0; transform: translateY(-10px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-10px); }
}

.animate-fade-in-out {
  animation: fade-in-out 3s forwards;
}

/* Custom range input styling */
input[type="range"] {
  -webkit-appearance: none;
  height: 8px;
  background: #e5e7eb;
  border-radius: 5px;
  background-image: linear-gradient(to right, #3B82F6, #34D399);
  background-size: 70% 100%;
  background-repeat: no-repeat;
}

.dark input[type="range"] {
  background-color: #374151;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: in;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid #3B82F6;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  cursor: pointer;
  border: 2px solid #3B82F6;
}

/* Card hover effects */
.hover-scale {
  transition: transform 0.2s ease;
}

.hover-scale:hover {
  transform: translateY(-4px);
}

/* Goal card status colors */
.status-on-track {
  background-color: rgba(16, 185, 129, 0.1);
  color: rgb(16, 185, 129);
}

.status-at-risk {
  background-color: rgba(245, 158, 11, 0.1);
  color: rgb(245, 158, 11);
}

.status-penalty {
  background-color: rgba(239, 68, 68, 0.1);
  color: rgb(239, 68, 68);
}