/* Kaminari Pagination Styles with Tailwind */

.pagination {
  @apply flex items-center justify-center space-x-1;
}

.pagination .page, 
.pagination .first, 
.pagination .prev, 
.pagination .next, 
.pagination .last,
.pagination .gap {
  @apply inline-flex items-center px-3 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-300 hover:bg-gray-50 hover:text-gray-700 transition-colors duration-200;
}

.pagination .first {
  @apply rounded-l-md;
}

.pagination .last {
  @apply rounded-r-md;
}

.pagination .current {
  @apply inline-flex items-center px-3 py-2 text-sm font-medium text-white bg-indigo-600 border border-indigo-600 cursor-default;
}

.pagination .gap {
  @apply cursor-default hover:bg-white hover:text-gray-500;
}

.pagination a {
  @apply text-decoration-none;
}

.pagination a:hover {
  @apply text-decoration-none;
}

/* Дополнительные стили для мобильных устройств */
@media (max-width: 640px) {
  .pagination {
    @apply space-x-0;
  }
  
  .pagination .page, 
  .pagination .first, 
  .pagination .prev, 
  .pagination .next, 
  .pagination .last,
  .pagination .gap,
  .pagination .current {
    @apply px-2 py-1 text-xs;
  }
}

/* Стили для информации о количестве записей */
.pagination-info {
  @apply text-sm text-gray-600 mb-4;
} 
/*
 * 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.
 *


 */

/* Дополнительные стили приложения */

/* React DatePicker стили */
.react-datepicker-wrapper {
  width: 100%;
}

.react-datepicker__input-container input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.react-datepicker__input-container input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
}

.react-datepicker {
  font-family: inherit;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.react-datepicker__header {
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  padding-top: 0.5rem;
}

.react-datepicker__day--selected,
.react-datepicker__day--in-range {
  background-color: #3b82f6;
  color: white;
}

.react-datepicker__day--in-selecting-range {
  background-color: #dbeafe;
}

.react-datepicker__day:hover {
  background-color: #e5e7eb;
}

.react-datepicker__day--selected:hover,
.react-datepicker__day--in-range:hover {
  background-color: #2563eb;
}

/* Normalize button ripple effect */
@keyframes normalize-ripple {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(2.8); opacity: 0; }
}

.normalize-highlight {
  position: relative;
  background-color: #166534 !important;
  color: #fff !important;
  overflow: visible;
}

.normalize-highlight::before,
.normalize-highlight::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #22c55e;
  animation: normalize-ripple 1.4s ease-out infinite;
  pointer-events: none;
}

.normalize-highlight::after {
  animation-delay: 0.7s;
}

/*# sourceMappingURL=application.css-bfbcb3aae132f7e24dda36615f33439368642dd62dba23765435ae8f1324374e.map */
