/* Styled Lists Specific Styles */
.styled-lists-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 120px 0 80px;
  margin-top: 56px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Basic Lists */
.standard-list {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.standard-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.custom-bullet-list {
  list-style: none;
  padding-left: 0;
}

.custom-bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.custom-bullet-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.icon-list {
  list-style: none;
  padding-left: 0;
}

.icon-list li {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.icon-list li:last-child {
  border-bottom: none;
}

.icon-list li::before {
  content: attr(data-icon);
  font-family: "Material Icons";
  margin-right: 0.75rem;
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Ordered Lists */
.standard-numbered {
  counter-reset: item;
  padding-left: 0;
}

.standard-numbered li {
  display: block;
  margin-bottom: 0.5rem;
  padding-left: 2rem;
  position: relative;
}

.standard-numbered li::before {
  content: counter(item) ".";
  counter-increment: item;
  position: absolute;
  left: 0;
  font-weight: bold;
  color: var(--primary-color);
}

.custom-numbered {
  counter-reset: step;
  padding-left: 0;
}

.custom-numbered li {
  display: block;
  margin-bottom: 1rem;
  padding-left: 3rem;
  position: relative;
}

.custom-numbered li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primary-color);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
}

.roman-list {
  list-style-type: upper-roman;
  padding-left: 2rem;
}

.roman-list li {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Feature Lists */
.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.feature-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  margin-right: 1rem;
  color: var(--primary-color);
}

.feature-content strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.feature-content p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Timeline Lists */
.timeline-list {
  list-style: none;
  padding-left: 0;
  position: relative;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-color);
}

