﻿h1 {
  color: #1f2937;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.saved-recipes-header {
  margin: 40px 0;
  text-align: center;
}

.saved-recipes-header h1 {
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.saved-recipes-header p {
  color: #7f8c8d;
  font-size: 1.1rem;
}

#savedRecipesList {
  margin: 0 auto;
  max-width: 900px;
  padding: 20px;
}

.saved-recipe-item {
  align-items: flex-start;
  background-color: #fff;
  border: 2px solid #ecf0f1;
  border-radius: 10px;
  cursor: move;
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  padding: 20px;
  transition: all .3s ease;
}

.saved-recipe-item:hover {
  border-color: #3498db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.saved-recipe-item.dragging {
  opacity: .5;
  transform: rotate(2deg);
}

.saved-recipe-item .recipe-number {
  align-items: center;
  background-color: #3498db;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: bold;
  height: 40px;
  justify-content: center;
  min-width: 40px;
}

.recipe-drag-handle {
  color: #95a5a6;
  cursor: grab;
  flex-shrink: 0;
  font-size: 20px;
  padding-top: 5px;
}

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

.recipe-info {
  flex: 1;
  min-width: 0;
}

.recipe-title {
  color: #2c3e50;
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color .3s ease;
}

.recipe-title:hover {
  color: #3498db;
}

.recipe-note-container {
  margin-top: 10px;
}

.recipe-note-input {
  border: 2px solid #ecf0f1;
  border-radius: 6px;
  color: #2c3e50;
  font-family: inherit;
  font-size: 14px;
  min-height: 60px;
  overflow: hidden;
  padding: 10px;
  resize: none;
  transition: border-color .3s ease;
  width: 100%;
}

.recipe-note-input:focus {
  border-color: #3498db;
  outline: none;
}

.recipe-note-input::placeholder {
  color: #bdc3c7;
  font-style: italic;
}

.remove-recipe-btn {
  background-color: transparent;
  border: none;
  border-radius: 5px;
  color: #e74c3c;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 24px;
  padding: 5px 10px;
  transition: all .3s ease;
}

.remove-recipe-btn:hover {
  background-color: #e74c3c;
  color: #fff;
}

.no-recipes {
  color: #7f8c8d;
  padding: 60px 20px;
  text-align: center;
}

.no-recipes i {
  color: #bdc3c7;
  font-size: 64px;
  margin-bottom: 20px;
}

.no-recipes p {
  font-size: 1.1rem;
  margin: 10px 0;
}

.recipe-notification {
  background-color: #2c3e50;
  border-radius: 8px;
  bottom: -100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  left: 50%;
  padding: 15px 30px;
  position: fixed;
  transform: translateX(-50%);
  transition: bottom .3s ease;
  z-index: 10000;
}

.recipe-notification.show {
  bottom: 30px;
}

@media (max-width: 768px) {
  .saved-recipe-item {
    padding: 15px;
  }

  .recipe-title {
    font-size: 1rem;
  }

  .saved-recipe-item .recipe-number {
    font-size: 16px;
    height: 35px;
    min-width: 35px;
  }

  .recipe-drag-handle {
    font-size: 18px;
  }

  .recipe-note-input {
    font-size: 13px;
  }
}
