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

body {
  font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
}

select,
input[type="text"],
input[type="search"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="url"],
input[type="tel"],
textarea {
  height: 2.75rem; /* 44px */
  min-height: 2.75rem;
  background-color: #f3f4f6; /* gray-100 */
  padding: 0.5rem 0.75rem;
  box-sizing: border-box;
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
}

textarea {
  height: auto;
}

/* Badge borders */
.bg-green-100 { border: 1px solid #86efac; /* green-300 */ }
.bg-gray-100  { border: 1px solid #d1d5db; /* gray-300 */ }
.bg-stone-100 { border: 1px solid #d6d3d1; /* stone-300 */ }
.bg-blue-100  { border: 1px solid #93c5fd; /* blue-300 */ }
.bg-emerald-100 { border: 1px solid #6ee7b7; /* emerald-300 */ }
.bg-red-100   { border: 1px solid #fca5a5; /* red-300 */ }
.bg-amber-100 { border: 1px solid #fcd34d; /* amber-300 */ }

/* Pagy pagination */
nav.pagy.series-nav {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 1.5rem;
}

nav.pagy.series-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0;
  border: 1px solid #d6d3d1; /* stone-300 */
  background-color: #fff;
  color: #44403c; /* stone-700 */
  text-decoration: none;
  transition: all 0.15s ease;
}

nav.pagy.series-nav a:hover:not([aria-disabled="true"]) {
  background-color: #f5f5f4; /* stone-100 */
  border-color: #a8a29e; /* stone-400 */
}

nav.pagy.series-nav a[aria-current="page"] {
  background-color: #059669; /* emerald-600 */
  border-color: #059669;
  color: #fff !important;
}

nav.pagy.series-nav a[aria-disabled="true"] {
  color: #a8a29e; /* stone-400 */
  cursor: default;
}

nav.pagy.series-nav a[role="separator"] {
  border: none;
  background: none;
}
