/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/*= require about */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.navbar {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar-brand a {
  text-decoration: none;
  color: #d4a574;
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navbar-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar-menu a:hover {
  color: #d4a574;
}

.btn-sign-in {
  background-color: #d4a574;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn-sign-in:hover {
  background-color: #c4935f;
}

.btn-sign-out {
  background-color: #dc3545;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
  margin-left: 1rem;
}

.btn-sign-out:hover {
  background-color: #c82333;
}

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

.navbar-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.navbar-toggle.active .hamburger:nth-child(1) {
  transform: rotate(-45deg) translate(-10px, 8px);
}

.navbar-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active .hamburger:nth-child(3) {
  transform: rotate(45deg) translate(-10px, -8px);
}

@media (max-width: 768px) {
  .navbar-toggle {
    display: flex;
  }

  .navbar-container {
    flex-wrap: wrap;
    padding: 1rem 1.5rem;
  }

  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    gap: 0;
    width: 100%;
    padding: 1rem 0;
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-menu li {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
  }

  .navbar-menu li:last-child {
    border-bottom: none;
  }

  .navbar-menu a {
    display: block;
    color: #333;
    text-decoration: none;
    font-weight: 500;
  }

  .navbar-user {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    align-items: center;
  }

  .navbar-user a {
    width: 100%;
  }

  .btn-sign-out {
    margin-left: 0;
    width: 100%;
  }
}

main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

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

.btn-danger {
    height: 45px;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #d4a574;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: #d4a574;
  color: white;
}

.btn-primary:hover {
  background-color: #c4935f;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background-color: #5a6268;
}

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

.btn-danger:hover {
  background-color: #c82333;
}

.btn-group {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.recipe-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.recipe-card h2 {
  color: #d4a574;
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.recipe-card p {
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.recipe-card a {
  color: #d4a574;
  text-decoration: none;
}

.recipe-card a:hover {
  text-decoration: underline;
}

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

.hero {
  background: linear-gradient(135deg, #d4a574 0%, #f4e8d0 100%);
  color: #fff;
  padding: 4rem 2rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-container {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-container h2 {
  color: #d4a574;
  margin-bottom: 1.5rem;
}

.error-message {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

  .recipes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
  }

  .recipes-header h1 {
    color: #d4a574;
    font-size: 2rem;
    margin: 0;
  }

  .recipe-actions {
    display: flex;
    gap: 1rem;
  }

  .recipe-actions-card {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
  }

  .recipe-actions-card .btn {
    color: #ffffff !important;
    font-weight: 600;
    flex: 1;
    text-align: center;
  }

  .recipe-actions-card form {
    flex: 1;
  }

  .recipe-actions-card form button {
    width: 100%;
    text-align: center;
  }


  .recipe-meta {
    margin: 0.5rem 0 1rem 0;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 8px;
  }

  .empty-state h2 {
    color: #d4a574;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .empty-state-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
  }

  .icon-edit,
  .icon-delete {
    color: #d4a574;
    font-size: 1.5rem;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
  }

  .icon-back {
    color: #d4a574;
    font-size: 1.5rem;
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
  }

  .icon-edit:hover {
    color: #c4935f;
  }

  .icon-delete {
    color: #dc3545;
  }

  .icon-delete:hover {
    color: #c82333;
  }

  .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

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

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

  .search-filter-container {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .search-filter-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .search-input {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: #333;
    font-size: 1rem;
    width: 400px;
    height: 38px;
    box-sizing: border-box;
  }

  .search-input:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
  }

  .filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    width: 180px;
  }

  .filter-select:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
  }

  .search-btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }

  .search-group {
    display: flex;
    gap: 0.5rem;
  }

  @media (max-width: 768px) {
    .search-filter-form {
      flex-direction: column;
      gap: 1rem;
    }
  }

  @media (max-width: 768px) {
    .recipes-header {
      flex-direction: column;
      gap: 1rem;
    }

    .recipe-actions {
      flex-direction: column;
    }


  }

    .recipe-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .recipe-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1rem;
  }

  .recipe-header h1 {
    color: #d4a574;
    font-size: 2.5rem;
    margin: 0 0 0 1rem;
    flex: 1;
  }

  .recipe-controls {
    display: flex;
    gap: 0.5rem;
  }

  .recipe-header .icon-edit {
    padding: 0.25rem;
  }

  .recipe-description {
    background: #f9f7f4;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
  }

  .recipe-description h3 {
    color: #d4a574;
    margin-top: 0;
  }

  .recipe-categories {
    background: #f0f8e8;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #28a745;
  }

  .recipe-categories {
    margin: 0.5rem 0;
  }

  .category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    color: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
    border: 1px solid #e9ecef;
  }

  .category-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .category-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 0.25rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    vertical-align: middle;
    position: relative;
  }

  .category-tooltip {
    display: none;
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
  }

  .category-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #333;
  }

  [data-controller="category-tooltip"] {
    position: relative;
    display: inline-block;
  }

  input[type="color"] {
    width: 60px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    padding: 0;
  }

  input[type="color"]:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
  }

  .recipe-source {
    background: #e8f4f8;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #17a2b8;
  }

  .recipe-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .recipe-section h2 {
    color: #d4a574;
    border-bottom: 2px solid #d4a574;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .ingredients-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .ingredient-item {
    padding: 0.75rem;
    background: #f9f7f4;
    border-radius: 4px;
    border-left: 3px solid #d4a574;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .ingredient-checkbox,
  .step-checkbox {
    width: 18px;
    height: 18px;
    appearance: none;
    border: 2px solid #d4a574;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
  }

  .ingredient-checkbox:checked,
  .step-checkbox:checked {
    background-color: #d4a574;
    border-color: #d4a574;
  }

  .ingredient-checkbox:checked::after,
  .step-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
  }

  .ingredient-item label,
  .step-item label {
    cursor: pointer;
    flex: 1;
    margin: 0;
    transition: all 0.3s ease;
  }

  .ingredient-item label.completed,
  .step-item label.completed {
    text-decoration: line-through;
    opacity: 0.6;
    color: #999;
  }

  .step-text {
    flex: 1;
    line-height: 1.6;
  }

  .steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .step-item {
    padding: 1rem;
    background: #f9f7f4;
    border-radius: 4px;
    border-left: 3px solid #d4a574;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }

  .step-number-container {
    position: relative;
    flex-shrink: 0;
  }

  .step-number-container .step-checkbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    z-index: 2;
    opacity: 0;
    cursor: pointer;
  }

  .step-number-container .step-checkbox:checked + .step-number {
    background-color: #28a745;
    border: 2px solid #28a745;
    color: transparent;
  }

  .step-number-container .step-checkbox:checked + .step-number::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
  }

  .step-number {
    background: #d4a574;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: bold;
  }

  .step-text {
    flex: 1;
    line-height: 1.6;
  }

  @media (max-width: 768px) {
    .recipe-header {
      flex-direction: column;
      gap: 1rem;
    }

    .recipe-controls {
      flex-wrap: wrap;
    }

    .recipe-content {
      grid-template-columns: 1fr;
    }
  }

  .user-profile {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
  }

  .user-profile h1 {
    color: #d4a574;
    margin-bottom: 1.5rem;
  }

  .profile-info {
    background: #f9f7f4;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
  }

  .profile-info p {
    margin-bottom: 1rem;
  }

  .profile-info strong {
    color: #d4a574;
  }

  .profile-actions {
    display: flex;
    gap: 1rem;
  }

  .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
  }

  .import-info {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
  }

  .import-tips {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .import-tips h3 {
    color: #d4a574;
    margin-top: 0;
  }

  .import-tips ul {
    margin: 0;
    padding-left: 1.5rem;
  }

  .import-tips li {
    margin-bottom: 0.5rem;
    color: #666;
  }

  small {
    display: block;
    color: #999;
    font-size: 0.9rem;
    margin-top: 0.25rem;
  }

  .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
  }

  .landing-content {
    max-width: 1000px;
    margin: 3rem auto;
  }

  .features {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .features h2 {
    color: #d4a574;
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .features > p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #666;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }

  .feature-card {
    background: #f9f7f4;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #d4a574;
  }

  .feature-card h3 {
    color: #d4a574;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
  }

  .feature-card p {
    color: #666;
    line-height: 1.6;
  }

  .cta-section {
    background: linear-gradient(135deg, #d4a574 0%, #f4e8d0 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 8px;
    text-align: center;
  }

  .cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .cta-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Recipe ordering styles */
  .recipe-drag-handle {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: #999;
    cursor: grab;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s;
  }

  .recipe-drag-handle:hover {
    color: #d4a574;
    background: rgba(212, 165, 116, 0.1);
  }

  .recipe-card.dragging {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0.9;
  }

  .recipe-grid[data-controller="sortable"] .recipe-card {
    cursor: grab;
  }

  .recipe-grid[data-controller="sortable"] .recipe-card:active {
    cursor: grabbing;
  }

  .reorder-hint {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #d4a574;
  }

  .reorder-hint i {
    color: #d4a574;
    margin-right: 0.5rem;
  }

  @media (max-width: 768px) {
    .recipe-drag-handle {
      top: 0.25rem;
      right: 0.25rem;
      padding: 0.5rem;
    }

    .reorder-hint {
      font-size: 0.85rem;
    }
  }

  /* Recipe checkbox completion styles */
  .ingredient-item label.completed,
  .step-text.completed {
    text-decoration: line-through;
    opacity: 0.6;
    transition: opacity 0.3s ease;
  }

  .ingredient-checkbox,
  .step-checkbox {
    margin-right: 0.5rem;
  }

  /* Comments styles */
  .comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
  }

  .comments-section h3 {
    color: #d4a574;
    margin-bottom: 1.5rem;
  }

  .comment-form {
    background: #f9f7f4;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
  }

  .comment-form textarea {
    min-height: 100px;
    resize: vertical;
  }

  .comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .comment {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid #d4a574;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
  }

  .comment-header strong {
    color: #d4a574;
    font-weight: 600;
  }

  .comment-date {
    color: #666;
    font-size: 0.9rem;
  }

  .btn-delete-comment {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
  }

  .btn-delete-comment:hover {
    background-color: #dc3545;
    color: white;
  }

  .comment-content {
    line-height: 1.6;
    color: #333;
  }

  .no-comments {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
  }

  /* Public recipe styles */
  .recipe-public-indicator {
    background: #e8f5e8;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #28a745;
  }

  .recipe-public-indicator p {
    margin: 0;
    color: #155724;
  }

  .recipe-author {
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
  }

  .recipe-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    color: #666;
    font-size: 0.9rem;
  }

  .comment-count {
    color: #d4a574;
    font-weight: 500;
  }

  .search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .search-form input[type="text"] {
    flex: 1;
    max-width: 400px;
  }

  @media (max-width: 768px) {
    .comment-header {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.25rem;
    }

    .recipe-meta {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }

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

    .search-form input[type="text"] {
      max-width: none;
    }
  }

  /* Footer styles */
  .footer {
    background-color: #f8f9fa;
    border-top: 1px solid #ddd;
    margin-top: 4rem;
    padding: 2rem 0;
  }

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
  }

  .footer-links a {
    color: #d4a574;
    text-decoration: none;
    margin-left: 1rem;
  }

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

  /* Privacy policy styles */
  .privacy-policy {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
  }

  .privacy-policy h1 {
    color: #d4a574;
    margin-bottom: 1rem;
  }

  .privacy-policy h2 {
    color: #d4a574;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .privacy-policy ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
  }

  .privacy-policy li {
    margin-bottom: 0.5rem;
  }

  .policy-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
  }

  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
    }

    .footer-links a {
      margin-left: 0;
      margin-right: 1rem;
    }
  }

  /* FAQ page styles */
  .faq-page {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
  }

  .faq-page h1 {
    color: #d4a574;
    margin-bottom: 0.5rem;
  }

  .faq-section {
    margin-top: 3rem;
  }

  .faq-section h2 {
    color: #d4a574;
    border-bottom: 2px solid #d4a574;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .faq-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
  }

  .faq-item:last-child {
    border-bottom: none;
  }

  .faq-item h3 {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
  }

  .faq-item p {
    color: #666;
    margin: 0;
  }

  .faq-contact {
    background: #f9f7f4;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    text-align: center;
  }

  .faq-contact h2 {
    color: #d4a574;
    margin-bottom: 1rem;
  }

  .faq-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
  }