/* Recipe Card Styles */
.recipe-card-wrapper {
    max-width: 800px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.recipe-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.recipe-header {
    text-align: center;
    margin-bottom: 30px;
}

.recipe-header h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

/* Recipe image - visible in card */
.recipe-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Social Share Buttons - Positioned at top after title */
.recipe-share-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 30px 0;
    flex-wrap: wrap;
}

.share-label {
    font-weight: bold;
    color: #555;
    margin-right: 10px;
    font-size: 15px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.share-btn svg {
    width: 20px;
    height: 20px;
}

/* Pinterest Button - Red */
.pinterest-btn {
    background-color: #E60023;
}

.pinterest-btn:hover {
    background-color: #cc0020;
}

/* Facebook Button - Blue */
.facebook-btn {
    background-color: #1877F2;
}

.facebook-btn:hover {
    background-color: #0d65d9;
}

.recipe-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 20px 0;
}

/* Star Rating */
.recipe-rating {
    margin: 20px 0;
}

.star-rating {
    font-size: 24px;
    margin-bottom: 5px;
}

.star {
    color: #ddd;
}

.star.full {
    color: #ffc107;
}

.star.half {
    background: linear-gradient(90deg, #ffc107 50%, #ddd 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-text {
    font-size: 14px;
    color: #666;
}

/* Recipe Content */
.recipe-content {
    margin-top: 30px;
}

/* Recipe Meta */
.recipe-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 30px;
}

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

.meta-item strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

.meta-item span {
    color: #666;
    font-size: 16px;
}

/* Recipe Sections */
.recipe-section {
    margin: 30px 0;
}

.recipe-section h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #ff6b6b;
    padding-bottom: 10px;
}

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

.recipe-ingredients li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.recipe-ingredients li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
}

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

.recipe-instructions li {
    counter-increment: step-counter;
    padding: 15px 0 15px 50px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.recipe-instructions li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 15px;
    background: #ff6b6b;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recipe-card {
        padding: 20px;
    }
    
    .recipe-header h2 {
        font-size: 24px;
    }
    
    .recipe-meta {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .share-label {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .recipe-share-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .share-btn {
        justify-content: center;
        width: 100%;
    }
}