/* ============================================================ */
/* GENGAR SCANS SYSTEM - Comprehensive List Management Styles */
/* ============================================================ */

/* Liste Container ve Layout */
.lists-container {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

.lists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Liste View Toggle */
.view-toggle {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 0.25rem;
  overflow: hidden;
}

.view-toggle .btn {
  background: transparent !important;
  border: none !important;
  color: var(--text-secondary) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-md) !important;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.view-toggle .btn:hover {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.view-toggle .btn.active,
.view-toggle .btn-check:checked + .btn {
  background: var(--gradient-primary) !important;
  color: #fff !important;
  box-shadow: var(--shadow-lg);
}

/* Liste Kartları */
.list-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(10px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.list-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-xl);
}

.list-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.list-card:hover::before {
  opacity: 0.05;
}

/* Liste Cover Preview */
.list-covers-preview {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  padding: 0.5rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.list-covers-preview.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(139, 92, 246, 0.1) 100%
  );
  border: 2px dashed rgba(99, 102, 241, 0.3);
}

.list-covers-preview .empty-state {
  text-align: center;
  color: var(--text-muted);
}

.list-covers-preview .empty-state i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.preview-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.preview-cover:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.list-card:hover .preview-cover {
  transform: scale(1.02);
}

/* Liste Card Body */
.list-card .card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.list-card .card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.list-card .card-title a {
  color: inherit;
  text-decoration: none;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-card .card-title a:hover {
  color: var(--accent-primary);
}

/* Liste Meta Bilgileri */
.list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.list-meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.list-meta-item i {
  font-size: 0.8rem;
}

/* Liste Description */
.list-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.list-actions .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}

/* Privacy ve Status Badges */
.privacy-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.privacy-badge.public {
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.privacy-badge.private {
  background: rgba(107, 114, 128, 0.2);
  color: #d1d5db;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

.featured-badge {
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Liste Filtreleri */
.lists-filters {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  min-width: 80px;
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-buttons .btn {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-md);
  text-transform: none;
  letter-spacing: 0;
  transition: all 0.2s ease;
}

.filter-buttons .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
}

.filter-buttons .btn-outline-light:hover,
.filter-buttons .btn-outline-light.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
}

/* Search ve Sort */
.lists-search {
  position: relative;
}

.lists-search input {
  padding-left: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
}

.lists-search .search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  z-index: 5;
}

.sort-dropdown .dropdown-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

