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


 */

/* Пагинация pagy (ПРОИЗВОДИТЕЛЬНОСТЬ-001) */
.pagy nav.pagy {
  display: flex;
  gap: 2px;
}

.pagy nav.pagy a,
.pagy nav.pagy span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  text-decoration: none;
  color: #374151;
  transition: background-color 0.15s;
}

.pagy nav.pagy a:hover {
  background-color: #f3f4f6;
}

.pagy nav.pagy a[aria-disabled] {
  color: #9ca3af;
  pointer-events: none;
}

.pagy nav.pagy a.current,
.pagy nav.pagy span.current {
  background-color: #2563eb;
  color: white;
  font-weight: 500;
}

.pagy nav.pagy .gap {
  color: #9ca3af;
}

/* Онбординг-туториал (ФИЧА-039): подсветка элемента навигации */
@keyframes onboarding-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.15); }
}

.onboarding-highlight {
  border-radius: 6px;
  background-color: rgba(219, 234, 254, 0.8) !important;
  color: #1d4ed8 !important;
  animation: onboarding-pulse 1.5s ease-in-out infinite;
}

/* Режим стажировки (ФИЧА-040): тултип подсказки */
.training-hint-popup {
  position: absolute;
  z-index: 60;
  top: calc(100% + 4px);
  left: 0;
  background-color: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  font-size: 0.8125rem;
  color: #92400e;
  max-width: 280px;
  white-space: normal;
  line-height: 1.5;
}