.timeline-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.timeline-marker {
  position: absolute;
  left: -0.25rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background: var(--primary-color);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.timeline-content strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.timeline-date {
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 500;
}

.timeline-content p {
  margin: 0.5rem 0 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Progress Lists */
.progress-list {
  list-style: none;
  padding-left: 0;
}

.progress-list li {
  margin-bottom: 1.5rem;
}

.progress-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-weight: 500;
  color: var(--text-primary);
}

.skill-percentage {
  font-weight: 600;
  color: var(--primary-color);
}

.progress-bar-container {
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 4px;
  transition: width 1s ease-in-out;
  animation: progressAnimation 2s ease-in-out;
}

@keyframes progressAnimation {
  from {
    width: 0%;
  }
}

/* Step Lists */
.step-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-list li {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.step-list li.completed {
  background: rgba(76, 175, 80, 0.1);
  color: var(--success-color);
}

.step-list li.active {
  background: rgba(25, 118, 210, 0.1);
  color: var(--primary-color);
  font-weight: 500;
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-weight: bold;
  font-size: 0.875rem;
}

.step-list li.completed .step-number {
  background: var(--success-color);
  color: white;
}

.step-list li.active .step-number {
  background: var(--primary-color);
  color: white;
}

.step-list li:not(.completed):not(.active) .step-number {
  background: #e9ecef;
  color: var(--text-secondary);
}

/* Sortable Lists */
.sortable-list {
  list-style: none;
  padding-left: 0;
}

.sortable-list li {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  cursor: move;
  transition: all 0.3s ease;
}

.sortable-list li:hover {
  background: #e9ecef;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sortable-list li.dragging {
  opacity: 0.5;
  transform: rotate(5deg);
}

.drag-handle {
  margin-right: 0.75rem;
  color: var(--text-secondary);
  cursor: grab;
}

.drag-handle:active {
  cursor: grabbing;
}

.item-content {
  flex: 1;
  font-weight: 500;
}

/* Filterable Lists */
.filterable-list {
  list-style: none;
  padding-left: 0;
}

.filterable-list li {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
  position: relative;
}

.filterable-list li::after {
  content: attr(data-category);
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.filterable-list li.hidden {
  display: none;
}

.filterable-list li:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

/* Collapsible Lists */
.collapsible-list {
  list-style: none;
  padding-left: 0;
}

.collapsible-list > li {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.collapsible-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.collapsible-header:hover {
  background: #e9ecef;
}

.collapsible-header.active {
  background: var(--primary-color);
  color: white;
}

.collapsible-header .material-icons {
  transition: transform 0.3s ease;
}

.collapsible-header.active .material-icons {
  transform: rotate(180deg);
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
}

.collapsible-content.active {
  max-height: 200px;
  padding: 1rem;
}

.collapsible-content li {
  padding: 0.25rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.collapsible-content li:last-child {
  border-bottom: none;
}

/* Checklist */
.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  margin-bottom: 0.5rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.checklist-item:hover {
  background: #f8f9fa;
}

.checklist-item input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #dee2e6;
  border-radius: 4px;
  margin-right: 0.75rem;
  position: relative;
  transition: all 0.3s ease;
}

.checklist-item input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checklist-item input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 0.875rem;
}

.checklist-item input[type="checkbox"]:checked ~ .checklist-text {
  text-decoration: line-through;
  color: var(--text-secondary);
}

/* User Lists */
.user-list {
  list-style: none;
  padding-left: 0;
}

.user-list li {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.user-list li:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.user-avatar {
  width: 3rem;
  height: 3rem;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: white;
}

.user-info {
  flex: 1;
}

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

.user-role {
  color: var(--primary-color);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.user-email {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.user-actions {
  display: flex;
  gap: 0.5rem;
}

/* Stats Lists */
.stats-list {
  list-style: none;
  padding-left: 0;
}

.stats-list li {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.stats-list li:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(25, 118, 210, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary-color);
}

.stat-info {
  flex: 1;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-change {
  font-size: 0.875rem;
  font-weight: 500;
}

.stat-change.positive {
  color: var(--success-color);
}

.stat-change.negative {
  color: var(--danger-color);
}

/* Navigation Menu */
.nav-menu {
  list-style: none;
  padding-left: 0;
}

.nav-menu li {
  margin-bottom: 0.25rem;
}

.nav-menu a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background: #f8f9fa;
  color: var(--primary-color);
}

.nav-menu li.active a {
  background: var(--primary-color);
  color: white;
}

.nav-menu a .material-icons {
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

/* Breadcrumb */
.breadcrumb-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #f8f9fa;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
  content: ">";
  margin: 0 0.5rem;
  color: var(--text-secondary);
}

.breadcrumb-list a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
  color: var(--primary-dark);
}

.breadcrumb-list .current {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Tag List */
.tag-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-item {
  padding: 0.5rem 1rem;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
}

.tag-item:hover {
  background: #e9ecef;
  transform: translateY(-1px);
}

.tag-item.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Animated Lists */
.slide-list {
  list-style: none;
  padding-left: 0;
}

.slide-list li {
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.slide-list li:hover {
  background: white;
  border-left-color: var(--primary-color);
  transform: translateX(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.scale-list {
  list-style: none;
  padding-left: 0;
}

.scale-list li {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scale-list li:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.scale-list li .material-icons {
  margin-right: 0.75rem;
  font-size: 1.5rem;
}

/* Loading Lists */
.loading-list {
  list-style: none;
  padding-left: 0;
}

.loading-item {
  margin-bottom: 1rem;
}

.loading-skeleton {
  height: 3rem;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
}

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

/* Dynamic Lists */
.dynamic-list {
  list-style: none;
  padding-left: 0;
}

.dynamic-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  animation: slideInLeft 0.3s ease;
}

.dynamic-list li.removing {
  animation: slideOutRight 0.3s ease;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--danger-color);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.remove-btn:hover {
  background: rgba(244, 67, 54, 0.1);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .styled-lists-header {
    padding: 100px 0 60px;
  }

  .user-list li {
    flex-direction: column;
    text-align: center;
  }

  .user-avatar {
    margin-bottom: 1rem;
    margin-right: 0;
  }

  .user-actions {
    margin-top: 1rem;
  }

  .breadcrumb-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .breadcrumb-list li {
    margin-bottom: 0.25rem;
  }

  .breadcrumb-list li:not(:last-child)::after {
    display: none;
  }

  .tag-list {
    justify-content: center;
  }

  .stats-list li {
    flex-direction: column;
    text-align: center;
  }

  .stat-icon {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  .feature-list li {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin-bottom: 1rem;
    margin-right: 0;
  }

  .timeline-list {
    padding-left: 1rem;
  }

  .timeline-list::before {
    left: 0.25rem;
  }

  .timeline-marker {
    left: -0.375rem;
  }

  .step-list {
    gap: 1rem;
  }

  .nav-menu a {
    justify-content: center;
  }
}
