/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Admin styles */
#wrapper {
  min-height: 100vh;
}

#sidebar-wrapper {
  min-width: 250px;
  width: 250px;
}

#page-content-wrapper {
  flex: 1;
}

/* Collapsible section icon rotation */
.collapse-icon {
  transition: transform 0.2s ease-in-out;
}

[aria-expanded="true"] .collapse-icon {
  transform: rotate(90deg);
}

/* Make collapsible headers look clickable */
[data-bs-toggle="collapse"] {
  cursor: pointer;
}

[data-bs-toggle="collapse"]:hover {
  opacity: 0.9;
}

/* Admin sidebar accordion styling */
#sidebarAccordion .accordion-item {
  border: none;
  background: transparent;
}

#sidebarAccordion .accordion-button {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  background: transparent;
  box-shadow: none;
}

#sidebarAccordion .accordion-button:not(.collapsed) {
  background: rgba(var(--bs-primary-rgb), 0.1);
}

#sidebarAccordion .accordion-button::after {
  width: 0.875rem;
  height: 0.875rem;
  background-size: 0.875rem;
}

#sidebarAccordion .list-group-item {
  border: none;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#sidebarAccordion .list-group-item.active {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
