.mod_tools_container {
  background: var(--frosted_secondary);
  width: 95%;
  margin-left: 2.5%;
  margin-right: 2.5%;
  border-radius: 5px;
  margin-top: 5%;
  border-radius: 8px;
  padding-bottom: 115px;
}

.mod_tools_container .featured_contents {
  display: flex;
  margin-top: 15px;
}

/* Mod Tools Page Styling */
.featured-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  margin: 0.5rem 0;
  background: var(--frosted_secondary);
  border-radius: 8px;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.featured-item-content {
  flex: 1;
  padding-right: 1rem;
}

.featured-item-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.featured-item-meta {
  font-size: 0.9rem;
  opacity: 0.8;
}

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

.remove-featured-btn {
  background: #ff4757;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
}

.remove-featured-btn:hover {
  background: #ff3742;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color, #007bff);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

.tools-navigation {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* All Contents Page Styling */
.all_contents_container {
  padding: 1rem;
  margin: 1rem;
  border-radius: 8px;
  background: var(--frosted_secondary);
}

.content-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  margin: 0.5rem 0;
  background: var(--frosted_secondary);
  border-radius: 8px;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  transition: all 0.3s ease;
}

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

.content-item.featured {
  border-left: 4px solid #28a745;
}

.content-item-content {
  flex: 1;
  padding-right: 1rem;
}

.content-item-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.content-item-title a {
  text-decoration: none;
  color: inherit;
}

.content-item-title a:hover {
  color: var(--accent-color, #007bff);
}

.content-item-meta {
  font-size: 0.9rem;
  opacity: 0.8;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.content-item-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.add-featured-btn,
.remove-featured-btn {
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 0.9rem;
}

.add-featured-btn {
  background: #28a745;
  color: white;
}

.add-featured-btn:hover {
  background: #218838;
}

.remove-featured-btn {
  background: #dc3545;
  color: white;
}

.remove-featured-btn:hover {
  background: #c82333;
}

.featured-badge {
  background: #28a745;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}

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

.filter-controls select,
.filter-controls input {
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.stat-badge {
  background: var(--frosted_secondary);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
}

.pagination-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .featured-item {
    flex-direction: column;
    align-items: stretch;
  }

  .featured-item-content {
    padding-right: 0;
    margin-bottom: 1rem;
  }

  .tools-navigation {
    flex-direction: column;
  }

  .content-item {
    flex-direction: column;
    align-items: stretch;
  }

  .content-item-content {
    padding-right: 0;
    margin-bottom: 1rem;
  }

  .content-item-meta {
    flex-direction: column;
    gap: 0.25rem;
  }

  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .stats-row {
    flex-direction: column;
  }
}
