/* Main container for gallery list */
.gallery-list-container {
  margin: 0 auto;
  padding: 2rem;
  transform: translateY(0);
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.gallery-list-container--hidden {
  display: none;
}

/* Header with title and user info */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-header_title {
  font-size: 1.875rem;
  color: #1f2937;
  font-weight: 700;
}

/* User info section */
.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #374151;
}

.user-info_username {
  font-weight: 600;
}

/* Grid layout for gallery cards */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
  transform: translateY(0);
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.gallery-grid--hidden {
  display: none;
}

/* Individual gallery card */
.gallery-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

.gallery-card:hover {
  transform: translateY(-4px);
}

/* Gallery card content area */
.gallery-card_content {
  padding: 1rem;
}

/* Gallery title */
.gallery-card_title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #214c88;
  margin-bottom: 0.5rem;
}

/* Gallery info text */
.gallery-card_info {
  font-size: 1rem;
  color: #000000;
}

/* Owner badge */
.gallery-card_owner-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  background-color: #d9dffa;
  color: #25a2cc;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Empty state when no galleries */
.empty-gallery-list {
  text-align: center;
  padding: 5rem;
  color: #6b7280;
  transform: translateY(0);
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.empty-gallery-list--hidden {
  display: none;
}

.empty-gallery-list_title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Not authenticated message */
.not-authenticated {
  text-align: center;
  padding: 5rem 2rem;
  transform: translateY(0);
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.not-authenticated--hidden {
  display: none;
}

.not-authenticated_icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.not-authenticated_title {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 1rem;
  font-weight: 700;
}

.not-authenticated_message {
  font-size: 1.5rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.not-authenticated_actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Pagination controls */
.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.pagination-counter {
  font-size: 1rem;
  font-weight: 700;
  color: #6b7280;
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border-radius: 0.5rem;
  min-width: 120px;
  text-align: center;
}