/* SmartRent - Custom Styles */

/* Hide scrollbar for clean UI navigation pills */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Custom subtle scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Tab active styles */
.tab-btn.active-tab {
  background-color: #0f172a;
  color: #34d399;
  border-bottom: 2px solid #10b981;
}

/* Kanban Card & Column Styles */
.kanban-cards {
  min-height: 120px;
  transition: background-color 0.2s ease;
  border-radius: 12px;
}

.kanban-cards.drag-over {
  background-color: rgba(52, 211, 153, 0.15) !important;
  outline: 2px dashed #10b981;
}

.kanban-card {
  cursor: grab;
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.kanban-card:active {
  cursor: grabbing;
}

.kanban-card.dragging {
  opacity: 0.45;
  transform: scale(0.97);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Pulse badge for overdue */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.animate-subtle-pulse {
  animation: pulse-subtle 2s infinite ease-in-out;
}

/* Property Pill Active */
.property-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.property-pill.active .pill-tag {
  background-color: rgba(16, 185, 129, 0.25);
  color: #34d399;
}

/* Toast styling */
.toast-msg {
  animation: slideInRight 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
