/* Custom Styles for Cloudflare Deployment Hub */

/* Hide scrollbar for category and filter pills */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Safe area for mobile devices with home indicator / notch */
.safe-area-pb {
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
}

/* Glassmorphism Card Style */
.project-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 130, 31, 0.4);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px 0 rgba(246, 130, 31, 0.08);
}

/* List view adjustments */
.list-view-mode {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.list-view-mode .project-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}

@media (max-width: 640px) {
  .list-view-mode .project-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Custom scrollbar for modals */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.5);
}
::-webkit-scrollbar-thumb {
  background: rgba(71, 85, 105, 0.6);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.9);
}

/* Pulse badge animation */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.status-dot-active {
  animation: pulse-ring 2s infinite;
}
