/*
 * 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.
 */

@import "admin_sentences.css";

.hidden {
  display: none !important;
}

.audio-playable {
  background-color: #e3f2fd;
  border-bottom: 3px dashed #1976d2;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.audio-playable:hover {
  background-color: #bbdefb;
}

.audio-unavailable {
  background-color: #f5f5f5;
  border-bottom: 3px dashed #ccc;
  cursor: not-allowed;
}

.audio-unavailable:hover {
  background-color: #f5f5f5;
}

.context-menu {
  position: fixed;
  z-index: 1000;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 12px;
  min-width: 150px;
}

.missing-attachable {
  background-color: red;
  color: white;
  padding: 4px 8px;
}

/* Pagy Pagination Styles */

.pagy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.pagy a,
.pagy span {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #1976d2;
  transition: all 0.2s ease;
}

.pagy a:hover {
  background-color: #e3f2fd;
  border-color: #1976d2;
}

.pagy .page.active,
.pagy span.page {
  background-color: #1976d2;
  color: white;
  border-color: #1976d2;
  cursor: default;
}

.pagy a.disabled {
  color: #ccc;
  border-color: #ddd;
  cursor: not-allowed;
  pointer-events: none;
}

.pagy .prev,
.pagy .next {
  font-weight: 500;
}

.pagy-nav {
  display: flex;
  justify-content: center;
}
