/* Recipe Detail Page - Comprehensive Styles */
.recipe-detail {
    max-width: 800px;
    margin: 0 auto;
}

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

.recipe-detail-info {
    flex: 1;
}

.recipe-detail-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.recipe-detail-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.recipe-detail-source {
    font-size: 0.9rem;
    color: #666;
}

.recipe-source-link {
    color: #28a745;
    text-decoration: none;
}

.recipe-source-link:hover {
    text-decoration: underline;
}

.recipe-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 2rem;
}

.recipe-detail-content {
    margin-bottom: 3rem;
}

.recipe-section {
    margin-bottom: 2.5rem;
}

.recipe-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #28a745;
}

.recipe-detail-footer {
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.btn-back {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-back:hover {
    background: #e9ecef;
    color: #495057;
}

.ingredients-full-list {
    list-style: none;
    padding-left: 0;
    display: block !important;
}

.ingredients-full-list li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 1rem;
}

.instructions {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.instructions p {
    margin-bottom: 1rem;
}

.recipe-detail-footer {
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.btn-back {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-back:hover {
    background: #e9ecef;
    color: #495057;
}

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

    .recipe-detail-actions {
        flex-direction: row;
        margin-left: 0;
    }

    .recipe-detail-title {
        font-size: 2rem;
    }

    .recipe-detail-actions {
        position: sticky;
        bottom: 1rem;
        background: white;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
}