/* Liste Form Stilleri */
.list-form {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.char-counter {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  margin-top: 0.25rem;
  transition: color 0.3s ease;
}

.char-counter.warning {
  color: var(--accent-warning);
}

.char-counter.danger {
  color: var(--accent-danger);
}

/* Privacy Settings */
.privacy-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.privacy-option {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.privacy-option:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.privacy-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.privacy-option input[type="radio"]:checked + .option-content {
  color: var(--text-primary);
}

.privacy-option input[type="radio"]:checked ~ .option-content {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.privacy-option.selected {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.1);
}

.option-content {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.option-content i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.option-content h6 {
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.option-content small {
  font-size: 0.8rem;
}

/* Liste Detail Page */
.list-header {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.list-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: var(--gradient-primary);
  opacity: 0.05;
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.list-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.list-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.stat-item i {
  color: var(--accent-primary);
  font-size: 1rem;
}

.stat-value {
  font-weight: 600;
  color: var(--text-primary);
}

/* Liste Actions Header */
.list-actions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--bg-glass);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bulk-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.bulk-actions.show {
  opacity: 1;
  visibility: visible;
}

.selected-count {
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Manga List Item */
.manga-list-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.manga-list-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.manga-list-item.selected {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.1);
}

/* Selection Checkbox */
.item-checkbox {
  position: relative;
}

.item-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-primary);
  cursor: pointer;
}

/* Manga Info */
.manga-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.manga-cover-small {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  background: var(--bg-secondary);
}

.manga-details {
  flex: 1;
  min-width: 0;
}

.manga-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manga-subtitle {
  color: var(--text-secondary);
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* User Rating */
.user-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.rating-stars-small {
  gap: 0.125rem;
}

.rating-star-small {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.rating-star-small.active {
  color: #f59e0b;
}

.rating-star-small:hover {
  color: #fbbf24;
}

/* Progress Bar */
.progress-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.progress-bar-container {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: 3px;
}

.progress-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Item Actions */
.item-actions {
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.manga-list-item:hover .item-actions {
  opacity: 1;
}

.item-actions .btn {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  text-transform: none;
  letter-spacing: 0;
}

/* Quick Add Modal */
.quick-add-modal .modal-dialog {
  max-width: 600px;
}

.quick-add-modal .modal-content {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
}

.quick-add-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
}

.quick-add-modal .modal-body {
  padding: 1.5rem;
}

.quick-add-modal .modal-content {
  background: #1f2429 !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 10px;
  overflow: hidden;
}

.quick-add-modal .modal-header {
  background: rgba(255, 255, 255, 0.02);
}

.quick-add-modal .input-group {
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.quick-add-modal .input-group:focus-within {
  border-color: rgba(99, 102, 241, 0.75);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16);
}

.quick-add-modal .input-group-text,
.quick-add-modal #modalSearchInput {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.quick-add-modal .input-group-text {
  width: 46px;
  justify-content: center;
  color: rgba(255, 255, 255, 0.58) !important;
}

.quick-add-modal #modalSearchInput {
  min-height: 48px;
  color: #fff !important;
  padding-left: 0.25rem;
}

.modal-search-results {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: min(400px, 56vh);
  overflow-y: auto;
  padding-right: 0.25rem;
}

.modal-search-result-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  min-height: 86px;
  padding: 0.625rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.modal-search-result-item:hover {
  background: rgba(99, 102, 241, 0.11);
  border-color: rgba(99, 102, 241, 0.32);
  transform: translateY(-1px);
}

.modal-search-result-item .search-result-cover {
  width: 58px;
  height: 78px;
  object-fit: cover;
  border-radius: 7px;
  background: var(--bg-tertiary, #1a1a1a);
  flex-shrink: 0;
  display: block;
}

.modal-search-result-item .search-result-content {
  min-width: 0;
}

.modal-search-result-item .search-result-title {
  margin: 0;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-search-result-item .search-result-subtitle {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 0.8rem;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-search-result-item .search-result-add-btn {
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  border-radius: 9px;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .modal-search-result-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .modal-search-result-item .search-result-cover {
    width: 52px;
    height: 70px;
  }

  .modal-search-result-item .search-result-add-btn {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }
}

.user-lists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.user-lists-grid::-webkit-scrollbar {
  width: 6px;
}

.user-lists-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.user-lists-grid::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 3px;
}

/* List Selection Card */
.list-selection-card {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.list-selection-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.list-selection-card.selected {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.1);
}

.list-selection-card.already-added {
  border-color: var(--accent-success);
  background: rgba(16, 185, 129, 0.1);
  cursor: default;
}

.list-selection-card.already-added:hover {
  transform: none;
}

.list-selection-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.list-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
  display: block;
}

.list-selection-card.already-added .list-icon {
  color: var(--accent-success);
}

.list-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.list-count {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.already-added-indicator {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent-success);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
}

/* New List Creation */
.new-list-form {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-top: 1rem;
}

.new-list-form .form-group {
  margin-bottom: 1rem;
}

.new-list-form .form-group:last-child {
  margin-bottom: 0;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1100;
}

#listsToastContainer {
  top: 1rem;
  right: 1rem;
  bottom: auto;
  left: auto;
  z-index: 1100;
}

.toast {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  color: var(--text-primary);
  min-width: 300px;
}

.toast.success {
  border-left: 4px solid var(--accent-success);
}

.toast.error {
  border-left: 4px solid var(--accent-danger);
}

.toast.warning {
  border-left: 4px solid var(--accent-warning);
}

.toast.info {
  border-left: 4px solid var(--accent-info);
}

.toast-header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.toast-body {
  color: var(--text-secondary);
}

/* Loading States */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--accent-primary);
  animation: spin 1s linear infinite;
}

.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.5;
}

