/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(243, 237, 226, 0.5);
}
::-webkit-scrollbar-thumb {
  background: #D4AF37;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B89025;
}

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

/* Tab active states */
.tab-btn {
  color: #5C1D24;
  border: 1px solid transparent;
}
.tab-btn:hover {
  background-color: rgba(212, 175, 55, 0.15);
}
.tab-btn.active {
  background-color: #5C1D24;
  color: #F3E5AB;
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 2px 6px rgba(92, 29, 36, 0.2);
}

/* Feed Category Filters */
.filter-btn {
  background-color: #FAF7F2;
  color: #473E3B;
  border: 1px solid #D5C5AC;
}
.filter-btn:hover {
  background-color: #F3EDE2;
  color: #2A080D;
}
.filter-btn.active {
  background-color: #5C1D24;
  color: #F3E5AB;
  border-color: #D4AF37;
  box-shadow: 0 1px 4px rgba(92, 29, 36, 0.15);
}

/* Radio buttons inside Upload Modal */
.category-radio input:checked + .radio-box {
  background-color: #5C1D24;
  color: #F3E5AB;
  border-color: #D4AF37;
  box-shadow: 0 2px 8px rgba(92, 29, 36, 0.25);
}

/* Post Cards */
.post-card {
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease;
}
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(92, 29, 36, 0.12), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reaction Button Pulses */
.reaction-btn {
  transition: transform 0.12s ease-out, background-color 0.15s ease;
}
.reaction-btn:active {
  transform: scale(0.92);
}
.reaction-btn.reacted {
  background-color: rgba(212, 175, 55, 0.2);
  border-color: #D4AF37;
  color: #946E13;
  font-weight: 700;
}

/* Modal animation */
@keyframes modalIn {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.animate-modalIn {
  animation: modalIn 0.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Prayed Pulse Animation */
@keyframes prayGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}
.pray-pulse {
  animation: prayGlow 0.6s ease-out;
}