html {
  scroll-behavior: smooth;
}

/* #F5F5F5 */
body {
  /* background-color: #f5f5f5; */
  font-family: "Poppins";
  color: #4b5563;
}

/* Custom animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.dropdown-enter {
  animation: slideDown 0.2s ease-out forwards;
}

.dropdown-exit {
  animation: slideUp 0.2s ease-out forwards;
}

.flag-icon {
  transition: all 0.2s ease;
}

.language-option:hover .flag-icon {
  transform: scale(1.1);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in-down {
  animation: fadeInDown 0.6s ease-out forwards;
}

.gradient-text {
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.table-container {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.sort-icon {
  transition: transform 0.2s ease;
}

.sort-asc {
  transform: rotate(180deg);
}

.checkbox-custom {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #d1d5db;
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.checkbox-custom:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.checkbox-custom:checked::after {
  content: "✓";
  position: absolute;
  top: -2px;
  left: 1px;
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.status-published {
  background-color: #dcfce7;
  color: #166534;
}

.status-draft {
  background-color: #fef3c7;
  color: #92400e;
}

.row-hover {
  transition: background-color 0.15s ease;
}

.row-hover:hover {
  background-color: #f9fafb;
}

.selected-row {
  background-color: #eff6ff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease;
}