.empty-state h4 {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.empty-state p {
  margin-bottom: 2rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Social Features */
.social-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.like-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.like-button:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.like-button.liked {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}

.share-button {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--accent-primary);
}

.share-button:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #fff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .lists-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }

  .list-actions-header {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .lists-container {
    padding: 1rem 0;
  }

  .lists-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .list-card {
    margin-bottom: 1rem;
  }

  .list-covers-preview {
    height: 150px;
  }

  .list-header {
    padding: 1.5rem;
  }

  .list-title {
    font-size: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .list-stats {
    gap: 1rem;
  }

  .manga-list-item {
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .manga-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .item-actions {
    opacity: 1;
    justify-content: center;
  }

  .user-lists-grid {
    grid-template-columns: 1fr;
  }

  .view-toggle {
    width: 100%;
    justify-content: center;
  }

  .filter-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .filter-label {
    min-width: auto;
  }

  .lists-filters {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .lists-container {
    padding: 0.5rem 0;
  }

  .list-card .card-body {
    padding: 1rem;
  }

  .list-covers-preview {
    height: 120px;
    padding: 0.25rem;
    gap: 1px;
  }

  .list-header {
    padding: 1rem;
  }

  .list-title {
    font-size: 1.25rem;
  }

  .manga-list-item {
    padding: 0.5rem;
  }

  .manga-cover-small {
    width: 50px;
    height: 70px;
  }

  .manga-title {
    font-size: 0.9rem;
  }

  .manga-subtitle {
    font-size: 0.8rem;
  }

  .privacy-options {
    grid-template-columns: 1fr;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
  }

  .toast {
    min-width: auto;
    width: 100%;
  }

  .quick-add-modal .modal-dialog {
    margin: 0.5rem;
    max-width: none;
  }

  .new-list-form,
  .lists-filters {
    margin: 0 -0.5rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

/* Print Styles */
@media print {
  .list-actions,
  .item-actions,
  .view-toggle,
  .lists-filters,
  .social-actions {
    display: none !important;
  }

  .list-card,
  .manga-list-item {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    background: #fff !important;
    color: #000 !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .list-card,
  .manga-list-item,
  .lists-filters {
    border: 2px solid rgba(255, 255, 255, 0.5);
  }

  .privacy-badge,
  .featured-badge {
    border-width: 2px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .list-card,
  .manga-list-item,
  .preview-cover,
  .loading-spinner,
  .skeleton {
    animation: none !important;
    transition: none !important;
  }

  .list-card:hover,
  .manga-list-item:hover {
    transform: none !important;
  }
}

/* ============================================================ */
/* MY-LISTS PAGE SPECIFIC STYLES */
/* ============================================================ */

/* List Cards - Grid Layout */
.list-card {
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.list-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-xl);
}

.list-card .card-body {
  padding: 1.5rem;
}

.list-card .my-list-description {
  min-height: 0;
  max-height: 3.2em;
  margin: 0 0 1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.55;
}

.my-list-card-footer {
  margin-top: 0.25rem;
}

.my-list-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.my-list-meta-row small {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 0.86rem;
}

.my-list-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.my-list-edit-btn {
  min-width: 0;
  height: 40px;
  padding: 0 1rem;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #f59e0b !important;
  border-radius: 10px;
  background: transparent !important;
  color: #f59e0b !important;
}

.my-list-edit-btn i {
  margin: 0;
}

.my-list-edit-btn:hover,
.my-list-edit-btn:focus {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
  color: #111827 !important;
}

.my-list-action-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor !important;
  border-radius: 10px;
}

.my-list-action-btn i {
  margin: 0;
}

.list-cover-preview {
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
}

.list-cover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  height: 100%;
  width: 100%;
}

.list-cover-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bg-tertiary);
  position: relative;
}

.list-cover-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.list-cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 2rem;
  background: var(--bg-tertiary);
  height: 260px;
}

.list-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.list-privacy-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
}

.list-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.list-actions .btn {
  flex: 1;
}

/* Grid View - Yan Yana Liste Düzeni */
#listsGrid:not(.list-view) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

.list-card-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.list-card-container .list-card {
  flex: 1;
  height: 100%;
}

/* List View Mode - Horizontal Cards */
.list-view .row,
.list-view#listsGrid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.list-view .col-lg-4,
.list-view .col-md-6 {
  max-width: none;
  flex: none;
  width: 100%;
  padding: 0;
}

.list-view .list-card,
.list-view .public-list-card {
  display: flex;
  flex-direction: row;
  min-height: 150px;
  height: auto;
}

.list-view .list-cover-preview {
  width: 200px;
  min-height: 150px;
  max-height: 250px;
  flex-shrink: 0;
  overflow: hidden;
}

.list-view .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.list-view .list-actions {
  align-self: stretch;
  flex-direction: row;
}

/* Responsive Design */
@media (max-width: 1200px) {
  #listsGrid:not(.list-view) {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
  }
}

