/* Additional styles for missing components */

/* About page styles */
.author-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}

.author-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--border-color);
}

.author-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.author-bio {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.topic-list {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.topic-list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.blog-stats {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

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

.stat-item {
  text-align: center;
  padding: 1rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-cta {
  text-align: center;
  padding: 2rem;
  background-color: var(--surface-color);
  border-radius: var(--border-radius);
  margin-top: 2rem;
}

/* Contact page styles */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-methods {
  margin-top: 2rem;
}

.contact-method {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--surface-color);
  border-radius: var(--border-radius);
}

.contact-method h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-color);
}

.contact-form-section {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Categories page styles */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.category-card {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.category-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.category-content h3 {
  margin: 0 0 1rem 0;
}

.category-content h3 a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
}

.category-content h3 a:hover {
  color: var(--primary-color);
}

.category-description {
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.category-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Tag cloud styles */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-cloud .tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--border-color);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 9999px;
  font-size: 0.875rem;
  transition: var(--transition);
}

.tag-cloud .tag:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Breadcrumb styles */
.breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Error page styles */
.error-page {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 0;
}

.error-content {
  text-align: center;
}

.error-code {
  font-size: 6rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 0;
  line-height: 1;
}

.error-title {
  font-size: 2rem;
  margin: 1rem 0;
  color: var(--text-color);
}

.error-message {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.search-suggestion {
  margin-top: 2rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
  margin: 1rem auto 0;
}

.helpful-links {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.helpful-links h3 {
  margin: 0 0 1rem 0;
  color: var(--text-color);
}

.helpful-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.helpful-links li {
  margin-bottom: 0.5rem;
}

.helpful-links a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.helpful-links a:hover {
  text-decoration: underline;
}

/* Auth page styles */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-color);
  padding: 2rem;
}

.auth-card {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h1 {
  margin: 0 0 0.5rem 0;
  color: var(--text-color);
}

.auth-header p {
  margin: 0;
  color: var(--text-muted);
}

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

.auth-footer {
  text-align: center;
}

.auth-footer p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}

.auth-footer a {
  color: var(--primary-color);
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
}

/* Legal pages styles */
.page-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  margin: 0 0 1rem 0;
  color: var(--text-color);
}

.page-header p {
  margin: 0;
  color: var(--text-muted);
}

.legal-content section {
  margin-bottom: 2rem;
}

.legal-content h2 {
  color: var(--text-color);
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-content p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Admin additional styles */
.filter-tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.filter-tabs li {
  margin-right: 2rem;
}

.filter-tabs a {
  display: block;
  padding: 1rem 0;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.filter-tabs a:hover,
.filter-tabs a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.posts-table-container {
  overflow-x: auto;
  background-color: var(--surface-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.posts-table {
  width: 100%;
  border-collapse: collapse;
}

.posts-table th,
.posts-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.posts-table th {
  background-color: var(--background-color);
  font-weight: 600;
  color: var(--text-color);
}

.posts-table td {
  color: var(--text-color);
}

.posts-table a {
  color: var(--primary-color);
  text-decoration: none;
}

.posts-table a:hover {
  text-decoration: underline;
}

.bulk-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.status-verified {
  background-color: #dcfce7;
  color: #166534;
}

.status-unverified {
  background-color: #fef3c7;
  color: #92400e;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-avatar-placeholder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.comment-item {
  background-color: var(--surface-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.comment-website {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.875rem;
}

.comment-meta {
  text-align: right;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.comment-post {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  font-size: 0.875rem;
}

.comment-content {
  margin-bottom: 1rem;
  line-height: 1.6;
  padding: 1rem;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  border-left: 3px solid var(--primary-color);
}

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

.btn-success {
  background-color: #10b981;
  color: white;
}

.btn-success:hover {
  background-color: #059669;
}

/* Media details styles */
.media-details {
  padding: 1.5rem;
}

.media-preview-large {
  text-align: center;
  margin-bottom: 2rem;
}

.file-icon-large {
  font-size: 4rem;
  color: var(--text-muted);
  padding: 2rem;
}

.media-details-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.media-details-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.media-details-table td:first-child {
  width: 30%;
  font-weight: 600;
}

.media-actions-detailed {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Responsive design */
@media (max-width: 768px) {
  .author-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .error-page {
    grid-template-columns: 1fr;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .search-form {
    flex-direction: column;
  }

  .filter-tabs {
    flex-wrap: wrap;
  }

  .filter-tabs li {
    margin-right: 1rem;
    margin-bottom: 0.5rem;
  }

  .action-buttons {
    flex-direction: column;
  }

  .comment-header {
    flex-direction: column;
    gap: 1rem;
  }

  .comment-meta {
    text-align: left;
  }

  .media-actions-detailed {
    flex-direction: column;
  }
}
