.recipe-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-edit,
.btn-delete {
  background: #958586;
  color: white;
}

.btn-edit:hover,
.btn-delete:hover {
  background: rgba(149, 133, 134, 0.8);
  transform: translateY(-2px);
}

.recipe-info-bar {
  background: #b4a4a5;
  color: white;
  padding: 20px 0;
  margin: 40px 0;
}

.recipe-info-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

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

.info-label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.info-value {
  font-size: 1.1rem;
  font-weight: 400;
}

.recipe-main {
  padding: 60px 0;
}

.recipe-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.recipe-image-container {
  position: relative;
}

.recipe-main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.recipe-author-card {
  background: rgba(180, 164, 165, 0.2);
  padding: 30px;
  border-radius: 15px;
  margin-top: 20px;
}

.author-title {
  font-size: 1.2rem;
  color: #8b7355;
  margin-bottom: 10px;
  font-weight: 600;
}

.author-name {
  font-size: 1.5rem;
  color: #2c2c2c;
  font-weight: 700;
  margin-bottom: 5px;
}

.author-date {
  color: #666;
  font-size: 1rem;
}

.ingredients-section {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.section-title {
  font-size: 2rem;
  color: #2c2c2c;
  margin-bottom: 30px;
  font-weight: 700;
}

.ingredients-list {
  list-style: none;
  padding: 0;
}

.ingredients-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1.1rem;
  color: #444;
  position: relative;
  padding-left: 20px;
}

.ingredients-list li:before {
  content: "•";
  color: #8b7355;
  font-weight: bold;
  position: absolute;
  left: 0;
}

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

.instructions-section {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
  grid-column: 1 / -1;
}

.instructions-title {
  font-size: 2rem;
  color: #2c2c2c;
  margin-bottom: 30px;
  font-weight: 700;
}

.instructions-title .highlight {
  color: #b4a4a5;
}

.instructions-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.instructions-list li {
  counter-increment: step-counter;
  margin-bottom: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  position: relative;
  padding-left: 60px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.instructions-list li:before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 20px;
  background: #8b7355;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.delete-form {
  display: inline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .recipe-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }

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

  .recipe-info-content {
    flex-direction: column;
    gap: 15px;
  }

  .ingredients-section,
  .instructions-section {
    padding: 20px;
  }

  .instructions-list li {
    padding-left: 50px;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #2c2c2c;
}

.modal-content p {
  margin-bottom: 25px;
  color: #555;
  font-size: 1rem;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}
