/* Estilos del shell compartidos entre presty y presty-comercial.
 * Cargado vía stylesheet_link_tag "shell" en cada layout shared.
 */

button, [role="button"] {
  cursor: pointer;
}

/* Pagy pagination */
.series-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.series-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  background: white;
  text-decoration: none;
  transition: all 0.15s;
}

.series-nav a:hover:not([aria-disabled="true"]) {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.series-nav a[aria-current="page"] {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

.series-nav a[aria-disabled="true"]:not([aria-current="page"]) {
  color: #9ca3af;
  cursor: default;
  border-color: #e5e7eb;
  background: #f9fafb;
}

.series-nav a[aria-label] {
  font-size: 0;
  position: relative;
}

.series-nav a[aria-label]::after {
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.series-nav a[aria-label="Previous"]::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 19.5 8.25 12l7.5-7.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 19.5 8.25 12l7.5-7.5'/%3E%3C/svg%3E");
}

.series-nav a[aria-label="Next"]::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m8.25 4.5 7.5 7.5-7.5 7.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m8.25 4.5 7.5 7.5-7.5 7.5'/%3E%3C/svg%3E");
}