@media (max-width: 992px) {
  #listsGrid:not(.list-view) {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  #listsGrid:not(.list-view) {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }

  .list-view .list-card,
  .list-view .public-list-card {
    flex-direction: column;
  }

  .list-view .list-cover-preview {
    width: 100%;
    height: 150px;
  }

  .list-actions {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    margin: 1rem;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  #listsGrid:not(.list-view) {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ============================================================ */
/* FILTER CONTROLS - MOBILE RESPONSIVE STYLES */
/* ============================================================ */

/* Mobile specific filter control adjustments */
@media (max-width: 767px) {
  /* Filter controls wrapper */
  .row.mb-4 {
    margin-bottom: 1.5rem !important;
  }

  /* First column with view toggle and filter */
  .row.mb-4 .col-12:first-child .d-flex {
    justify-content: flex-start !important;
    flex-wrap: wrap;
    gap: 0.75rem !important;
    margin-bottom: 1rem;
  }

  /* Second column with sort */
  .row.mb-4 .col-12:last-child .d-flex {
    justify-content: flex-start !important;
  }

  /* View toggle buttons */
  .btn-group[role="group"] {
    flex-shrink: 0;
  }

  /* Filter and sort dropdowns */
  .dropdown .btn {
    min-width: auto;
    white-space: nowrap;
  }

  /* Ensure proper spacing between elements */
  .gap-3 {
    gap: 0.75rem !important;
  }
}

@media (max-width: 575px) {
  /* Very small mobile devices */
  .row.mb-4 .col-12 .d-flex {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  /* Stack view toggle and filter vertically on very small screens */
  .row.mb-4 .col-12:first-child .d-flex {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  /* Make buttons full width on very small screens */
  .btn-group[role="group"],
  .dropdown {
    flex: 1;
    min-width: 0;
  }

  .dropdown .btn {
    width: 100%;
    justify-content: center;
  }

  /* Adjust button sizes for mobile */
  .btn-sm {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
  }
}

/* Landscape mobile adjustments */
@media (max-width: 767px) and (orientation: landscape) {
  .row.mb-4 .col-12 .d-flex {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .row.mb-4 .col-12:first-child .d-flex {
    justify-content: flex-start;
  }

  .row.mb-4 .col-12:last-child .d-flex {
    justify-content: flex-end;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
  .row.mb-4 .d-flex {
    gap: 1rem !important;
  }

  /* Ensure proper alignment on tablets */
  .row.mb-4 .col-md-6:first-child .d-flex {
    justify-content: flex-start;
  }

  .row.mb-4 .col-md-6:last-child .d-flex {
    justify-content: flex-end;
  }
}

/* Desktop fine-tuning */
@media (min-width: 992px) {
  .row.mb-4 .col-lg-6 .d-flex {
    gap: 1.5rem !important;
  }
}

/* ============================================================ */
/* VIEW TOGGLE - YENİ TASARIM STILLERİ */
/* ============================================================ */

.view-toggle-container {
  gap: 2px !important;
}

.view-toggle-btn {
  border-radius: 6px !important;
  border: 1px solid #6c757d !important;
  background: transparent !important;
  color: #fff !important;
  padding: 8px 16px !important;
  transition: all 0.3s ease !important;
}

.view-toggle-btn:first-child {
  flex: 0 0 auto !important;
  min-width: 48px !important;
}

.view-toggle-btn.btn-primary {
  background: #6f42c1 !important;
  border-color: #6f42c1 !important;
  color: white !important;
}

.view-toggle-btn:hover {
  background: #495057 !important;
  border-color: #495057 !important;
}

/* Clickable list card hover effect */
.public-list-card[data-list-id],
.list-card[data-list-id] {
  cursor: pointer;
}

.public-list-card[data-list-id]:hover,
.list-card[data-list-id]:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.view-toggle-btn.btn-primary:hover {
  background: #5a359a !important;
  border-color: #5a359a !important;
}
