/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 *
 *= require_tree .
 *= require_self
 */

/* Tailwind CSS v3 syntax */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom application styles can be added below */

/* FullCalendar mobile toolbar spacing */
@media (max-width: 767px) {
  .fc-toolbar-title {
    font-size: 1rem !important;
    margin: 0 0.5rem !important;
  }

  .fc .fc-toolbar {
    gap: 0.25rem !important;
  }

  .fc .fc-toolbar-chunk {
    display: flex !important;
    align-items: center !important;
  }

  .fc .fc-button {
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem !important;
  }
}

/* Dynamic scroll bar styling */
.dynamic-scroll-bar-container {
  background: rgba(0, 0, 0, 0.05);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

.dynamic-scroll-bar-container::-webkit-scrollbar {
  height: 12px;
}

.dynamic-scroll-bar-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

.dynamic-scroll-bar-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  border: 2px solid rgba(0, 0, 0, 0.05);
}

.dynamic-scroll-bar-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}
