/* CCTU SRC Past Questions Page - Main Stylesheet */

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Filter Chip Styles */
.filter-chip {
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-chip.active {
  background-color: #001e40;
  color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-chip:active {
  transform: scale(0.96);
}

/* File Card Styles */
.file-card {
  transition: all 0.25s ease;
}

.file-card:hover {
  transform: translateY(-2px);
  border-color: #fecb00;
}

/* Download Button */
.download-btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-btn:hover {
  transform: scale(1.08);
}

/* FAB Button */
.fab-btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px -5px rgba(0, 51, 102, 0.4);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1f2937;
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  font-family: 'Inter', sans-serif;
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Course Section Transition */
.course-section {
  transition: opacity 0.3s ease;
}

.course-section.hidden-section {
  display: none;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
  .filter-chip {
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
  }
  
  .file-card {
    padding: 0.75rem;
  }
  
  .toast-notification {
    font-size: 12px;
    padding: 10px 16px;
    white-space: normal;
    text-align: center;
    max-width: 85%;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .filter-chip:active {
    transform: scale(0.96);
  }
  
  .file-card:hover {
    transform: none;
  }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem;
  background: #f8f9ff;
  border-radius: 1rem;
  border: 1px dashed #c3c6d1;
}

.empty-state .material-symbols-outlined {
  font-size: 48px;
  color: #737780;
  margin-bottom: 1rem;
}

.empty-state p {
  color: #43474f;
  font-size: 0.875rem;
}