.recipe-view-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recipe-image-section {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.recipe-title {
    font-size: 2.2em;
    margin: 0;
    flex-grow: 1;
  
  font-family: 'Dancing Script' !important;
  font-optical-sizing: auto;
  font-style: normal;
}



.edit-icon img {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.edit-icon img:hover {
    transform: scale(1.1);
}

.recipe-meta {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

.meta-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
  color:black;
}

.ingredients-section, .instructions-section {
    margin: 30px 0;
}

.ingredient-item {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    padding: 8px;
    background: #f9f9f9;
    border-radius: 4px;
}

.amount {
    font-weight: bold;
    min-width: 60px;
}

.instructions-text {
    line-height: 1.6;
    white-space: pre-line;
}

.recipe-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.action-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.2s;
}

.action-icon:hover {
    transform: scale(1.1);
}

.comments-section {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tag {
 font-size: 1em;
  text-align: center;
  text-transform: lowercase;
  vertical-align: middle;
  padding: 6px 10px;
  margin: 6px;
  color: #636363;
  background-color: #fff;
  border: solid 2px #636363;
  box-shadow: rgba(77, 77, 77, 0.94) 5px -4px 0px 0px;
  border-radius: 10px 10px 10px 0px;
  transition: box-shadow 0.3s;
  cursor: pointer;
}
.tag:hover {
  box-shadow: rgba(77, 77, 77, 0.94) 0px 0px 0px 0px;
}

.tag:active {
  transform: translateY(1.5px);
}
.keywordhash {
  font-family: "Open Sans", sans-serif;
}
.tag:hover .keywordhash {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .recipe-image-section {
        margin-bottom: 10px;  /* Reduced from 20px */
    }
    
    .recipe-content {
        padding-top: 10px;
    }
}