/* Premium UI/Animations */
:root {
  --primary: #0ea5e9;
  --secondary: #0284c7;
  --bg-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

body {
  background: var(--bg-gradient);
}

.employee-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.employee-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.1);
}

/* KPI employee cards */
.kpi-employee-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.kpi-employee-card:active {
  transform: scale(0.98);
}

input[type="time"] {
  position: relative;
}

/* Custom animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.4s forwards ease-out;
}

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(14, 165, 233, 0.3);
  border-radius: 50%;
  border-top-color: #0ea5e9;
  animation: spin 0.8s linear infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

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

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

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Modal animation */
#employee-modal:not(.hidden) {
  animation: fadeIn 0.2s forwards;
}

#employee-modal:not(.hidden)>div {
  animation: fadeInUp 0.3s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}