// Styles for browse/zrodla.html - Sources index page

.zrodla {
  // Summary paragraph in header
  &__summary {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.9rem;
  }

  // Centered search section
  &__search-section {
    margin-top: 25px;
  }

  &__search-form {
    display: inline-block;
    max-width: 500px;
    width: 100%;
  }

  &__search-group {
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
  }

  &__search-icon {
    background: transparent;
    border: none;
    color: #7f8c8d;
  }

  &__search-input {
    background: transparent;
    border: none;
    font-size: 1rem;
    padding: 12px;
  }

  // Card details - deleted from PBN warning
  &__deleted-warning {
    margin-bottom: 4px;
    color: #dc3545;
    font-size: 0.8rem;
  }

  // Card details - publication count
  &__publication-count {
    font-size: 0.8rem;
    color: #95a5a6;
  }

  // Empty state callout
  &__empty-callout {
    text-align: center;
    padding: 40px;
    border-radius: 8px;
  }

  &__empty-title {
    color: #856404;
    margin-bottom: 15px;
  }

  &__empty-icon {
    margin-right: 10px;
  }

  &__empty-text {
    margin-bottom: 20px;
    color: #6c5c00;
  }

  &__empty-button {
    background: #ffc107;
    color: #212529;
  }

  &__empty-button-icon {
    margin-right: 5px;
  }

  // Pagination styles
  &__pagination-nav {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    color: #2c3e50;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;

    &:hover {
      background: #e9ecef;
    }
  }

  &__pagination-nav-icon--left {
    margin-right: 5px;
  }

  &__pagination-nav-icon--right {
    margin-left: 5px;
  }

  &__pagination-ellipsis {
    padding: 8px 4px;
    color: #bdc3c7;
  }

  &__pagination-current {
    display: inline-block;
    padding: 8px 12px;
    background: var(--primary-color, #3498db);
    color: white;
    border-radius: 6px;
    font-weight: 600;
  }

  // Page button styles (for JavaScript application)
  &__page-btn {
    display: inline-block;
    padding: 8px 12px;
    background: #f8f9fa;
    color: #2c3e50;
    border-radius: 6px;
    text-decoration: none;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
    min-width: 40px;
    text-align: center;

    &:hover {
      background: #e9ecef;
    }
  }
}
